Get VLAN Port to Switch Port Mapping (v2.0)
Get VLAN port to switch port mapping information for an element.
Path Parameters
tenant_id string required
The tenant ID.
site_id string required
The site ID.
element_id string required
The element ID.
Responses
- 200
- 400
Successful Operation
application/json
Schema
Example (from schema)
Schema
- Array [
- Array [
- ]
- ]
count int32
The number of responses.
id string
The ID of the response.
tenant_id string
The ID of the tenant.
items VlanPortSwitchPorts[]
admin_state string
The admin state of the VLAN ports.
id string
The ID of the VLAN port.
ports SwitchPort[]
The details of the switch ports.
admin_state string
The admin state of the switch port.
id string
The ID of the switch port.
name string
The name of the switch port.
type string
The type of switch port.
vlan_id integer
The VLAN ID.
vlan_name string
The name of the VLAN port.
voice_enabled boolean
Value = True/False.
{
"count": 0,
"id": "string",
"tenant_id": "string",
"items": [
{
"admin_state": "string",
"id": "string",
"ports": [
{
"admin_state": "string",
"id": "string",
"name": "string",
"type": "string"
}
],
"vlan_id": 0,
"vlan_name": "string",
"voice_enabled": true
}
]
}
Bad Request
application/json
Schema
Example (from schema)
Example
Schema
- Array [
- ]
_error ErrorResponse[]
code string
message string
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "ELEMENT_NOT_FOUND"
},
{
"code": "SWITCH_PORT_VLAN_MEMBERS_UNSUPPORTED_ELEMENT_MODEL"
}
]
}
}
Loading...