Cisco Cisco Evolved Programmable Network Manager 1.2 Developer's Guide

Page of 360
 
                                                          RESTCONF/YANG 
Interface Details 
 
 
Cisco EPNM RESTConf  NBI  Guide  
 
 
 
303 
retrieves a specific OpticalCrossConnectionEnd by its database instance id. Enter the 
instance id, but do not include the braces. 
 
URL 
Description 
http://<host>/restconf/v1/data/epnm-restconf-xmp-im-ext-
opticalcrossconnectionend:OpticalCrossConnectionEnd 
Retrieve all OpticalCrossConnectionEnd instances 
http://<host>/restconf/v1/data/epnm-restconf-xmp-im-ext-
opticalcrossconnectionend:OpticalCrossConnectionEnd/ 
{owningEntityId}/{name} 
Retrieve OpticalCrossConnectionEnd instance by 
business key 
http://<host>/restconf/v1/data/epnm-restconf-xmp-im-ext-
opticalcrossconnectionend:OpticalCrossConnectionEnd/{id} 
Retrieve OpticalCrossConnectionEnd instance by 
database instance id 
Sample Response Data 
4.51.1.1 
JSON 
 
This sample is formatted and edited for clarity and length. 
 
{"ns1.OpticalCrossConnectionEnd": [ 
    { 
      "endRole": "Z1", 
      "name": "LINEWL-10-3-TX&FPLINE-4-9-TX-ver2", 
      "owningEntityId": "1266279_192.168.229.78", 
      "subclassname": "OptclCrssCnnctnEnd", 
      "forwardingRelationship": "[OpticalCrossConnection{'name':'FPLINE-4-9-
RX-ver2&LINEWL-10-3-RX,LINEWL-10-3-TX&FPLINE-4-9-TX-
ver2','businessKey':'145f89b7[1266279_192.168.229.78,FPLINE-4-9-RX-
ver2&LINEWL-10-3-RX,LINEWL-10-3-TX&FPLINE-4-9-TX-ver2]'}]", 
      "protocolEndpoint": "[OpticalAggregatedPEP{'name':'LINEWL-10-3-
TX&FPLINE-4-9-TX-ver2','businessKey':'1330709'}]", 
      "instanceId": 1309314, 
      "businessKey": "8e0b7b96[1266279_192.168.229.78,LINEWL-10-3-TX&FPLINE-
4-9-TX-ver2]", 
      "crossConnectionName": "FPLINE-4-9-RX-ver2&LINEWL-10-3-RX,LINEWL-10-3-
TX&FPLINE-4-9-TX-ver2", 
      "layerRate": "LR_OPTICAL_CHANNEL" 
    }, 
    { 
      "endRole": "Z1", 
      "name": "CHAN-3-2_AGGR-3-1-1", 
      "owningEntityId": "1266279_192.168.229.78", 
      "subclassname": "OptclCrssCnnctnEnd",