Get Switch Port to VLAN Port Mapping (v2.0)
Get switch port to VLAN 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 SwitchPortVlanPorts[]
admin_state string
The admin state of the switch ports.
id string
The ID of the switch port.
name string
The name of the switch port.
type string
The type of switch port.
vlans VlanPort[]
The details of the VLANs ports.
admin_state string
The admin state of the VLAN ports.
id string
The ID of the VLAN port.
name string
The name of the VLAN port.
vlan_id integer
The VLAN ID.
voice_enabled boolean
Value = True/False.
{
"count": 0,
"id": "string",
"tenant_id": "string",
"items": [
{
"admin_state": "string",
"id": "string",
"name": "string",
"type": "string",
"vlans": [
{
"admin_state": "string",
"id": "string",
"name": "string",
"vlan_id": 0,
"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...