Cisco Cisco Evolved Programmable Network Manager 1.2 Guia Do Programador

Página de 365
 
                                                          RESTConf/Yang Interface 
Details 
 
 
Cisco EPNM RESTConf  NBI  Guide  
 
 
 
329 
 
The first URL retrieves all the OpticalTimingSettings entities in the database. The next URL 
returns a specific OpticalTimingSettings 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 OpticalTimingSettings 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-
opticaltimingsettings:OpticalTimingSettings 
Retrieve all OpticalTimingSettings 
instances 
http://<host>/restconf/v1/data/epnm-restconf-xmp-im-ext-
opticaltimingsettings:OpticalTimingSettings/{owningEntityId}/{name} 
Retrieve OpticalTimingSettings 
instance by business key 
https://<host>/restconf/v1/data/epnm-restconf-xmp-im-ext-
opticaltimingsettings:OpticalTimingSettings/{id} 
Retrieve OpticalTimingSettings 
instance by database instance id 
Sample Response Data 
4.56.1.1 
JSON 
 
This sample is formatted and edited for clarity and length. 
 
{"ns1.OpticalTimingSettings": [ 
    { 
      "instanceId": 1275300, 
      "businessKey": "b45bc9ea[1266279_192.168.229.78,CHAN-4-2]", 
      "adminSSM": "STU", 
      "name": "CHAN-4-2", 
      "owningEntityId": "1266279_192.168.229.78", 
      "provideSync": false, 
      "sendDus": false, 
      "subclassname": "OpticalTimingSettings", 
      "syncMsg": false, 
      "interfaceProtocolEndpoint": "[InterfaceProtocolEndpoint{'name':'CHAN-
4-2','businessKey':'1e6fb6f7[1266279_192.168.229.78,CHAN-4-2]'}]" 
    }, 
    { 
      "instanceId": 1275301, 
      "businessKey": "b45bc9ea[1266279_192.168.229.78,CHAN-3-2]", 
      "adminSSM": "STU", 
      "name": "CHAN-3-2", 
      "owningEntityId": "1266279_192.168.229.78",