Cisco Cisco Evolved Programmable Network Manager 1.2 Developer's Guide

Page of 365
 
                                                          RESTConf/Yang Interface 
Details 
 
 
Cisco EPNM RESTConf  NBI  Guide  
 
 
 
187 
URL 
Description 
https://<host>/restconf/v1/data/epnm-restconf-xmp-im-ext-
opticalochtrailtunnel:OpticalOchTrailTunnel 
Retrieve all OpticalOchTrailTunnel 
instances 
https://<host>/restconf/v1/data/epnm-restconf-xmp-im-ext-
opticalochtrailtunnel:OpticalOchTrailTunnel/{id} 
Retrieve OpticalOchTrailTunnel 
instance by database instance id 
 
 
Sample Response Data 
4.23.1.1 
JSON 
 
This sample is formatted and edited for clarity and length. 
 
{"ns1.OpticalOchTrailTunnel": [ 
    { 
      "businessKey": "1456d0e7[1266275_192.168.235.124,2,192.168.235.227]", 
      "bandwidth": 0, 
      "name": "Optics0\/6\/0\/2", 
      "owningEntityId": "1266275_192.168.235.124", 
      "recordRoute": false, 
      "role": "TAIL", 
      "signaledName": "TRAIL-UNI", 
      "sourceNodeId": "192.168.235.227", 
      "tunnelId": 2, 
      "type": "OCHTRAIL_UNI", 
      "instanceId": 1355354 
    } 
  ]