VMware Networking Community
Hamidreza74
Enthusiast
Enthusiast

Create VRF with API

I use NSX-T 3.1 and I want to add VRF with API but I can't find any API in the NSX-T API documentation
anybody faced this issue?

0 Kudos
2 Replies
p0wertje
Hot Shot
Hot Shot

There is some info in the api guide https://code.vmware.com/apis/1163/nsx-t
3.4.5.1.3 Tier-0 Gateways

p0wertje_0-1626010490109.png

p0wertje_1-1626010524874.png

p0wertje_2-1626010551059.png

 

 

Hope this helps

Cheers,
p0wertje | VCIX6-NV | JNCIS-ENT | vExpert
Please kudo helpful posts and mark the thread as solved if solved
0 Kudos
Hamidreza74
Enthusiast
Enthusiast

Thanks, It was useful

{
    "display_name"              : "VRF-Red-Tenant",
    "description"               : "VRF Red Tenant",
    "failover_mode"             : "NON_PREEMPTIVE",
    "default_rule_logging"      : false,
    "force_whitelisting"        : false,
    "ha_mode"                    :"ACTIVE_ACTIVE",
    "vrf_config":
        {
        "tier0_path"    :"/infra/tier-0s/Peer_Router"
        }


}
0 Kudos