1 module transportpce-servicepath {
2 namespace "http://org/transportpce/B-C-interface/servicepath";
3 prefix transportpce-servicepath;
5 import ietf-yang-types {
8 import transportpce-routing-constraints {
9 prefix transportpce-routing-constraints;
10 revision-date 2017-04-26;
12 import org-openroadm-common-types {
13 prefix org-openroadm-common-types;
15 import org-openroadm-resource-types {
16 prefix org-openroadm-resource-types;
18 import org-openroadm-common-service-types {
19 prefix org-openroadm-common-service-types;
21 import transportpce-common-service-path-types {
22 prefix transportpce-common-service-path-types;
23 revision-date 2017-04-26;
25 import transportpce-pathDescription {
26 prefix transportpce-pathDescription;
27 revision-date 2017-04-26;
29 import org-openroadm-topology {
30 prefix org-openroadm-topology;
36 "transportPCE committers - ODL";
38 "YANG definitions of B and C interfaces (transportPCE).
39 Copyright © 2017 Orange, Inc. and others. All rights reserved.
40 @authors: Xavier POUGNARD ( xavier.pougnard AT orange DOT com )
41 Olivier RENAIS ( oliver.renais AT orange DOT com )";
49 rpc path-computation-request {
54 "Identifier for the service to be created in
55 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.";
58 leaf resource-reserve {
61 "indicates if resources (from local PCE topology) must be reserved until further notice (cancel-resource-reserve or topology update)";
64 uses transportpce-common-service-path-types:service-handler-header;
65 container service-a-end {
66 uses transportpce-common-service-path-types:service-endpoint-sp;
68 container service-z-end {
69 uses transportpce-common-service-path-types:service-endpoint-sp;
71 uses transportpce-routing-constraints:routing-constraints-sp;
74 uses org-openroadm-common-service-types:configuration-response-common;
75 uses transportpce-common-service-path-types:response-parameters-sp;
79 rpc cancel-resource-reserve {
85 uses transportpce-common-service-path-types:service-handler-header;
88 uses org-openroadm-common-service-types:configuration-response-common;
94 rpc service-implementation-request {
99 "Identifier for the service to be created in
100 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.";
103 uses transportpce-common-service-path-types:service-handler-header;
104 container service-a-end {
105 uses transportpce-common-service-path-types:service-endpoint-sp;
107 container service-z-end {
108 uses transportpce-common-service-path-types:service-endpoint-sp;
110 container path-description {
111 uses transportpce-pathDescription:path-description;
115 uses org-openroadm-common-service-types:configuration-response-common;
124 "Identifier for the service to be created in
125 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.";
128 uses transportpce-common-service-path-types:service-handler-header;
131 uses org-openroadm-common-service-types:configuration-response-common;
135 container service-path-list {
137 "List of service paths. Can only be created, deleted, modified, etc. using special RPCs.";
139 key "service-path-name";
140 uses transportpce-common-service-path-types:service-path;
144 grouping stubpce-path-description {
148 "Identifier for the pathDescription to be created in
149 the ROADM network, e.g., CLFI, CLCI, etc.";
152 uses transportpce-pathDescription:path-description;
155 container path-description-list {
157 "List of pathDescription. Can only be created, deleted, modified, etc. using special RPCs.";
158 list pathDescriptions {
160 uses stubpce-path-description;
164 notification service-path-rpc-result {
166 "This Notification indicates result of service RPC";
167 leaf notification-type {
168 type transportpce-common-service-path-types:service-path-notification-types;
170 container path-description {
171 uses transportpce-pathDescription:path-description;
173 uses transportpce-common-service-path-types:rpc-response-status-ex;
174 uses org-openroadm-common-service-types:service-notification-result;
176 notification service-rpc-result-sp {
178 "This Notification indicates result of service RPC and provides the topology";
179 leaf notification-type {
180 type transportpce-common-service-path-types:service-path-notification-types;
182 container path-topology {
183 uses org-openroadm-topology:topology;
185 uses transportpce-common-service-path-types:rpc-response-status-ex;
186 uses org-openroadm-common-service-types:service-notification-result;