NSX-T Data Center REST API
Update the Node's Network Interface
Updates the specified interface properties, which includesconfiguring IPv6 address when NSX appliance has only IPv4 management address.
But once configured you cannot modify following interface properties -
ip_configuration
, ip_addresses
,
ip6_addresses
or plane
.
NSX Manager must have a static IPv4 or IPv6 address.
You must use NSX CLI to configure the manager or edge appliance.
Note: NSX appliance reboot is required after adding IPv6 address.
Request:
Method:
PUT
URI Path(s):
/api/v1/transport-nodes/{transport-node-id}/node/network/interfaces/{interface-id}
/api/v1/cluster/{cluster-node-id}/node/network/interfaces/{interface-id}
/api/v1/node/network/interfaces/{interface-id}
/api/v1/cluster/{cluster-node-id}/node/network/interfaces/{interface-id}
/api/v1/node/network/interfaces/{interface-id}
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
NodeNetworkInterfaceProperties+
Example Request:
PUT https://<nsx-mgr>/api/v1/node/network/interfaces/eth0 { "interface_id": "eth0", "mtu": 1600 }Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
NodeNetworkInterfaceProperties+