UPDATE - Contributed to Script - vSphere with Tanzu using NSX-T Automated Lab Deployment - Scaling out NSX Edge Cluster A/A mode, doubling Edge TEP, ESXi TEP, Multiple deployment
You can grab it from my master branch fork page
Or on real William Lam master repo in PR section
Note the PR is not Merged probably because VRF routing is broken in this commit, I will release soon a New > branch fork with vlan and vyos config for the upstream router