System Administration > Configuration > Fabric > Profiles > Host Transport Node Profiles

Update a Host Transport Node Profile

Host transport node profile captures the configuration needed to create
a host transport node. A host transport node profile can be attached to
compute collections for automatic host transport node creation of member hosts.

When configurations of a host transport node profile(TNP) are updated, all the
host transport nodes in all the compute collections to which this TNP is attached
are updated to reflect the updated configuration.

Request:

Method:
PUT
URI Path(s):
/policy/api/v1/infra/host-transport-node-profiles/<transport-node-profile-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
PolicyHostTransportNodeProfile+

Example Request:

PUT https://<nsx-mgr>/policy/api/v1/infra/host-transport-node-profiles/77816de2-39c3-436c-b891-54d31f580961 { "resource_type": "TransportNodeProfile", "id": "77816de2-39c3-436c-b891-54d31f580961", "display_name": "Transport Node Profile For Finance Department Cluster", "description": "Transport Node Profile to be applied to cluster", "host_switch_spec": { "resource_type": "StandardHostSwitchSpec", "host_switches": [ { "host_switch_name": "DSwitch2", "host_switch_id": "50 34 30 8b c9 77 64 57-1e 89 55 24 bd 32 70 e6", "host_switch_type": "VDS", "host_switch_mode": "STANDARD", "host_switch_profile_ids": [ { "key": "UplinkHostSwitchProfile", "value": "/infra/host-switch-profiles/b7b04576-a249-4842-b21d-59a65ae51ec5" } ], "uplinks": [ { "vds_uplink_name": "Uplink 1", "uplink_name": "uplink-1" }, { "vds_uplink_name": "Uplink 2", "uplink_name": "uplink-2" }, { "vds_uplink_name": "Uplink 3", "uplink_name": "uplink-3" }, { "vds_uplink_name": "Uplink 4", "uplink_name": "uplink-4" } ], "is_migrate_pnics": false, "ip_assignment_spec": { "resource_type": "AssignedByDhcp" }, "cpu_config": [], "transport_zone_endpoints": [ { "transport_zone_id": "/infra/sites/default/enforcement-points/default/transport-zones/f82d3923-ce47-419c-8f39-71ef39d47426", "transport_zone_profile_ids": [] }, { "transport_zone_id": "/infra/sites/default/enforcement-points/default/transport-zones/7cd1b7b6-f1c4-46a1-93a8-8b60ea95e673", "transport_zone_profile_ids": [] } ], "not_ready": false } ] }, "_create_time": 1485299990773, "_last_modified_user": "admin", "_last_modified_time": 1485301913130, "_create_user": "admin", "_revision": 0 }

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
PolicyHostTransportNodeProfile+

Example Response:

{ "resource_type": "TransportNodeProfile", "id": "77816de2-39c3-436c-b891-54d31f580961", "display_name": "Transport Node Profile For Finance Department Cluster", "description": "Transport Node Profile to be applied to a cluster", "host_switch_spec": { "resource_type": "StandardHostSwitchSpec", "host_switches": [ { "host_switch_name": "DSwitch2", "host_switch_id": "50 34 30 8b c9 77 64 57-1e 89 55 24 bd 32 70 e6", "host_switch_type": "VDS", "host_switch_mode": "STANDARD", "host_switch_profile_ids": [ { "key": "UplinkHostSwitchProfile", "value": "/infra/host-switch-profiles/b7b04576-a249-4842-b21d-59a65ae51ec5" } ], "uplinks": [ { "vds_uplink_name": "Uplink 1", "uplink_name": "uplink-1" }, { "vds_uplink_name": "Uplink 2", "uplink_name": "uplink-2" }, { "vds_uplink_name": "Uplink 3", "uplink_name": "uplink-3" }, { "vds_uplink_name": "Uplink 4", "uplink_name": "uplink-4" } ], "is_migrate_pnics": false, "ip_assignment_spec": { "resource_type": "AssignedByDhcp" }, "cpu_config": [], "transport_zone_endpoints": [ { "transport_zone_id": "/infra/sites/default/enforcement-points/default/transport-zones/f82d3923-ce47-419c-8f39-71ef39d47426", "transport_zone_profile_ids": [] }, { "transport_zone_id": "/infra/sites/default/enforcement-points/default/transport-zones/7cd1b7b6-f1c4-46a1-93a8-8b60ea95e673", "transport_zone_profile_ids": [] } ], "not_ready": false } ] }, "_create_time": 1485299990773, "_last_modified_user": "admin", "_last_modified_time": 1485301913130, "_create_user": "admin", "_revision": 1 }

Required Permissions:

crud

Feature:

nodes_transport_nodes

Additional Errors: