1 module transportpce-servicepath {
2 namespace "http://org/transportpce/B-C-interface";
3 prefix transportpce-servicepath;
5 import ietf-yang-types {
8 import transportpce-routing-constraints {
9 prefix transportpce-routing-constraints;
11 import org-openroadm-common-types {
12 prefix org-openroadm-common-types;
14 import org-openroadm-resource-types {
15 prefix org-openroadm-resource-types;
17 import org-openroadm-common-service-types {
18 prefix org-openroadm-common-service-types;
20 import transportpce-common-service-path-types {
21 prefix transportpce-common-service-path-types;
23 import transportpce-pathDescription {
24 prefix transportpce-pathDescription;
26 import org-openroadm-topology {
27 prefix org-openroadm-topology;
33 "transportPCE committers - ODL";
35 "YANG definitions of B and C interfaces (transportPCE).
36 Copyright © 2017 Orange, Inc. and others. All rights reserved.
37 @authors: Xavier POUGNARD ( xavier.pougnard AT orange DOT com )
38 Olivier RENAIS ( oliver.renais AT orange DOT com )";
46 rpc path-computation-request {
51 "Identifier for the service to be created in
52 the ROADM network, e.g., CLFI, CLCI, etc. This is reported against the service, but may not get reflected in the service in the network.";
55 leaf resource-reserve {
58 "indicates if resources (from local PCE topology) must be reserved until further notice (cancel-resource-reserve or topology update)";
61 uses transportpce-common-service-path-types:service-handler-header;
62 container service-a-end {
63 uses transportpce-common-service-path-types:service-endpoint-sp;
65 container service-z-end {
66 uses transportpce-common-service-path-types:service-endpoint-sp;
68 uses transportpce-routing-constraints:routing-constraints-sp;
71 uses org-openroadm-common-service-types:configuration-response-common;
72 uses transportpce-common-service-path-types:response-parameters-sp;
76 rpc cancel-resource-reserve {
82 uses transportpce-common-service-path-types:service-handler-header;
85 uses org-openroadm-common-service-types:configuration-response-common;
91 rpc service-implementation-request {
96 "Identifier for the service to be created in
97 the ROADM network, e.g., CLFI, CLCI, etc. This is reported against the service, but may not get reflected in the service in the network.";
100 uses transportpce-common-service-path-types:service-handler-header;
101 container service-a-end {
102 uses transportpce-common-service-path-types:service-endpoint-sp;
104 container service-z-end {
105 uses transportpce-common-service-path-types:service-endpoint-sp;
107 container path-description {
108 uses transportpce-pathDescription:path-description;
112 uses org-openroadm-common-service-types:configuration-response-common;
121 "Identifier for the service to be created in
122 the ROADM network, e.g., CLFI, CLCI, etc. This is reported against the service, but may not get reflected in the service in the network.";
125 uses transportpce-common-service-path-types:service-handler-header;
128 uses org-openroadm-common-service-types:configuration-response-common;
132 container service-path-list {
134 "List of service paths. Can only be created, deleted, modified, etc. using special RPCs.";
136 key "service-path-name";
137 uses transportpce-common-service-path-types:service-path;
140 notification service-path-rpc-result {
142 "This Notification indicates result of service RPC";
143 leaf notification-type {
144 type transportpce-common-service-path-types:service-path-notification-types;
146 container path-description {
147 uses transportpce-pathDescription:path-description;
149 uses transportpce-common-service-path-types:rpc-response-status-ex;
150 uses org-openroadm-common-service-types:service-notification-result;
152 notification service-rpc-result-sp {
154 "This Notification indicates result of service RPC and provides the topology";
155 leaf notification-type {
156 type transportpce-common-service-path-types:service-path-notification-types;
158 container path-topology {
159 uses org-openroadm-topology:topology;
161 uses transportpce-common-service-path-types:rpc-response-status-ex;
162 uses org-openroadm-common-service-types:service-notification-result;