Cisco Cisco Evolved Programmable Network Manager 1.2 Developer's Guide
RESTConf/Yang Interface Details
Cisco EPN Manager RESTConf NBI Guide
332
332
Operations
The table below lists the operations available to retrieve OpticalTransportSettings data
from Restconf via the http protocol.
from Restconf via the http protocol.
All URLs require basic authentication and can produce:
application/xml
application/yang.data+xml
application/json
application/yang.data+json
The first URL retrieves all the OpticalTransportSettings entities in the database. The next
URL returns a specific OpticalTransportSettings 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 OpticalTransportSettings 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-
opticaltransportsettings:OpticalTransportSettings
opticaltransportsettings:OpticalTransportSettings
Retrieve all OpticalTransportSettings
instances
instances
https://<host>/restconf/v1/data/epnm-restconf-xmp-im-ext-
opticaltransportsettings:OpticalTransportSettings/
{owningEntityId}/{name}
opticaltransportsettings:OpticalTransportSettings/
{owningEntityId}/{name}
Retrieve OpticalTransportSettings
instance by business key
instance by business key
https://<host>/restconf/v1/data/epnm-restconf-xmp-im-ext-
opticaltransportsettings:OpticalTransportSettings/{id}
opticaltransportsettings:OpticalTransportSettings/{id}
Retrieve OpticalTransportSettings
instance by database instance id
instance by database instance id
Sample Response Data
4.57.1.1
JSON
This sample is formatted and edited for clarity and length.
{"ns1.OpticalTransportSettings": [
{
"name": "PLINE-1-2-RX",
"owningEntityId": "1266283_192.168.229.77",
"instanceId": 1680707,
"businessKey": "5815f331[1266283_192.168.229.77,PLINE-1-2-RX]",
"protectionRole": "None",
"protectionStatus": "NA",
"secondaryState": "NORMAL",
"serviceState": "IS-NR,",
"subclassname": "OpticalTransportSettings",
"transportAdminState": "IS",