VMware NSX

 View Only
  • 1.  how to prepare esxi host cluster for Nsx manager using the API

    Posted Feb 15, 2020 01:39 PM

    Hi Guys,

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

    Thanks

    Bharat



  • 2.  RE: how to prepare esxi host cluster for Nsx manager using the API

    Broadcom Employee
    Posted Feb 15, 2020 03:29 PM

    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}



  • 3.  RE: how to prepare esxi host cluster for Nsx manager using the API

    Posted Feb 15, 2020 03:32 PM

    Thanks larsonm. let me go through



  • 4.  RE: how to prepare esxi host cluster for Nsx manager using the API

    Posted Feb 17, 2020 07:06 AM

    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?



  • 5.  RE: how to prepare esxi host cluster for Nsx manager using the API

    Broadcom Employee
    Posted Feb 19, 2020 09:09 PM

    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.