openconfig_lldp¶
openconfig_lldp URLs¶
https://<ip>/rest/restconf/data
https://<ip>/rest/restconf/data/openconfig-lldp:lldp
https://<ip>/rest/restconf/data/openconfig-lldp:lldp/state
https://<ip>/rest/restconf/data/openconfig-lldp:lldp/state/counters
https://<ip>/rest/restconf/data/openconfig-lldp:lldp/config
https://<ip>/rest/restconf/data/openconfig-lldp:lldp/interfaces
https://<ip>/rest/restconf/data/openconfig-lldp:lldp/interfaces/interface=<key>
https://<ip>/rest/restconf/data/openconfig-lldp:lldp/interfaces/interface=<key>/neighbors
https://<ip>/rest/restconf/data/openconfig-lldp:lldp/interfaces/interface=<key>/neighbors/neighbor=<key>
https://<ip>/rest/restconf/data/openconfig-lldp:lldp/interfaces/interface=<key>/neighbors/neighbor=<key>/state
https://<ip>/rest/restconf/data/openconfig-lldp:lldp/interfaces/interface=<key>/neighbors/neighbor=<key>/custom-tlvs
https://<ip>/rest/restconf/data/openconfig-lldp:lldp/interfaces/interface=<key>/neighbors/neighbor=<key>/custom-tlvs/tlv=<key>
https://<ip>/rest/restconf/data/openconfig-lldp:lldp/interfaces/interface=<key>/neighbors/neighbor=<key>/custom-tlvs/tlv=<key>/state
https://<ip>/rest/restconf/data/openconfig-lldp:lldp/interfaces/interface=<key>/neighbors/neighbor=<key>/capabilities
https://<ip>/rest/restconf/data/openconfig-lldp:lldp/interfaces/interface=<key>/neighbors/neighbor=<key>/capabilities/capability=<key>
https://<ip>/rest/restconf/data/openconfig-lldp:lldp/interfaces/interface=<key>/neighbors/neighbor=<key>/capabilities/capability=<key>/state
https://<ip>/rest/restconf/data/openconfig-lldp:lldp/interfaces/interface=<key>/state
https://<ip>/rest/restconf/data/openconfig-lldp:lldp/interfaces/interface=<key>/state/counters
https://<ip>/rest/restconf/data/openconfig-lldp:lldp/interfaces/interface=<key>/config
openconfig_lldp Complete JSON¶
{
"openconfig-lldp:lldp": {
"state": {
"chassis-id": "",
"suppress-tlv-advertisement": [],
"hello-timer": "0",
"system-description": "",
"enabled": false,
"chassis-id-type": "",
"system-name": "",
"counters": {
"tlv-accepted": "0",
"tlv-discard": "0",
"tlv-unknown": "0",
"entries-aged-out": "0",
"last-clear": "",
"frame-discard": "0",
"frame-out": "0",
"frame-in": "0",
"frame-error-in": "0"
}
},
"config": {
"chassis-id": "",
"suppress-tlv-advertisement": [],
"hello-timer": "0",
"system-description": "",
"enabled": false,
"chassis-id-type": "",
"system-name": ""
},
"interfaces": {
"interface": [
{
"neighbors": {
"neighbor": [
{
"state": {
"chassis-id": "",
"system-description": "",
"age": "0",
"management-address": "",
"port-id-type": "",
"port-id": "",
"chassis-id-type": "",
"management-address-type": "",
"last-update": "0",
"port-description": "",
"id": "",
"system-name": ""
},
"custom-tlvs": {
"tlv": [
{
"oui": "0",
"oui-subtype": "0",
"type": "0",
"state": {
"oui": "",
"oui-subtype": "",
"type": 0,
"value": ""
}
}
]
},
"id": "<key>",
"capabilities": {
"capability": [
{
"state": {
"enabled": false,
"name": ""
},
"name": "<key>"
}
]
}
}
]
},
"state": {
"enabled": false,
"name": "",
"counters": {
"tlv-discard": "0",
"tlv-unknown": "0",
"frame-error-in": "0",
"last-clear": "",
"frame-discard": "0",
"frame-out": "0",
"frame-error-out": "0",
"frame-in": "0"
}
},
"config": {
"enabled": false,
"name": ""
},
"name": "<key>"
}
]
}
}
}