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 
 
 
147 
7.25.2 Response 
HTTP/1.1 201 Created 
Server: <epnm-host> 
Content-Type: application/yang.operation+xml 
 

 
"customer": "MD=CISCO_EPNM!CUSTOMER=Infrastructure", 
 
"service-id": "41939b38-f6cc-4761-a428-c8b2380ae0cf", 
 
"service-name": "cem-service-e1-10", 
 
"service-type": "tdm-cem", 
 
"circuit-type": "e1", 
 
"deploy-action": "Preview", 
 
"operation-type": "CeaseService", 
 
"request-time": "Wed May 11 16:46:22 PDT 2016", 
 
"completion-status": "SUBMITTED", 
 
"generic-notification-url": "http:\/\/epnm-dev-lnx5.cisco.com\/restconf\/streams\/v1\/service-activation", 
 
"request-specific-notification-url": "http:\/\/epnm-dev-lnx5.cisco.com\/restconf\/streams\/v1\/service-
activation\/41939b38-f6cc-4761-a428-c8b2380ae0cf" 

 
7.25.3 Notification 
<?
xml
 
version
=
"1.0"
 
encoding
=
"UTF-8"
 
standalone
=
"yes"
?>
 
<
push-change-update
 
xmlns
=
"urn:cisco:params:xml:ns:yang:yang-push:v1"
 
xmlns:ns2
=
"urn:cisco:params:xml:ns:yang:service:activation:v1"
>
 
    
<
subscription-id
>
-8541153577055591198
</
subscription-id
>
 
    
<
topic
>
/streams/v1/service-activation
</
topic
>
 
    
<
time-of-update
>
Wed May 11 16:46:23 PDT 2016
</
time-of-update
>
 
    
<
operation
>
configure
</
operation
>
 
    
<
update-data
>
 
        
<
ns2:terminate-service-response
>
 
            
<
ns2:service-id
>
41939b38-f6cc-4761-a428-c8b2380ae0cf
</
ns2:service-id
>
 
            
<
ns2:service-name
>
cem-service-e1-10
</
ns2:service-name
>
 
            
<
ns2:service-type
>
tdm-cem
</
ns2:service-type
>
 
            
<
ns2:circuit-type
>
e1
</
ns2:circuit-type
>
 
            
<
ns2:deploy-action
>
Preview
</
ns2:deploy-action
>
 
            
<
ns2:operation-type
>
CeaseService
</
ns2:operation-type
>
 
            
<
ns2:completion-time
>
Wed May 11 16:46:23 PDT 2016
</
ns2:completion-time
>
 
            
<
ns2:completion-status
>
COMPLETED
</
ns2:completion-status
>
 
        
</
ns2:terminate-service-response
>
 
    
</
update-data
>
 
</
push-change-update
>
 
 
 
7.26 Provision MPLS-TE Service 
7.26.1 Request 
POST /restconf/operations/v1/cisco-service-provision:provision-service HTTP/1.1 
Host: <epnm-host> 
Content-Type: application/yang.operation+json