VMware NSX

 View Only
  • 1.  API url for HA VIP in Tier0 VRF

    Posted Jun 06, 2023 12:13 PM

    Hi,

    Requirement is configure HA VIP of Tier0 VRF Gateway using API in NSX 3.1.0 , Please suggest URL to be used.

    Later same url will be used to automation using python.

    But Unable to find option in  /policy/api/v1/infra/tier-0s/<tier-0-id> for configuring VIP or by using interface url
    All other parameters like interface under tier-0 has configured path which provide URL except VIP,

    unable to find in documentation too, so if any one has configured using API  please suggest

    Thanks

    Moorthy



  • 2.  RE: API url for HA VIP in Tier0 VRF
    Best Answer

    Posted Jul 26, 2023 12:30 PM

    Found way to create, This was successfully done by creating  locale-services for tier-0 using API and later add VIP IP and other required fields

    PATCH /policy/api/v1/infra/tier-0s/<tier-0-id>/locale-services/<locale-service-id>/interfaces/<interface-id>