Cisco Cisco Evolved Programmable Network Manager 1.2 Developer's Guide

Page of 365
 
                                                          RESTConf/Yang Interface 
Details 
 
 
Cisco EPNM RESTConf  NBI  Guide  
 
 
 
341 
The first URL retrieves all the OpticalHopConstraintRFS entities in the database. The final 
URL retrieves a specific OpticalHopConstraintRFS 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-
opticalhopconstraintrfs:OpticalHopConstraintRFS 
Retrieve all OpticalHopConstraintRFS 
instances 
http://<host>/restconf/v1/data/epnm-restconf-xmp-im-ext-
opticalhopconstraintrfs:OpticalHopConstraintRFS/{id} 
Retrieve OpticalHopConstraintRFS 
instance by database instance id 
Sample Response Data 
4.61.1.1 
JSON 
 
This sample is formatted and edited for clarity and length. 
 
{"ns1.OpticalHopConstraintRFS": [ 
    { 
      "instanceId": 2051049, 
      "constraintType": "NEXT_ADDRESS", 
      "index": 1, 
      "ipAddress": "192.168.236.107", 
      "subclassname": "OpticalHopConstraintRFS", 
      "opticalOchRoute": 
"[OpticalOchRoute{'name':'OCHNC_WSON:WORKING','businessKey':'1578047'}]" 
    } 
  ] 
}