Cisco Cisco Evolved Programmable Network Manager 1.2 Guide Du Développeur
RESTConf/Yang Interface
Details
Cisco EPNM RESTConf NBI Guide
215
URL
Description
http://<host>/restconf/v1/data/epnm-restconf-xmp-im-ext-
opticalochroute:OpticalOchRoute
opticalochroute:OpticalOchRoute
Retrieve all OpticalOchRoute instances
http://<host>/restconf/v1/data/epnm-restconf-xmp-im-ext-
opticalochroute:OpticalOchRoute/{id}
opticalochroute:OpticalOchRoute/{id}
Retrieve OpticalOchRoute instance by
database instance id
database instance id
This object supports the fully-qualified domain name (FDN) attribute, which is unique for
all OpticalOchRoute objects. You may use the FDN as a query parameter to retrieve a
specific OpticalOchRoute object as follows:
http://<host>/restconf/v1/data/epnm-restconf-xmp-im-ext-
opticalochroute:OpticalOchRoute?fdn=<value>
Where <host> is the host name or IP address of the Cisco EPN Manager server and <value>
is the value of the FDN attribute for the object to retrieve.
all OpticalOchRoute objects. You may use the FDN as a query parameter to retrieve a
specific OpticalOchRoute object as follows:
http://<host>/restconf/v1/data/epnm-restconf-xmp-im-ext-
opticalochroute:OpticalOchRoute?fdn=<value>
Where <host> is the host name or IP address of the Cisco EPN Manager server and <value>
is the value of the FDN attribute for the object to retrieve.
Sample Response Data
4.31.1.1
JSON
This sample is formatted and edited for clarity and length.
{"ns1.OpticalOchRoute": [
{
"name": "OCHNC_WSON:WORKING",
"owningEntityId": "1581582_192.168.236.109",
"aEndParentLinkId": -3,
"bEndParentLinkId": -3,
"category": "Unknown",
"fdn": "MD\/CISCO_EPNM\/ME\/454A-236-109\/TL\/OCHNC_WSON:WORKING",
"isManuallyAdded": false,
"linkStatus": "UP",
"subclassname": "OpticalOchRoute",
"type": "Unknown",
"aggregatedLinks": [
{
"name": "NodeId=1581582_192.168.236.109,XcEndPoints=CHAN-2-13-1-
RX&LINEWL-1-17-3-RX-192.168,LINEWL-1-17-3-TX-192.168&CHAN-2-12-1-TX",
RX&LINEWL-1-17-3-RX-192.168,LINEWL-1-17-3-TX-192.168&CHAN-2-12-1-TX",
"owningEntityId": "1581582_192.168.236.109",
"instanceId": 1578034,
"aEndParentLinkId": -3,