Cisco Cisco Evolved Programmable Network Manager 2.0 Developer's Guide
Cisco EPN Manager 2.0.2 RESTCONF NBI Guide
200
<
p:qos-profile-
ref
>
MD=CISCO_EPNM!PROFILE_QOS=MyUniProfile1
</
p:qos-profile-ref
>
<
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.38.6.2
Response
HTTP/1.1 201 Created
Server: <epnm-host>
Content-Type: application/yang.operation+xml
<provision-service-response >
Server: <epnm-host>
Content-Type: application/yang.operation+xml
<provision-service-response >
<!—TDB -- >
</provision-service-response >
7.38.7 Provision EP-Tree Service
7.38.7.1
7.38.7.1
Request
POST /restconf/operations/v1/cisco-service-provision:provision-service HTTP/1.1
Host: <epnm-host>
Content-Type: application/yang.operation+xml
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
>
EPTREE_MyServive01
</
p:service-name
>
<
p:service-description
>
EPTREE_MyServive01 description
</
p:service-description
>
<
p:service-type
>
carrier-ethernet-vpn
</
p:service-type
>
<
p:service-subtype
>
EP-Tree
</
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
>