Cisco Cisco Evolved Programmable Network Manager 2.0 Developer's Guide
RESTCONF/YANG Interface Details
Cisco Evolved Programmable Network Manager 2.0 RESTCONF NBI Guide
16
16
Operations
The table below lists the operations available to retrieve ManagedElement 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 ManagedElement entities in the database. The next URL
returns a specific ManagedElement entity by its business key. Enter the values of the
attributes shown in the braces, but do not include the braces.
URL
Description
http://<host>/restconf/data/v1/epnm-restconf-xmp-im-ext-
managedelement:ManagedElement
managedelement:ManagedElement
Retrieve all ManagedElement
instances
instances
http://<host>/restconf/data/v1/epnm-restconf-xmp-im-ext-
managedelement:ManagedElement/{owningEntityId}
managedelement:ManagedElement/{owningEntityId}
Retrieve ManagedElement
instance by business key
instance by business key
This object supports the fully-qualified domain name (FDN) attribute, which is unique for
all ManagedElement objects. You may use the FDN as a query parameter to retrieve a
specific ManagedElement object as follows:
all ManagedElement objects. You may use the FDN as a query parameter to retrieve a
specific ManagedElement object as follows:
http://<host>/restconf/data/v1/epnm-restconf-xmp-im-ext-
managedelement:ManagedElement?fdn=<value
managedelement:ManagedElement?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.2.1.1 JSON
This sample is formatted and edited for clarity and length.
{"ns1.ManagedElementInstances": [
"ManagedElement": {
{
"instanceId": 214215,
"businessKey": "bda9d49e[207208_192.168.23.26]",
"clusterCount": 0,
"collectionStatus": "SUCCESS",
"collectionTime": "2015-08-24T22:10:52.918-07:00",