Cisco Cisco Evolved Programmable Network Manager 2.0 Developer's Guide

Page of 254
  
 
 
Cisco EPN Manager 2.0.3 RESTCONF NBI Guide  
 
 
19 
  401, 403 – Authentication and Authorization errors. 
  400 Bad Request - Invalid request message.  
  500 Internal Server Error - operation-failed. 
Please refer to RESTCONF standard status codes and standard error response 
data for more details. 
 
4.3.1  Equipment Data 
Name 
Type 
Description 
equipment 
Container element 
Holds the data for an Equipment instance. 
4.4  Chassis Retrieval 
This interface provides the operations required to retrieve Chassis details. Each Chassis object contains its 
own attributes and contains a list of Fully Distinguished Names (FDN) of the Equipment instances contained 
within it. Typically, a chassis object is contained directly by a node and does not have a containing equipment 
FDN. Chassis are created through discovery on devices whose credentials are entered into the system 
through the graphical user interface (GUI). The RESTCONF API for Chassis is read-only.  
 
Note: Chassis is a subclass of Equipment. This interface retrieves only Chassis objects along with any 
additional attributes defined for Chassis. 
 
Resource 
Description 
Equipment 
Retrieves the Chassis instances in the system  
HTTP Method  
Resource Path  
GET 
/data/v1/cisco-resource-physical:chassis 
Query Parameters 
Name 
 Type 
Description 
fdn 
String 
Fully Distinguished Name (FDN) of the Chassis to retrieve. 
name 
String 
Name of the Chassis to retrieve (not unique). 
description 
String 
Description of the Chassis to retrieve (not unique) 
<attribute> 
varies 
Uses any non-collection attribute to retrieve Chassis object(s). 
Response Message 
Response Content Type 
application/xml, application/yang.data+xml, application/json, 
application/yang.data+json 
Response Data 
0 or more Chassis of type chassis – see yang model for the data details. 
HTTP Status Code 
  200 OK - Success with response message-body 
  401, 403 – Authentication and Authorization errors. 
  400 Bad Request - Invalid request message.  
  500 Internal Server Error - operation-failed. 
Please refer to RESTCONF standard status codes and standard error response 
data for more details. 
 
4.4.1  Chassis Data 
Name 
Type 
Description 
chassis 
Container element 
Holds the data for a Chassis.