Cisco Cisco Evolved Programmable Network Manager 2.0 开发者指南
Cisco EPN Manager 2.0.2 RESTCONF NBI Guide
178
120.33!TP=name=SONET 0/5/2.10;LR=SonetHopProtocolEndpoint
</
ns:available-path-ref
>
<
ns:path-mode
>
CT3_E1
</
ns:path-mode
>
</
ns:higher-order-path
>
<
ns:lower-order-path
>
<
ns:available-path-ref
>
E1 1
</
ns:available-path-ref
>
</
ns:lower-order-path
>
<
ns:auto-allocate-path
>
false
</
ns:auto-allocate-path
>
</
ns:working-path
>
</
ns:cem-data
>
</
ns:termination-point-config
>
</
ns:termination-point-list
>
<
ns:forwarding-path
>
<
ns:cem-data
>
<
ns:pseudowire-settings
>
<
ns:preferred-path-ref
>
MD=CISCO_EPNM!VC=TE Link
301_6.6.6.6_0
</
ns:preferred-path-ref
>
<
ns:enable-control-word
>
true
</
ns:enable-control-word
>
<
ns:fallback-to-ldp
>
true
</
ns:fallback-to-ldp
>
</
ns:pseudowire-settings
>
</
ns:cem-data
>
</
ns:forwarding-path
>
</
ns:service-order-data
>
</
ns:modify-service-request
>
7.35.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
{
"customer": "MD=CISCO_EPNM!CUSTOMER=Infrastructure",
"service-id": "ff2424ae-f7f2-4b22-879a-0d1d8d844770",
"service-name": "cem-service-demo-15",
"service-type": "tdm-cem",
"circuit-type": "e1",
"deploy-action": "Preview",
"operation-type": "AmendService",
"request-time": "Thu May 12 11:38:57 PDT 2016",
"completion-status": "SUBMITTED",
"generic-notification-url": "http:\/\/epnm-dev-lnx5.cisco.com\/restconf\/streams\/v1\/service-activation",
"request-specific-notification-url": "http:\/\/epnm-dev-lnx5.cisco.com\/restconf\/streams\/v1\/service-
activation\/ff2424ae-f7f2-4b22-879a-0d1d8d844770"
}
}
7.35.3 Notification
<?
xml
version
=
"1.0"
encoding
=
"UTF-8"
standalone
=
"yes"
?>
<
push-change-update
xmlns
=
"urn:cisco:params:xml:ns:yang:yang-push:v1"
xmlns:ns2
=
"urn:cisco:params:xml:ns:yang:service:activation:v1"
>
<
subscription-id
>
-2281927226911319451
</
subscription-id
>