Cisco Cisco Evolved Programmable Network Manager 2.0 Developer's Guide

Page of 244
  
 
 
Cisco EPN Manager 2.0.2 RESTCONF NBI Guide  
 
 
32 
4.15 Network Interface Retrieval 
This interface provides operations that retrieve Network Interface (UNI/ENNI) details. It can be used to 
retrieve Network Interfaces available in the system to provide them with provisioning input. 
 
Resource 
Description 
Network Interface 
Retrieves all Network Interfaces (UNI/ENNI) in the system or retrieve specific set 
based on the input parameters. 
HTTP Method  
Resource Path  
GET 
/data/v1/cisco-service-network:network-interface 
Query Parameters 
Name 
 Type 
Description 
fdn 
String 
Fully Distinguished Name (FDN) of the NI to retrieve a single 
Network Interface. 
 
 
 
Response Message 
Response Content Type 
application/xml, application/yang.data+xml, application/json, 
application/yang.data+json 
Response Data 
0 or more network interfaces of type network-interface – 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.16 QoS Policy Retrieval 
This API retrieves QoS Policies in all devices in Cisco EPN Manager. This API can be used to get the FDN of the 
QoS Policy which can be passed in the ingress/egress QoS policies in the order data of the service that is 
being provisioned. 
 
Resource 
Description 
QoS Policy 
Retrieves all QoS Policies in devices added to Cisco EPN Manager.  
HTTP Method  
Resource Path  
GET 
/data/v1/cisco-qos:qos-policy 
Query Parameters 
Name 
 Type 
Description 
fdn 
String (FDN 
Format) 
Fully Distinguished Name (FDN) of the QoS Policy. Given this, a 
corresponding single QoS Policy will be returned.  
nfFdn 
String (FDN 
Format) 
Fully Distinguished Name (FDN) of the device. Given this, all 
the QoS Policies for that device will be returned.  
Response Message 
Response Content Type 
application/xml, application/yang.data+xml, application/json, 
application/yang.data+json 
Response Data 
0 or more QoS Policies type qos-policy – 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