NSX-T Data Center REST API
VifAttachmentContext (type) (Deprecated)
{
"additionalProperties": false,
"deprecated": true,
"extends": {
"$ref": "AttachmentContext
},
"id": "VifAttachmentContext",
"module_id": "LogicalPort",
"nsx_feature": "Container",
"polymorphic-type-descriptor": {
"type-identifier": "VifAttachmentContext"
},
"properties": {
"allocate_addresses": {
"enum": [
"IpPool",
"MacPool",
"Both",
"None",
"Dhcp",
"DhcpV6",
"SLAAC"
],
"required": false,
"title": "A flag to indicate whether to allocate addresses from allocation\n pools bound to the parent logical switch.\n",
"type": "string"
},
"app_id": {
"description": "An application ID used to identify / look up a child VIF behind a parent VIF. Only effective when vif_type is CHILD.",
"required": false,
"title": "ID used to identify/look up a child VIF behind a parent VIF",
"type": "string"
},
"bms_interface_config": {
"$ref": "AttachedInterface,
"description": "Indicate application interface configuration for Bare Metal Server. Only effective when vif_type is INDEPENDENT.",
"required": false,
"title": "Application interface configuration for Bare metal server"
},
"parent_vif_id": {
"required": false,
"title": "VIF ID of the parent VIF if vif_type is CHILD",
"type": "string"
},
"resource_type": {
"help_summary": "Possible values are 'VifAttachmentContext' or 'L2VpnAttachmentContext'\n",
"required": true,
"title": "Used to identify which concrete class it is",
"type": "string"
},
"traffic_tag": {
"description": "Current we use VLAN id as the traffic tag. Only effective when vif_type is CHILD. Each logical port inside a container must have a unique traffic tag. If the traffic_tag is not unique, no error is generated, but traffic will not be delivered to any port with a non-unique tag.",
"required": false,
"title": "Tag used for the traffic between this VIF and parent VIF",
"type": "int"
},
"transport_node_uuid": {
"description": "Only effective when vif_type is INDEPENDENT. Each logical port inside a bare metal server or container must have a transport node UUID. We use transport node ID as transport node UUID.",
"required": false,
"title": "The UUID of the transport node",
"type": "string"
},
"vif_type": {
"enum": [
"PARENT",
"CHILD",
"INDEPENDENT"
],
"required": true,
"title": "Type of the VIF attached to logical port",
"type": "string"
}
},
"type": "object"
}