Changing Tier-0 router's display name does not update id or interface name of that gateway
search cancel

Changing Tier-0 router's display name does not update id or interface name of that gateway

book

Article ID: 409286

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

  • Tier-0 router is renamed but the associated interface name still shows old name.
  • In NSX Manager UI Tier-0 has been renamed form T0-Test-01 to T0-Test-01_rename.

         In the API output we can see that only display name has changed. Path and id did not change.

    GET https://<nsx-manager>/policy/api/v1/infra/tier-0s/

    "id": "T0-Test-01",
    "display_name": "T0-Test-01_rename",
    "path": "/infra/tier-0s/T0-Test-01",

Environment

VMware NSX

Cause

For tier-0 and other objects of NSX policy id is an immutable attribute.

Resolution

Create new Tier-0 with desired name to change id of Tier-0.