Cisco Cisco Evolved Programmable Network Manager 1.2 Developer's Guide

Page of 365
 
                                                          RESTConf/Yang Interface 
Details 
 
 
Cisco EPNM RESTConf  NBI  Guide  
 
 
 
319 
URL 
Description 
http://<host>/restconf/v1/data/epnm-restconf-xmp-im-ext-
opticalnecrossconnections:OpticalNECrossConnections 
Retrieve all 
OpticalNECrossConnections 
instances 
http://<host>/restconf/v1/data/epnm-restconf-xmp-im-ext-
opticalnecrossconnections:OpticalNECrossConnections/{owningEntityId} 
Retrieve 
OpticalNECrossConnections 
instance by business key 
Sample Response Data 
4.53.1.1 
JSON 
 
This sample is formatted and edited for clarity and length. 
 
{"ns1.OpticalNECrossConnections": [ 
    { 
      "instanceId": 1280279, 
      "businessKey": "75304af5[1266283_192.168.229.77]", 
      "name": "OpticalNECrossConnections", 
      "owningEntityId": "1266283_192.168.229.77", 
      "networkElement": 
"[ManagedElement{'name':'M15_229_77','businessKey':'bda9d49e[1266283_192.168.
229.77]'}]" 
    }, 
    { 
      "instanceId": 1280282, 
      "businessKey": "75304af5[1266270_192.168.236.123]", 
      "name": "OpticalNECrossConnections", 
      "owningEntityId": "1266270_192.168.236.123", 
      "networkElement": "[ManagedElement{'name':'NCS2KA-236-
123','businessKey':'bda9d49e[1266270_192.168.236.123]'}]" 
    } 
  ]