Cisco Cisco Evolved Programmable Network Manager 2.0 Developer's Guide
Cisco Evolved Programmable Network Manager 2.0.1 RESTCONF API Guide
142
120.33"
><
![CDATA[controller SONET 0/5/2
sts-1 10
mode ct3-e1
e1 1 cem-group 25 unframed
interface pseudowire31
encapsulation mpls
control-word include
preferred-path interface Tunnel301 disable-fallback
neighbor 101.101.101.1 81
bandwidth 2048
interface CEM0/5/2
cem 25
payload-size 516
l2vpn xconnect context XConnect_81_101.101.101.1
member pseudowire31
member CEM0/5/2 25
exit
]]
mode ct3-e1
e1 1 cem-group 25 unframed
interface pseudowire31
encapsulation mpls
control-word include
preferred-path interface Tunnel301 disable-fallback
neighbor 101.101.101.1 81
bandwidth 2048
interface CEM0/5/2
cem 25
payload-size 516
l2vpn xconnect context XConnect_81_101.101.101.1
member pseudowire31
member CEM0/5/2 25
exit
]]
><
/result
>
<
/results
>
</
ns2:deploy-results
>
<
ns2:completion-status
>
SUCCESS
</
ns2:completion-status
>
</
ns2:provision-service-response
>
</
update-data
>
</
push-change-update
>
7.24 Modify CEM Service
7.24.1 Request
POST /restconf/operations/v1/cisco-service-provision:modify-service HTTP/1.1
Host: <epnm-host>
Content-Type: application/yang.operation+json
Host: <epnm-host>
Content-Type: application/yang.operation+json
<?
xml
version
=
"1.0"
encoding
=
"UTF-8"
?>
<
ns:modify-service-request
xmlns
=
"urn:cisco:params:xml:ns:yang:service:activation:v1"
xmlns:ns
=
"urn:cisco:params:xml:ns:yang:service:activation:v1"
>
<
ns:cfs-ref
>
MD=CISCO_EPNM!CFS=cem-service-e1-demo
</
ns:cfs-ref
>
<
ns:service-order-data
>
<
ns:service-name
>
cem-service-demo-15
</
ns:service-name
>
<
ns:service-description
>
cem-service-e1-demo modify
</
ns:service-description
>
<
ns:service-type
>
tdm-cem
</
ns:service-type
>
<
ns:service-subtype
>
e1
</
ns:service-subtype
>
<
ns:service-activate
>
true
</
ns:service-activate
>
<
ns:customer-ref
>
MD=CISCO_EPNM!CUSTOMER=Infrastructure
</
ns:customer-ref
>
<
ns:cem-data
>
<
ns:transport-settings
>
<
ns:frame-type
>
SATOP
</
ns:frame-type
>
<
ns:payload-size
>
1024
</
ns:payload-size
>
</
ns:transport-settings
>
</
ns:cem-data
>
<
ns:termination-point-list
>
<
ns:termination-point-config
>
<
ns:tp-ref
>
MD=CISCO_EPNM!ND=NCS4206-TEST-120.32!TP=name=SONET