PortAttachment (type)

{
  "additionalProperties": false, 
  "description": "Detail information about port attachment", 
  "id": "PortAttachment", 
  "module_id": "PolicyConnectivity", 
  "properties": {
    "allocate_addresses": {
      "description": "Indicate how IP will be allocated for the port", 
      "enum": [
        "IP_POOL", 
        "MAC_POOL", 
        "BOTH", 
        "NONE"
      ], 
      "required": false, 
      "title": "Allocate addresses", 
      "type": "string"
    }, 
    "app_id": {
      "description": "ID used to identify/look up a child attachment behind a parent attachment", 
      "required": false, 
      "title": "App Id", 
      "type": "string"
    }, 
    "context_id": {
      "description": "Parent VIF ID if type is CHILD, Transport node ID if type is INDEPENDENT", 
      "required": false, 
      "title": "Context ID based on the type", 
      "type": "string"
    }, 
    "id": {
      "description": "VIF UUID on NSX Manager. If the attachement type is PARENT, this property is required.", 
      "required": false, 
      "title": "Port attachment ID", 
      "type": "string"
    }, 
    "traffic_tag": {
      "$ref": "VlanID, 
      "description": "Not valid when type is INDEPENDENT, mainly used to identify traffic from different ports in container use case", 
      "required": false, 
      "title": "VLAN ID"
    }, 
    "type": {
      "description": "Type of port attachment, it's an Enum value.", 
      "enum": [
        "PARENT", 
        "CHILD", 
        "INDEPENDENT"
      ], 
      "required": false, 
      "title": "Attachement type", 
      "type": "string"
    }
  }, 
  "title": "Attachment information on the port", 
  "type": "object"
}