Get LLDP Neighbor Status for Element (v2.0)
GET/v2.0/api/tenants/:tenant_id/elements/:element_id/lldp_neighbors/status
List all the lldp neighbor(s) status for an element.
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 [
- Array [
- ]
- ]
count int32
The actual count.
id string
The ID.
tenant_id string
The tenant ID.
items LldpNeighborsState[]
element_id string
The element ID.
id string
The ID.
interface_id string
The interface ID.
lldp_neighbors_state InterfaceLldpNeighborsState[]
Details of the LLDP neighbors state.
asset_id string
The LLDP asset ID.
chassis_id string
The authentication type. Only closed mode and single host authentication is supported.
device_class string
The device class.
device_description string
The device description.
device_name string
The name of the device.
firmware_revision string
The firmware revision.
hardware_revision string
The hardware revision.
ip_address string
The Ip address of the LLDP neighbors.
mac_address string
Mac Address
manufacturer_name string
The name of the manufacturer.
model_name string
The device model name.
power_priority string
The power usage priority.
power_required float
The powere required.
power_source string
The power source.
power_type string
The power type.
serial_number string
The serial number.
software_revision string
The software revision.
username string
Username
lldp_state string
The lldp state.
lldp_type string
The lldp type.
{
"count": 0,
"id": "string",
"tenant_id": "string",
"items": [
{
"element_id": "string",
"id": "string",
"interface_id": "string",
"lldp_neighbors_state": [
{
"asset_id": "string",
"chassis_id": "string",
"device_class": "string",
"device_description": "string",
"device_name": "string",
"firmware_revision": "string",
"hardware_revision": "string",
"ip_address": "string",
"mac_address": "string",
"manufacturer_name": "string",
"model_name": "string",
"power_priority": "string",
"power_required": 0,
"power_source": "string",
"power_type": "string",
"serial_number": "string",
"software_revision": "string",
"username": "string"
}
],
"lldp_state": "string",
"lldp_type": "string"
}
]
}
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": "LLDP_NEIGHBORS_STATE_NOT_FOUND"
}
]
}
}
Loading...