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 
 
 
141 
 
"service-id": "6e4f779d-e0f8-4c23-9d1e-cfab002ffdba", 
 
"service-name": "cem-service-e1-demo", 
 
"service-type": "tdm-cem", 
 
"circuit-type": "e1", 
 
"deploy-action": "Preview", 
 
"operation-type": "ProvideService", 
 
"request-time": "Thu May 12 11:43:48 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\/6e4f779d-e0f8-4c23-9d1e-cfab002ffdba" 
 
7.23.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
>
5357904982654733453
</
subscription-id
>
 
    
<
topic
>
/streams/v1/service-activation
</
topic
>
 
    
<
time-of-update
>
Wed May 11 16:38:38 PDT 2016
</
time-of-update
>
 
    
<
operation
>
configure
</
operation
>
 
    
<
update-data
>
 
        
<
ns2:provision-service-response
>
 
            
<
ns2:service-id
>
0feb3ab5-0439-4837-945a-f11f2fbb2412
</
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
>
ProvideService
</
ns2:operation-type
>
 
            
<
ns2:completion-time
>
Wed May 11 16:38:38 PDT 2016
</
ns2:completion-time
>
 
            
<
ns2:intent-status
>
COMPLETED
</
ns2:intent-status
>
 
            
<
ns2:deploy-status
>
COMPLETED
</
ns2:deploy-status
>
 
            
<
ns2:deploy-results
>
&lt;
results
&gt;
 
    
&lt;
result deviceId="1059058" deviceName="NCS4206-TEST-
120.32"
&gt;&lt;
![CDATA[controller SONET 0/4/2 
  sts-1 21 
    mode ct3-e1 
    e1 1 cem-group 32 unframed 
interface pseudowire21 
  encapsulation mpls 
  control-word include 
  preferred-path interface Tunnel301 disable-fallback 
  neighbor 6.6.6.33 81 
  bandwidth 2048 
interface CEM0/4/2 
  cem 32 
    payload-size 516 
l2vpn xconnect context XConnect_81_6.6.6.33 
  member pseudowire21 
  member CEM0/4/2 32 
  exit 
]]
&gt;&lt;
/result
&gt;
 
    
&lt;
result deviceId="760769" deviceName="NCS4206-TEST-