Cisco Cisco Evolved Programmable Network Manager 2.0 Developer's Guide

Page of 254
  
 
 
Cisco EPN Manager 2.0.3 RESTCONF NBI Guide  
 
 
200 
 
<provision-service-response > 
<!—TDB -- > 
</provision-service-response > 
 
 
 
7.38.5 Provision EP-LAN Service  
7.38.5.1 
Request 
POST /restconf/operations/v1/cisco-service-provision:provision-service HTTP/1.1 
Host: <epnm-host> 
Content-Type: application/yang.operation+xml 
 
<?
xml
 
version
=
"1.0"
 
encoding
=
"UTF-8"
?>
 
<
p:provision-service-request
  
xmlns:p
=
"urn:cisco:params:xml:ns:yang:service:activation:v1"
 
xmlns:y1
=
"urn:cisco:params:xml:ns:yang:nrf-common:v1"
  
xmlns:xsi
=
"http://www.w3.org/2001/XMLSchema-instance"
  
xsi:schemaLocation
=
"urn:cisco:params:xml:ns:yang:sa:v1 cisco-service-activation.xsd 
urn:cisco:params:xml:ns:yang:service:activation:v1 restconf-provisioning-request-schema.xsd "
>
 
<
p:service-order-data
>
 
  <
p:customer-ref
>
MD=CISCO_EPNM!CUSTOMER=Infrastructure
</
p:customer-ref
>
 
  
<
p:service-name
>
EPLAN_MyServive01
</
p:service-name
>
 
  
<
p:service-description
>
EPLAN_MyServive01 description
</
p:service-description
>
 
  
<
p:service-type
>
 carrier-ethernet-vpn
 </
p:service-type
>
 
  
<
p:service-subtype
>
EP-LAN
</
p:service-subtype
>
 
  
<
p:service-activate
>
true
</
p:service-activate
>
 
  
<
p:direction
>
BiDirectional
</
p:direction
>
 
  
<
p:ce-data
>
 
    
<
p:core-technology
>
VPLS
</
p:core-technology
>
 
    
<
p:bundling
>
true
</
p:bundling
>
 
    
<
p:ccm-interval
>
1 sec
</
p:ccm-interval
>
 
    
<
p:ce-vlan-id-preservation
>
true
</
p:ce-vlan-id-preservation
>
 
    
<
p:ce-vlan-cos-preservation
>
true
</
p:ce-vlan-cos-preservation
>
 
    
<
p:mtu-size
>
1522
</
p:mtu-size
>
 
    
<
p:enable-cfm
>
true
</
p:enable-cfm
>
 
    
<
p:fault-management-map
/>
 
    
<
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=TEST901-CSG-1-
DOMAIN3.cisco.com!TP=name=GigabitEthernet0/1.ServiceInstance.20;LR=LR_ETHERNET_INTERFACE
</
p
:tp-ref
>
 
      
<
p:directionality
>
BiDirectional
</
p:directionality
>
 
      
<
p:qos-profile-ref
>
MD=CISCO_EPNM!PROFILE_QOS=MyUniProfile1
</
p:qos-profile-ref
>
 
      
<
p:network-interface-name
>
MyNetworkInterface
</
p:network-interface-name
>
 
      
<
p:ce-data
>
 
        
<
p:l2-cp-profile
>
MEF EP-LAN/EP-Tree
</
p:l2-cp-profile
>
         
        
<
p:mep-group
>
test-mep
</
p:mep-group
>
 
        
<
p:untagged
>
true
</
p:untagged
>
 
      
</
p:ce-data
>
 
    
</
p:termination-point-config
>