Cisco Cisco Evolved Programmable Network Manager 2.0 Developer's Guide

Page of 244
  
 
 
Cisco EPN Manager 2.0.2 RESTCONF NBI Guide  
 
 
205 
 
 
 
 
<
p:speed
>
10 Mbps
</
p:speed
>
 
 
 
 
 
<
p:mode
>
FULL DUPLEX
</
p:mode
>
 
 
 
 
 
<
p:ce-vlanid
>
565
</
p:ce-vlanid
>
 
 
 
 
 
<
p:service-multiplexing
>
true
</
p:service-multiplexing
>
 
 
 
 
 
<
p:bundling
>
true
</
p:bundling
>
 
 
 
 
 
<
p:enable-oam
>
true
</
p:enable-oam
>
 
 
 
 
 
<
p:enable-link-Management
>
true
</
p:enable-link-Management
>
 
 
 
 
</
p:ce-data
>
 
 
 
</
p:network-interface
>
 
 
</
p:network-interface-list
>
 
</
p:service-order-data
>
 
</
p:provision-service-request
>
 
 
 
 
7.38.8.2 
Response 
HTTP/1.1 201 Created 
Server: <epnm-host> 
Content-Type: application/yang.operation+xml 
 
<provision-service-response > 
<!—TDB -- > 
</provision-service-response > 
 
 
7.38.9 Provision Access EPL Service  
7.38.9.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=goldcustomer
</
p:customer-ref
>
 
 
 
<
p:service-name
>
ACCESSEPL_MyService1
</
p:service-name
>
 
 
 
<
p:service-description
>
ACCESSEPL _MyService1 Description 
 
 
</
p:service-description
>
 
 
 
<
p:service-type
>
 carrier-ethernet-vpn
 </
p:service-type
>
 
 
 
<
p:service-subtype
>
Access EPL
</
p:service-subtype
>
 
 
 
<
p:service-activate
>
true
</
p:service-activate
>
 
 
 
<
p:direction
>
BiDirectional
</
p:direction
>
 
 
 
<
p:ce-data
>
 
 
 
 
<
p:bundling
>
true
</
p:bundling
>
 
 
 
 
<
p:mtu-size
>
1522
</
p:mtu-size
>
 
 
 
 
<
p:max-uni-endpoints
>
2
</
p:max-uni-endpoints
>
 
 
 
</
p:ce-data
>
 
 
 
<
p:termination-point-list
>