Cisco Cisco Evolved Programmable Network Manager 2.0 Developer's Guide

Page of 204
  
 
 
 
Cisco Evolved Programmable Network Manager 2.0.1 RESTCONF API Guide 
 
 
24 
 
4.12 Customer Facing Service Retrieval 
This interface provides the operations required to retrieve Customer Facing Service (CFS) details which 
include the services provisioned for CE, CEM, MPLS-TE and L3VPN. 
 
Resource 
Description 
Customer Facing Service 
Retrieves all Customer Facing Services (CE, CEM, MPLS-TE and L3VPN) in the 
system or retrieve a specific set based on the input parameters. 
HTTP Method  
Resource Path  
GET 
/data/v1/cisco-service-network:customer-facing-service 
Query Parameters 
Name 
 Type 
Description 
type 
String  
Type of the CFS to retrieve. If not specified all types will be 
returned. Possible values: carrier-ethernet-vpn, tdm-cem, 
mpls-te-tunnel, and layer3-vpn. 
subType 
String  
Sub Type of the CFS to retrieve. If not specified all sub types 
will be returned.  Should be used in conjunction with Type. 
fdn 
String 
Fully Distinguished Name (FDN) of the CFS to retrieve a single 
virtual connection. 
 
 
 
Response  Message 
Response Content Type 
application/xml, application/yang.data+xml, application/json, 
application/yang.data+json 
Response Data 
0 or more customer facing services of type customer-facing-service – 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 further detail. 
 
4.13 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,