NSX-T Data Center REST API
Update the Node's Network Interface
Updates the specified interface properties. You cannot changethe properties
ip_configuration
,
ip_addresses
, or plane
. NSX
Manager must have a static IP address.
You must use NSX CLI to configure a controller or an edge node.
Request:
Method:
PUT
URI Path(s):
/api/v1/node/network/interfaces/<interface-id>
/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/transport-nodes/<transport-node-id>/node/network/interfaces/<interface-id>
/api/v1/cluster/<cluster-node-id>/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+