Cisco Cisco Evolved Programmable Network Manager 1.2 Developer's Guide
RESTConf/Yang Interface
Details
Cisco EPNM RESTConf NBI Guide
141
Operations
The table below lists the operations available to retrieve OpticalCircuitOchncCFS data from
Restconf via the http protocol.
All URLs require basic authentication and can produce:
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 OpticalCircuitOchncCFS entities in the database. The final URL
retrieves a specific OpticalCircuitOchncCFS 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-
opticalcircuitochnccfs:OpticalCircuitOchncCFS
opticalcircuitochnccfs:OpticalCircuitOchncCFS
Retrieve all OpticalCircuitOchncCFS
instances
instances
http://<host>/restconf/v1/data/epnm-restconf-xmp-im-ext-
opticalcircuitochnccfs:OpticalCircuitOchncCFS/{id}
opticalcircuitochnccfs:OpticalCircuitOchncCFS/{id}
Retrieve OpticalCircuitOchncCFS
instance by database instance id
instance by database instance id
Sample Response Data
4.17.1.1
JSON
This sample is formatted and edited for clarity and length.
{"ns1.OpticalCircuitOchncCFS": [
{
"adminState": "Down",
"createTime": "2015-08-25T06:10:27.235-07:00",
"deployed": false,
"description": "str1234",
"globalVersion": 1575605,
"isMatched": false,
"lastNonDeletedCFSId": 1575605,
"name": "ochnc-test",
"provisioningState": "DEFINED",
"serviceId": 1575605,
"status": "Created",
"subclassname": "OpticalCircuitOchncCFS",