Cisco Cisco Evolved Programmable Network Manager 2.0 Developer's Guide
Cisco EPN Manager 2.0.3 RESTCONF NBI Guide
219
<p:device>MD=CISCO_EPNM!ND=TEST903-165.75</p:device>
<p:vrf>VRF_FW_RESTCONF_NBI</p:vrf>
<p:ip-address>10.2.23.42</p:ip-address>
<p:neighbor-as>11</p:neighbor-as>
<p:ingress-rp></p:ingress-rp>
<p:egress-rp></p:egress-rp>
<p:local-as>12</p:local-as>
<p:as-action>No Prepend</p:as-action>
</p:bgp-neighbor-data>
</p:ipv4-bgp-neighbor>
<p:ipv6-bgp-neighbor>
<p:bgp-neighbor-data>
<p:device>MD=CISCO_EPNM!ND=TEST903-165.75</p:device>
<p:vrf>VRF_FW_RESTCONF_NBI</p:vrf>
<p:ip-address>1:2:22:33</p:ip-address>
<p:neighbor-as>14</p:neighbor-as>
<p:ingress-rp></p:ingress-rp>
<p:egress-rp></p:egress-rp>
<p:local-as>15</p:local-as>
<p:as-action>No Prepend</p:as-action>
</p:bgp-neighbor-data>
</p:ipv6-bgp-neighbor>
</p:mpls-l3vpn-data>
</p:service-order-data>
</p:provision-service-request>
7.39.2 Response
HTTP/1.1 201 Created
Server: <epnm-host>
Content-Type: application/yang.operation+xml
{"customer":"MD=CISCO_EPNM!CUSTOMER=Infrastructure","service-id":"dc37d717-0778-41d1-a74f-
4241a73d31b9","service-name":"L3VPN_Provisioning_FW_RESTCONF_NBI","service-type":"L3VPN","circuit-
type":"L3VPN","deploy-action":"Preview","operation-type":"ProvideService","request-time":"Wed May 11
07:29:09 PDT 2016","completion-status":"SUBMITTED","generic-notification-url":"http:\/\/storm-dev-
lnx4.cisco.com\/restconf\/streams\/v1\/provisioning","request-specific-notification-url":"http:\/\/storm-dev-
lnx4.cisco.com\/restconf\/streams\/v1\/provisioning\/dc37d717-0778-41d1-a74f-4241a73d31b9"}
Server: <epnm-host>
Content-Type: application/yang.operation+xml
{"customer":"MD=CISCO_EPNM!CUSTOMER=Infrastructure","service-id":"dc37d717-0778-41d1-a74f-
4241a73d31b9","service-name":"L3VPN_Provisioning_FW_RESTCONF_NBI","service-type":"L3VPN","circuit-
type":"L3VPN","deploy-action":"Preview","operation-type":"ProvideService","request-time":"Wed May 11
07:29:09 PDT 2016","completion-status":"SUBMITTED","generic-notification-url":"http:\/\/storm-dev-
lnx4.cisco.com\/restconf\/streams\/v1\/provisioning","request-specific-notification-url":"http:\/\/storm-dev-
lnx4.cisco.com\/restconf\/streams\/v1\/provisioning\/dc37d717-0778-41d1-a74f-4241a73d31b9"}
7.40 Provision L3VPN – Terminate Service
7.40.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:terminate-service-request xmlns:p="urn:cisco:params:xml:ns:yang:service:activation:v1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:cisco:params:xml:ns:yang:service:activation:v1 restconf-terminate-request-
schema.xsd ">
<p:cfs-ref>MD=Cisco_EPNM!CFS=L3VPN_Provisioning_FW_RESTCONF_NBI</p:cfs-ref>
<p:service-order-data>
<p:terminate-service-request xmlns:p="urn:cisco:params:xml:ns:yang:service:activation:v1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:cisco:params:xml:ns:yang:service:activation:v1 restconf-terminate-request-
schema.xsd ">
<p:cfs-ref>MD=Cisco_EPNM!CFS=L3VPN_Provisioning_FW_RESTCONF_NBI</p:cfs-ref>
<p:service-order-data>