Cisco Cisco Evolved Programmable Network Manager 2.0 Developer's Guide

Page of 244
  
 
 
Cisco EPN Manager 2.0.2 RESTCONF NBI Guide  
 
 
181 
 
7.36 Terminate CEM Service 
7.36.1 Request 
POST /restconf/operations/v1/cisco-service-provision:terminate-service HTTP/1.1 
Host: <epnm-host> 
Content-Type: application/yang.operation+json 
 
<?
xml
 
version
=
"1.0"
 
encoding
=
"UTF-8"
?>
 
<
ns:terminate-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-e1-demo
</
ns:service-name
>
 
        
<
ns:service-description
>
cem-service-e1-demo delete
</
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
>
516
</
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 
0/4/2;LR=LR_DSR_OC48_and_STM16
</
ns:tp-ref
>
 
                
<
ns:cem-data
>
 
                    
<
ns:working-path
>
 
                        
<
ns:higher-order-path
>
 
                            
<
ns:available-path-ref
>
MD=CISCO_EPNM!ND=NCS4206-TEST-
120.32!TP=name=SONET 0/4/2.21;LR=SonetHopProtocolEndpoint
</
ns:available-path-ref
>
 
                            
<
ns:path-mode
>
CT3_E1
</
ns:path-mode
>
 
                        
</
ns:higher-order-path
>
 
                        
<
ns:lower-order-path
>
 
                            
<
ns:available-path-ref
>
E1 1
</
ns:available-path-ref
>
 
                        
</
ns:lower-order-path
>
 
                        
<
ns:auto-allocate-path
>
false
</
ns:auto-allocate-path
>
 
                    
</
ns:working-path
>
 
 
                
</
ns:cem-data
>
 
            
</
ns:termination-point-config
>
 
 
            
<
ns:termination-point-config
>
 
                
<
ns:tp-ref
>
MD=CISCO_EPNM!ND=NCS4206-TEST-120.33!TP=name=SONET 
0/5/2;LR=LR_DSR_OC48_and_STM16
</
ns:tp-ref
>
 
                
<
ns:cem-data
>
 
                    
<
ns:working-path
>
 
                        
<
ns:higher-order-path
>
 
                            
<
ns:available-path-ref
>
MD=CISCO_EPNM!ND=NCS4206-TEST-