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
26
26
Operations
All URLs require basic authentication and can produce:
application/xml
application/yang.data+xml
application/json
application/yang.data+json
The following table lists the operations available to retrieve Chassis data from RESTCONF
via the http protocol:
URL
Description
http://<host>/restconf/data/v1/xmp-im-physical-resource-module-
chassis:Chassis
chassis:Chassis
Retrieve all Chassis instances
http://<host>/restconf/data/v1/xmp-im-physical-resource-module-
chassis:Chassis/{owningEntityId}/{entPhysicalIndex}
chassis:Chassis/{owningEntityId}/{entPhysicalIndex}
Retrieve Chassis instance by
business key
business key
http://<host>/restconf/data/v1/xmp-im-physical-resource-module-
chassis:Chassis/{id}
chassis:Chassis/{id}
Retrieve Chassis instance by
database instance id
Note: Do not use braces for the
<id>.
database instance id
Note: Do not use braces for the
<id>.
This object supports the fully-qualified domain name (FDN) attribute, which is unique for
all Chassis objects. You may use the FDN as a query parameter to retrieve a specific Chassis
object as follows:
http://<host>/restconf/data/v1/xmp-im-physical-resource-module-chassis:Chassis?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.3.1.1 JSON
This sample is formatted and edited for clarity and length.
{"ns2.ChassisInstances": [
"Chassis": [
{
"description": "ME-3600X-24CX-M",
"name": 1,
"owningEntityId": "207215_192.168.23.47",
"entPhysicalContainedIn": 0,
"entPhysicalIndex": 1001,
"equipmentType": "CHASSIS",