Cisco Cisco Evolved Programmable Network Manager 2.0 Developer's Guide

Page of 204
  
 
 
 
Cisco Evolved Programmable Network Manager 2.0.1 RESTCONF API Guide 
 
 
163 
 
 
 
 
<
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
>
 
 
 
 
<
p:ref
>
MD=CISCO_EPNM!NI=MyNetworkInterface2
</
p:ref
>
 
 
 
 
 
 
 
<
p:operation
>
add
</
p:operation
>
 
 
 
 
<
p:ce-data
>
 
 
 
 
 
<
p:description
>
MyNetworkInterface2 description
</
p:description
>
 
 
 
 
 
<
p:designation
>
Leaf
</
p:designation
>
 
 
 
 
 
<
p:mtu
>
1522
</
p:mtu
>
 
 
 
 
 
<
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.27.7.2 
Response 
HTTP/1.1 201 Created 
Server: <epnm-host> 
Content-Type: application/yang.operation+xml 
 
<provision-service-response > 
<!—TDB -- > 
</provision-service-response > 
 
 
7.27.8 Provision EVP-Tree Service  
7.27.8.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
>