Get MAC Address Status (v2.0)
GET/v2.0/api/tenants/:tenant_id/elements/:element_id/mac_addresses/status
List all the MAC address status for a tenant.
Request
Path Parameters
tenant_id stringrequired
The tenant ID.
element_id stringrequired
The element ID.
Responses
- 200
- 404
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
element_id string
The element ID.
id string
The MAC address state ID.
mac_address_table MacAddressEntry[]
Details of the MAC address entries.
mac_address string
The MAC address.
port string
The switch port.
type string
Dynamic or Static.
vlan int32
The number of conncected VLANs.
{
"element_id": "string",
"id": "string",
"mac_address_table": [
{
"mac_address": "string",
"port": "string",
"type": "string",
"vlan": 0
}
]
}
Not Found
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
_error ErrorResponse[]
code string
The error code.
message string
The error message.
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "MAC_ADDRESS_STATUS_NOT_FOUND"
}
]
}
}
Loading...