Cisco Cisco Evolved Programmable Network Manager 2.0 Developer's Guide
Cisco EPN Manager 2.0.3 RESTCONF NBI Guide
215
<
p:qos-bw-profile
>
<
p:class-name
>
abc
</
p:class-name
>
<
p:direction
>
Ingress
</
p:direction
>
<
p:cir
>
1 mbps
</
p:cir
>
<
p:cbs
>
12678
</
p:cbs
>
<
p:eir
>
1 mbps
</
p:eir
>
<
p:ebs
>
33
</
p:ebs
>
<
p:color-mode
/>
<
p:coupling
/>
</
p:qos-bw-profile
>
</
p:cisco-qos-bw-profile
>
</
p:qos-bw-profile-list
>
</
p:cisco-ce-qos-profile-order-data
>
</
p:ce-data
>
</
p:service-order-data
>
</
p:provision-service-request
>
7.38.11.2
Response
HTTP/1.1 201 Created
Server: <epnm-host>
Content-Type: application/yang.operation+xml
Server: <epnm-host>
Content-Type: application/yang.operation+xml
<provision-service-response >
<!—TDB -- >
</provision-service-response >
7.38.12 Provision NI Service
7.38.12.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=goldcustomer
</
p:customer-ref
>
<
p:service-type
>
carrier-ethernet-vpn
</
p:service-type
>
<
p:service-subtype
>
UNI
</
p:service-subtype
>
<
p:service-activate
>
true
</
p:service-activate
>
<
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:network-interface-name
>
MyNetworkInterface
</
p:network-interface-name
>
</
p:termination-point-config
>