VMware Networking Community
nmbgdc
Enthusiast
Enthusiast

how to prepare esxi host cluster for Nsx manager using the API

Hi Guys,

Does anyone know how to prepare esxi cluster host for for Nsx manager using the API ?

Thanks

Bharat

Reply
0 Kudos
4 Replies
larsonm
VMware Employee
VMware Employee

If you're looking to do this with NSX-v, you can reference the API guide:

https://docs.vmware.com/en/VMware-NSX-Data-Center-for-vSphere/6.4/nsx_64_api.pdf

Page 183 has the process

NSX-T's API guide is here:  NSX-T Data Center REST API - VMware API Explorer - VMware {code}

Reply
0 Kudos
nmbgdc
Enthusiast
Enthusiast

Thanks larsonm. let me go through

Reply
0 Kudos
nmbgdc
Enthusiast
Enthusiast

Hi larsonm,

i went through the documents but i am not getting the clear picture hence thought to put across the steps which I understood,

1-

steps1: Install Network Virtualization Components

        POST /api/2.0/nwfabric/configure

Steps2: Configure VXLAN

        POST /api/2.0/nwfabric/configure

Steps3: Configure VXLAN with LACPv2

        POST /api/2.0/nwfabric/configure

Do i have to use anything else?

Reply
0 Kudos
larsonm
VMware Employee
VMware Employee

When initiating the API call, you need to populate the appropriate vales.

For Install Network Virtualization Components the POST to /api/2.0/nwfabric/configure requires the population of the described XML code to include cluster MOID.

You'd then configure VXLAN using the "Configuring VXLAN" OR "Configure VXLAN with LACPv2"  Again, you'd need to ensure the appropriate values are populated in the XML code referenced in the API guide.

Reply
0 Kudos