Cisco Cisco Evolved Programmable Network Manager 1.2 Developer's Guide
RESTConf/Yang Interface Details
Cisco EPN Manager RESTConf NBI Guide
310
310
Operations
The table below lists the operations available to retrieve OpticalCrossConnectionRFS data
from Restconf via the http protocol.
All URLs require basic authentication and can produce:
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 OpticalCrossConnectionRFS entities in the database. The final
URL retrieves a specific OpticalCrossConnectionRFS 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-
opticalcrossconnectionrfs:OpticalCrossConnectionRFS
opticalcrossconnectionrfs:OpticalCrossConnectionRFS
Retrieve all
OpticalCrossConnectionRFS instances
OpticalCrossConnectionRFS instances
http://<host>/restconf/v1/data/epnm-restconf-xmp-im-ext-
opticalcrossconnectionrfs:OpticalCrossConnectionRFS/{id}
opticalcrossconnectionrfs:OpticalCrossConnectionRFS/{id}
Retrieve OpticalCrossConnectionRFS
instance by database instance id
instance by database instance id
This object supports the fully-qualified domain name (FDN) attribute, which is unique for
all OpticalCrossConnectionRFS objects. You may use the FDN as a query parameter to
retrieve a specific OpticalCrossConnectionRFS object as follows:
all OpticalCrossConnectionRFS objects. You may use the FDN as a query parameter to
retrieve a specific OpticalCrossConnectionRFS object as follows:
http://<host>/restconf/v1/data/epnm-restconf-xmp-im-ext-
opticalcrossconnectionrfs:OpticalCrossConnectionRFS?fdn=<value
opticalcrossconnectionrfs:OpticalCrossConnectionRFS?fdn=<value
>
Where <host> is the host name or IP address of the Cisco EPN Manager server and <value>
is the value of the FDN attribute for the object to retrieve.
is the value of the FDN attribute for the object to retrieve.
Sample Response Data
4.52.1.1
JSON
This sample is formatted and edited for clarity and length.
{"ns1.OpticalCrossConnectionRFS": [
{
"name": "NodeId=1266272_192.168.229.73,XcEndPoints=LINEWL-3-3-RX-
ver2&LINEWL-7-3-RX-ver2,LINEWL-7-3-TX-ver2&LINEWL-3-3-TX-ver2",
ver2&LINEWL-7-3-RX-ver2,LINEWL-7-3-TX-ver2&LINEWL-3-3-TX-ver2",
"owningEntityId": "1266272_192.168.229.73",
"aEndParentLinkId": -3,
"bEndParentLinkId": -3,