Cisco Cisco Evolved Programmable Network Manager 1.2 Developer's Guide

Page of 365
RESTConf/Yang Interface Details 
 
 
Cisco EPN Manager RESTConf NBI Guide  
242
 
 
 
 
application/yang.data+json 
 
The first URL retrieves all the OpticalOduTunnel entities in the database. The final URL 
retrieves a specific OpticalOduTunnel by its database instance id. Enter the instance id, but 
do not include the braces. 
 
URL 
Description 
https://<host>/restconf/v1/data/epnm-restconf-xmp-im-ext-
opticalodutunnel:OpticalOduTunnel 
Retrieve all OpticalOduTunnel instances 
https://<host>/restconf/v1/data/epnm-restconf-xmp-im-ext-
opticalodutunnel:OpticalOduTunnel/{id} 
Retrieve OpticalOduTunnel instance by 
database instance id 
 
Sample Response Data 
4.35.1.1 
JSON 
 
This sample is formatted and edited for clarity and length. 
 
{"ns1.OpticalOduTunnel": [ 
    { 
      "businessKey": "12c04bd5[1464463_192.168.235.223,3,]", 
      "adminState": "UP", 
      "bandwidth": 2498775, 
      "name": "Odu-Group-Te3", 
      "operationalStatus": "DOWN", 
      "owningEntityId": "1464463_192.168.235.223", 
      "recordRoute": true, 
      "role": "HEAD", 
      "signaledName": "ODU_Tunnel_Aug24", 
      "sourceNodeId": "", 
      "tunnelId": 3, 
      "type": "ODU_UNI", 
      "instanceId": 1504503, 
      "crossConnectionName": 49151, 
      "pathProtectionEnabled": false, 
      "tunnelName": "ODU_Tunnel_Aug24" 
    }, 
    { 
      "businessKey": "12c04bd5[1464463_192.168.235.223,4,192.168.235.223]",