Cisco Cisco Evolved Programmable Network Manager 2.0 Developer's Guide

Page of 88
 RESTCONF/YANG Interface Details 
 
 
 Cisco Evolved Programmable Network Manager 2.0 RESTCONF NBI Guide 
 46
 
http://<host>/restconf/data/v1/xmp-im-physical-resource-module-
equipment:Equipment 
Retrieve all Equipment instances 
http://<host>/restconf/data/v1/xmp-im-physical-resource-module-
equipment:Equipment/{owningEntityId}/{entPhysicalIndex} 
Retrieve Equipment instance by 
business key 
http://<host>/restconf/data/v1/xmp-im-physical-resource-module-
equipment:Equipment/{id} 
Retrieve Equipment instance by 
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 Equipment objects. You may use the FDN as a query parameter to retrieve a specific 
Equipment object as follows: 
 
http://<host>/restconf/data/v1/xmp-im-physical-resource-module-equipment:Equipment?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. 
Sample Response Data 
4.4.1.1  JSON 
 
This sample is formatted and edited for clarity and length. 
 
{"ns2.EquipmentInstances": [ 
   "Equipment": [ 
    { 
      "description": "A901-12C-F-D Motherboard with Built-in 12GE, 
1FE", 
      "name": "A901-12C-F-D Motherboard ", 
      "owningEntityId": "207208_192.168.23.26", 
      "entPhysicalContainedIn": 2, 
      "entPhysicalIndex": 3, 
      "equipmentType": "MODULE", 
      "fdn": "MD\/CISCO_EPNM\/ME\/ASR901-CSG-1-
DOMAIN3.cisco.com\/EQ\/name=A901-12C-F-D Motherboard ;partnumber=A901-
12C-F-D", 
      "hardwareVersion": "V03 ", 
      "isFRUable": "FALSE", 
      "isReportingAlarmsAllowed": "UNKNOWN", 
      "manufacturer": "Cisco", 
      "partNumber": "A901-12C-F-D", 
      "serviceState": "UNKNOWN",