Cisco Cisco Evolved Programmable Network Manager 2.0 Developer's Guide

Page of 244
  
 
 
Cisco EPN Manager 2.0.2 RESTCONF NBI Guide  
 
 
190 
 
      interface GigabitEthernet0/0/0/1.1 
 
      interface GigabitEthernet0/0/0/0.1 
 
      exit 
 
    exit 
 
  exit 
]]
><
/result
>
 
<
/results
> 
</
ns2:deploy-results
>
 
            
<
ns2:completion-status
>
SUCCESS
</
ns2:completion-status
>
 
        
</
ns2:modify-service-response
>
 
    
</
update-data
>
 
</
push-change-update
>
 
 
7.38.2 Modify EPL Service  
7.38.2.1 
Request 
POST /restconf/operations/v1/cisco-service-provision:provision-service HTTP/1.1 
Host: <epnm-host> 
Content-Type: application/yang.operation+xml 
 
<
p:modify-service-request
 
xmlns:p
=
"urn:cisco:params:xml:ns:yang:service:activation:v1"
 
 
xmlns:xsi
=
"http://www.w3.org/2001/XMLSchema-instance"
 
 
xsi:schemaLocation
=
"urn:cisco:params:xml:ns:yang:service:activation:v1 restconf-provisioning-request-
schema.xsd "
>
 
<
p:cfs-ref
>
MD=CISCO_EPNM!CFS=TestEPlService238
</
p:cfs-ref
>
 
<
p:service-order-data
>
 
 
<
p:service-template
>
CE
</
p:service-template
>
 
 
<
p:customer-ref
>
MD=CISCO_EPNM!CUSTOMER=Infrastructure
</
p:customer-ref
>
 
 
<
p:service-name
>
TestEPlService238
</
p:service-name
>
 
 
<
p:service-description
>
TestEPlService238 description
</
p:service-description
>
 
 
<
p:service-type
>
carrier-ethernet-vpn
</
p:service-type
>
 
 
<
p:service-subtype
>
EPL
</
p:service-subtype
>
  
 
<
p:ce-data
>
 
 
 
<
p:ccm-interval
>
1 min
</
p:ccm-interval
>
 
 
 
<
p:mtu-size
>
1522
</
p:mtu-size
>
 
 
 
<
p:enable-cfm
>
true
</
p:enable-cfm
>
 
 
 
<
p:max-uni-endpoints
>
2
</
p:max-uni-endpoints
>
 
 
</
p:ce-data
>
 
 
<
p:termination-point-list
>
 
 
 
<
p:termination-point-config
>
   
 
 
 
<
p:tp-ref
>
MD=CISCO_EPNM!ND=tmh-chn-mvso-asr9k-
3!TP=name=GigabitEthernet0/0/0/2;LR=LR_ETHERNET
</
p:tp-ref
>
   
 
 
 
<
p:directionality
>
source
</
p:directionality
>
  
 
 
 
<
p:network-interface-name
>
TestUNI238
</
p:network-interface-name
>
  
 
 
 
<
p:network-interface-ref
>
MD=CISCO_EPNM!NI=TestUNI238
</
p:network-interface-
ref
>
  
 
 
 
<
p:ce-data
>
 
 
 
 
 
<
p:l2-cp-profile
>
MEF Option 1
</
p:l2-cp-profile
>
 
 
 
 
</
p:ce-data
>