Cisco Cisco Evolved Programmable Network Manager 1.2 개발자 가이드

다운로드
페이지 360
RESTCONF/YANG Interface Details 
 
 
Cisco EPN Manager RESTConf NBI Guide  
286
 
 
 
 
URL 
Description 
http://<host>/restconf/v1/data/epnm-restconf-xmp-im-ext-
opticalcircuitroute:OpticalCircuitRoute 
Retrieve all OpticalCircuitRoute 
instances 
http://<host>/restconf/v1/data/epnm-restconf-xmp-im-ext-
opticalcircuitroute:OpticalCircuitRoute/{id} 
Retrieve OpticalCircuitRoute instance 
by database instance id 
 
This object supports the fully-qualified domain name (FDN) attribute, which is unique for 
all OpticalCircuitRoute objects. You may use the FDN as a query parameter to retrieve a 
specific OpticalCircuitRoute object as follows: 
 
http://<host>/restconf/v1/data/epnm-restconf-xmp-im-ext-
opticalcircuitroute:OpticalCircuitRoute?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.48.1.1 
JSON 
 
This sample is formatted and edited for clarity and length. 
 
{"ns1.OpticalCircuitRoute": [ 
    { 
      "name": "TRAIL-OCHCC_100GE:WORKING", 
      "owningEntityId": "1581582_192.168.236.109", 
      "aEndParentLinkId": -3, 
      "bEndParentLinkId": -3, 
      "category": "Unknown", 
      "fdn": "MD\/CISCO_EPNM\/ME\/454A-236-109\/TL\/TRAIL-
OCHCC_100GE:WORKING", 
      "isManuallyAdded": false, 
      "linkStatus": "UP", 
      "subclassname": "OpticalOchRoute", 
      "type": "Unknown", 
      "aggregatedLinks": [ 
        { 
          "name": "NodeId=1581582_192.168.236.109,XcEndPoints=CHAN-2-13-7-
RX&LINEWL-1-1-3-RX-192.168,LINEWL-1-1-3-TX-192.168&CHAN-2-12-7-TX", 
          "owningEntityId": "1581582_192.168.236.109", 
          "instanceId": 1578037, 
          "aEndParentLinkId": -3,