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;
143 notification service-path-rpc-result {
145 "This Notification indicates result of service RPC";
146 leaf notification-type {
147 type transportpce-common-service-path-types:service-path-notification-types;
149 container path-description {
150 uses transportpce-pathDescription:path-description;
152 uses transportpce-common-service-path-types:rpc-response-status-ex;
153 uses org-openroadm-common-service-types:service-notification-result;
155 notification service-rpc-result-sp {
157 "This Notification indicates result of service RPC and provides the topology";
158 leaf notification-type {
159 type transportpce-common-service-path-types:service-path-notification-types;
161 container path-topology {
162 uses org-openroadm-topology:topology;
164 uses transportpce-common-service-path-types:rpc-response-status-ex;
165 uses org-openroadm-common-service-types:service-notification-result;