Cisco Cisco Evolved Programmable Network Manager 1.2 Developer's Guide
RESTCONF/YANG
Interface Details
Cisco EPNM RESTConf NBI Guide
255
subclassname
String
The name of the object type.
type
String
-
version
int
-
endpoints *
Set<ServiceEndpo
int>
int>
End points of a provisioned virtual connection.
linkRFS0 *
LinkRFS
Resource supporting a provision virtual connection.
Operations
The table below lists the operations available to retrieve OpticalUniCFS 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 OpticalUniCFS entities in the database. The final URL
retrieves a specific OpticalUniCFS by its database instance id. Enter the instance id, but do
not include the braces.
retrieves a specific OpticalUniCFS 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-
opticalunicfs:OpticalUniCFS
opticalunicfs:OpticalUniCFS
Retrieve all OpticalUniCFS instances
https://<host>/restconf/v1/data/epnm-restconf-xmp-im-ext-
opticalunicfs:OpticalUniCFS/{id}
opticalunicfs:OpticalUniCFS/{id}
Retrieve OpticalUniCFS instance by
database instance id
database instance id
Sample Response Data
4.39.1.1
JSON
This sample is formatted and edited for clarity and length.
{"ns1.OpticalUniCFS": [
{
"adminState": "Up",
"createTime": "2015-08-25T13:19:24.382-07:00",
"deployed": false,
"globalVersion": 0,
"isMatched": false,
"lastNonDeletedCFSId": 1575610,
"name": "CHAN-2-13-9-RX&CHAN-2-12-9-TX",