Cisco Cisco Evolved Programmable Network Manager 1.2 Developer's Guide

Page of 360
 
                                                          RESTCONF/YANG 
Interface Details 
 
 
Cisco EPNM RESTConf  NBI  Guide  
 
 
 
323 
 
The first URL retrieves all the OpticalLoopbackSettings entities in the database. The next 
URL returns a specific OpticalLoopbackSettings entity by its business key. Enter the values 
of the attributes shown in the braces, but do not include the braces. The final URL retrieves 
a specific OpticalLoopbackSettings 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-
opticalloopbacksettings:OpticalLoopbackSettings 
Retrieve all 
OpticalLoopbackSettings 
instances 
http://<host>/restconf/v1/data/epnm-restconf-xmp-im-ext-
opticalloopbacksettings:OpticalLoopbackSettings/{owningEntityId} 
Retrieve 
OpticalLoopbackSettings 
instance by business key 
https://<host>/restconf/v1/data/epnm-restconf-xmp-im-ext-
opticalloopbacksettings:OpticalLoopbackSettings/{id} 
Retrieve 
OpticalLoopbackSettings 
instance by database instance id 
Sample Response Data 
4.55.1.1 
JSON 
 
This sample is formatted and edited for clarity and length. 
 
{"ns1.OpticalLoopbackSettings": [ 
    { 
      "name": "CHAN-6-5-1-1", 
      "owningEntityId": "1581584_192.168.236.108", 
      "instanceId": 1981995, 
      "businessKey": "def2122b[1581584_192.168.236.108,CHAN-6-5-1-1]", 
      "loopback": "NO_LOOPBACK", 
      "subclassname": "OpticalLoopbackSettings", 
      "interfaceProtocolEndpoint": "[InterfaceProtocolEndpoint{'name':'CHAN-
6-5-1-1','businessKey':'1e6fb6f7[1581584_192.168.236.108,CHAN-6-5-1-1]'}]" 
    }, 
    { 
      "name": "VFAC-5-2-1-1", 
      "owningEntityId": "1581584_192.168.236.108", 
      "instanceId": 1981996, 
      "businessKey": "def2122b[1581584_192.168.236.108,VFAC-5-2-1-1]", 
      "loopback": "NO_LOOPBACK",