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 
 
 
188 
    <ns4:data> 
        <ns14:customer> 
            <ns14:fdn>MD=CISCO_EPNM!CUSTOMER=Infrastructure</ns14:fdn> 
            <ns14:name>Infrastructure</ns14:name> 
            <ns14:description>default customer</ns14:description> 
        </ns14:customer> 
    </ns4:data> 
</ns4:response-message> 
 
7.37 Get All QoS Policies 
7.37.1 Request 
GET /restconf/data/v1/cisco-qos:qos-policy 
Host:  <epnm-host> 
Accept: application/yang.data+xml
 
7.37.2 Response 
HTTP/1.1 200 OK 
Server: <epnm-host> 
Content-Type: application/yang.data+xml 
 
<ns4:response-message  
    xmlns:ns17="urn:cisco:params:xml:ns:yang:qos:v1"  
    xmlns:ns4="urn:cisco:params:xml:ns:yang:nrf-common:v1"  
    xmlns:ns3="urn:ietf:params:xml:ns:yang:ietf-yang-library"  
    xmlns:ns2="inet-uri"> 
    <ns4:header> 
        <ns4:firstIndex>0</ns4:firstIndex> 
        <ns4:lastIndex>1</ns4:lastIndex> 
    </ns4:header> 
    <ns4:data> 
        <ns17:qos-policy> 
            <ns17:fdn>MD=CISCO_EPNM!ND=ASR901-CSG-1-
DOMAIN.cisco.com!POLICY_QOS=red</ns17:fdn> 
            <ns17:name>red</ns17:name> 
        </ns17:qos-policy> 
        <ns17:qos-policy> 
            <ns17:fdn>MD=CISCO_EPNM!ND=ASR901-CSG-1-
DOMAIN.cisco.com!POLICY_QOS=associate</ns17:fdn> 
            <ns17:name>associate</ns17:name> 
        </ns17:qos-policy> 
    </ns4:data> 
</ns4:response-message> 
 
7.38 Get All QoS Profiles 
7.38.1 Request 
GET /restconf/data/v1/cisco-qos:qos-profile 
Host:  <epnm-host> 
Accept: application/yang.data+xml