Cisco Cisco Evolved Programmable Network Manager 1.2 Developer's Guide

Page of 365
 
                                                          RESTConf/Yang Interface 
Details 
 
 
Cisco EPNM RESTConf  NBI  Guide  
 
 
 
173 
URL 
Description 
http://<host>/restconf/v1/data/epnm-restconf-xmp-im-ext-
opticalcircuitochtrailrfs:OpticalCircuitOchTrailRFS 
Retrieve all OpticalCircuitOchTrailRFS 
instances 
http://<host>/restconf/v1/data/epnm-restconf-xmp-im-ext-
opticalcircuitochtrailrfs:OpticalCircuitOchTrailRFS/{id} 
Retrieve OpticalCircuitOchTrailRFS 
instance by database instance id 
 
This object supports the fully-qualified domain name (FDN) attribute, which is unique for 
all OpticalCircuitOchTrailRFS objects. You may use the FDN as a query parameter to 
retrieve a specific OpticalCircuitOchTrailRFS object as follows: 
 
http://<host>/restconf/v1/data/epnm-restconf-xmp-im-ext-
opticalcircuitochtrailrfs:OpticalCircuitOchTrailRFS?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.20.1.1 
JSON 
 
This sample is formatted and edited for clarity and length. 
 
{"ns1.OpticalCircuitOchTrailRFS": [ 
    { 
      "name": "ochTrail-test", 
      "owningEntityId": "1266282_192.168.229.72", 
      "aEndParentLinkId": -3, 
      "bEndParentLinkId": -3, 
      "category": "Unknown", 
      "fdn": "MD\/CISCO_EPNM\/ME\/SMR9-72\/TL\/ochTrail-test", 
      "isManuallyAdded": false, 
      "linkStatus": "UP", 
      "subclassname": "OptclCrctOchTrlRFS", 
      "type": "Unknown", 
      "linkTerminationPoints": [ 
        { 
          "name": "LINE-1-13-11-TX", 
          "owningEntityId": "1266271_192.168.229.79", 
          "instanceId": 1576582, 
          "groupId": -1,