Cisco Cisco Evolved Programmable Network Manager 1.2 Developer's Guide

Page of 365
RESTConf/Yang Interface Details 
 
 
Cisco EPN Manager RESTConf NBI Guide  
106
 
 
 
http://<host>/restconf/v1/data/epnm-restconf-xmp-im-ext-
opticallink:OpticalLink/{id} 
Retrieve OpticalLink instance by 
database instance id 
 
This object supports the fully-qualified domain name (FDN) attribute, which is unique for 
all OpticalLink objects. You may use the FDN as a query parameter to retrieve a specific 
OpticalLink object as follows: 
 
http://<host>/restconf/v1/data/epnm-restconf-xmp-im-ext-opticallink:OpticalLink?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.11.1.1 
JSON 
 
This sample is formatted and edited for clarity and length. 
 
{"ns1.OpticalLink": [ 
    { 
      "name": "192.168.236.123:LINE-2-1-TX--192.168.236.123:LINE-3-1-RX", 
      "owningEntityId": "1266270_192.168.236.123", 
      "aEndName": "LINE-2-1-TX", 
      "aEndParentLinkId": -3, 
      "bEndName": "LINE-3-1-RX", 
      "bEndParentLinkId": -3, 
      "category": "Physical Layer", 
      "fdn": "MD\/CISCO_EPNM\/ME\/NCS2KA-236-123\/TL\/192.168.236.123:LINE-2-
1-TX--192.168.236.123:LINE-3-1-RX", 
      "isManuallyAdded": false, 
      "linkStatus": "UP", 
      "subclassname": "OpticalLink", 
      "type": "Physical", 
      "linkTerminationPoints": [ 
        { 
          "name": "LINE-3-1-RX", 
          "owningEntityId": "1266270_192.168.236.123", 
          "instanceId": 1576955, 
          "groupId": "LINE-3-1-RX", 
          "ipAddress": "192.168.236.123", 
          "linkNodeIdentifier": "NCS2KA-236-123",