openconfig_platform¶
openconfig_platform URLs¶
https://<ip>/rest/restconf/data
https://<ip>/rest/restconf/data/openconfig-platform:components
https://<ip>/rest/restconf/data/openconfig-platform:components/component=<key>
https://<ip>/rest/restconf/data/openconfig-platform:components/component=<key>/config
https://<ip>/rest/restconf/data/openconfig-platform:components/component=<key>/state
https://<ip>/rest/restconf/data/openconfig-platform:components/component=<key>/state/temperature
https://<ip>/rest/restconf/data/openconfig-platform:components/component=<key>/properties
https://<ip>/rest/restconf/data/openconfig-platform:components/component=<key>/properties/property=<key>
https://<ip>/rest/restconf/data/openconfig-platform:components/component=<key>/properties/property=<key>/config
https://<ip>/rest/restconf/data/openconfig-platform:components/component=<key>/properties/property=<key>/state
https://<ip>/rest/restconf/data/openconfig-platform:components/component=<key>/subcomponents
https://<ip>/rest/restconf/data/openconfig-platform:components/component=<key>/subcomponents/subcomponent=<key>
https://<ip>/rest/restconf/data/openconfig-platform:components/component=<key>/subcomponents/subcomponent=<key>/config
https://<ip>/rest/restconf/data/openconfig-platform:components/component=<key>/subcomponents/subcomponent=<key>/state
https://<ip>/rest/restconf/data/openconfig-platform:components/component=<key>/openconfig-platform-transceiver:transceiver
https://<ip>/rest/restconf/data/openconfig-platform:components/component=<key>/openconfig-platform-transceiver:transceiver/config
https://<ip>/rest/restconf/data/openconfig-platform:components/component=<key>/openconfig-platform-transceiver:transceiver/state
https://<ip>/rest/restconf/data/openconfig-platform:components/component=<key>/openconfig-platform-transceiver:transceiver/physical-channels
https://<ip>/rest/restconf/data/openconfig-platform:components/component=<key>/openconfig-platform-transceiver:transceiver/physical-channels/channel=<key>
https://<ip>/rest/restconf/data/openconfig-platform:components/component=<key>/openconfig-platform-transceiver:transceiver/physical-channels/channel=<key>/config
https://<ip>/rest/restconf/data/openconfig-platform:components/component=<key>/openconfig-platform-transceiver:transceiver/physical-channels/channel=<key>/state
https://<ip>/rest/restconf/data/openconfig-platform:components/component=<key>/openconfig-platform-transceiver:transceiver/physical-channels/channel=<key>/state/output-power
https://<ip>/rest/restconf/data/openconfig-platform:components/component=<key>/openconfig-platform-transceiver:transceiver/physical-channels/channel=<key>/state/input-power
https://<ip>/rest/restconf/data/openconfig-platform:components/component=<key>/openconfig-platform-transceiver:transceiver/physical-channels/channel=<key>/state/laser-bias-current
https://<ip>/rest/restconf/data/openconfig-platform:components/component=<key>/openconfig-terminal-device:optical-channel
https://<ip>/rest/restconf/data/openconfig-platform:components/component=<key>/openconfig-terminal-device:optical-channel/config
https://<ip>/rest/restconf/data/openconfig-platform:components/component=<key>/openconfig-terminal-device:optical-channel/state
https://<ip>/rest/restconf/data/openconfig-platform:components/component=<key>/openconfig-terminal-device:optical-channel/state/output-power
https://<ip>/rest/restconf/data/openconfig-platform:components/component=<key>/openconfig-terminal-device:optical-channel/state/input-power
https://<ip>/rest/restconf/data/openconfig-platform:components/component=<key>/openconfig-terminal-device:optical-channel/state/laser-bias-current
https://<ip>/rest/restconf/data/openconfig-platform:components/component=<key>/openconfig-terminal-device:optical-channel/state/chromatic-dispersion
https://<ip>/rest/restconf/data/openconfig-platform:components/component=<key>/openconfig-terminal-device:optical-channel/state/polarization-mode-dispersion
https://<ip>/rest/restconf/data/openconfig-platform:components/component=<key>/openconfig-terminal-device:optical-channel/state/second-order-polarization-mode-dispersion
https://<ip>/rest/restconf/data/openconfig-platform:components/component=<key>/openconfig-terminal-device:optical-channel/state/polarization-dependent-loss
openconfig_platform Complete JSON¶
{
"openconfig-platform:components": {
"component": [
{
"name": "<key>",
"config": {
"name": ""
},
"state": {
"name": "",
"type": "",
"id": "",
"description": "",
"mfg-name": "",
"version": "",
"serial-no": "",
"part-no": "",
"temperature": {
"instant": "0",
"avg": "0",
"min": "0",
"max": "0"
}
},
"properties": {
"property": [
{
"name": "<key>",
"config": {
"name": "",
"value": ""
},
"state": {
"name": "",
"value": "",
"configurable": false
}
}
]
},
"subcomponents": {
"subcomponent": [
{
"name": "<key>",
"config": {
"name": ""
},
"state": {
"name": ""
}
}
]
},
"openconfig-platform-transceiver:transceiver": {
"config": {
"enabled": false,
"form-factor-preconf": "",
"ethernet-pmd-preconf": ""
},
"state": {
"enabled": false,
"form-factor-preconf": "",
"ethernet-pmd-preconf": "",
"present": "",
"form-factor": "",
"connector-type": "",
"internal-temp": 0,
"vendor": "",
"vendor-part": "",
"vendor-rev": "",
"ethernet-pmd": "",
"sonet-sdh-compliance-code": "",
"otn-compliance-code": "",
"serial-no": "",
"date-code": "",
"fault-condition": false
},
"physical-channels": {
"channel": [
{
"index": "<key>",
"config": {
"index": 0,
"description": "",
"tx-laser": false,
"target-output-power": "0"
},
"state": {
"index": 0,
"description": "",
"tx-laser": false,
"target-output-power": "0",
"output-frequency": "0",
"output-power": {
"instant": "0",
"avg": "0",
"min": "0",
"max": "0"
},
"input-power": {
"instant": "0",
"avg": "0",
"min": "0",
"max": "0"
},
"laser-bias-current": {
"instant": "0",
"avg": "0",
"min": "0",
"max": "0"
}
}
}
]
}
},
"openconfig-terminal-device:optical-channel": {
"config": {
"frequency": "0",
"target-output-power": "0",
"operational-mode": 0,
"line-port": ""
},
"state": {
"frequency": "0",
"target-output-power": "0",
"operational-mode": 0,
"line-port": "",
"group-id": 0,
"output-power": {
"instant": "0",
"avg": "0",
"min": "0",
"max": "0"
},
"input-power": {
"instant": "0",
"avg": "0",
"min": "0",
"max": "0"
},
"laser-bias-current": {
"instant": "0",
"avg": "0",
"min": "0",
"max": "0"
},
"chromatic-dispersion": {
"instant": "0",
"avg": "0",
"min": "0",
"max": "0"
},
"polarization-mode-dispersion": {
"instant": "0",
"avg": "0",
"min": "0",
"max": "0"
},
"second-order-polarization-mode-dispersion": {
"instant": "0",
"avg": "0",
"min": "0",
"max": "0"
},
"polarization-dependent-loss": {
"instant": "0",
"avg": "0",
"min": "0",
"max": "0"
}
}
}
}
]
}
}