3 namespace "http://org/opendaylight/transportpce/pce";
4 prefix "org-opendaylight-transportpce-pce";
7 import ietf-yang-types {
9 revision-date 2013-07-15;
11 import transportpce-routing-constraints {
12 prefix transportpce-routing-constraints;
13 revision-date 2017-04-26;
17 import org-openroadm-common-service-types {
18 prefix org-openroadm-common-service-types;
19 revision-date 2016-10-14;
22 import org-openroadm-resource-types {
23 prefix org-openroadm-resource-types;
24 revision-date 2016-10-14;
26 import transportpce-common-service-path-types {
27 prefix transportpce-common-service-path-types;
28 revision-date 2017-04-26;
30 import transportpce-pathDescription {
31 prefix transportpce-pathDescription;
32 revision-date 2017-04-26;
39 "transportPCE committers - ODL";
41 "YANG definitions of stubrenderer services (transportPCE). Adapted from service path definition (openroadm).
42 Copyright © 2017 Orange, Inc. and others. All rights reserved.
44 This model is derived from the OpenROADM service definition that includes the following notice:
48 Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
49 AT&T Intellectual Property. All other rights reserved.
51 Redistribution and use in source and binary forms, with or without modification,
52 are permitted provided that the following conditions are met:
54 * Redistributions of source code must retain the above copyright notice, this
55 list of conditions and the following disclaimer.
56 * Redistributions in binary form must reproduce the above copyright notice,
57 this list of conditions and the following disclaimer in the documentation and/or
58 other materials provided with the distribution.
59 * Neither the Members of the Open ROADM MSA Agreement nor the names of its
60 contributors may be used to endorse or promote products derived from this software
61 without specific prior written permission.
63 THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT ''AS IS''
64 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
65 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
66 IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT BE LIABLE FOR ANY DIRECT,
67 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
68 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
69 OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
70 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
71 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
72 POSSIBILITY OF SUCH DAMAGE";
80 rpc path-computation-request {
85 "Identifier for the service to be created in
86 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.";
89 leaf resource-reserve {
92 "indicates if resources (from local PCE topology) must be reserved until further notice (cancel-resource-reserve or topology update)";
95 uses transportpce-common-service-path-types:service-handler-header;
96 container service-a-end {
97 uses transportpce-common-service-path-types:service-endpoint-sp;
99 container service-z-end {
100 uses transportpce-common-service-path-types:service-endpoint-sp;
102 uses transportpce-routing-constraints:routing-constraints-sp;
105 uses org-openroadm-common-service-types:configuration-response-common;
106 uses transportpce-common-service-path-types:response-parameters-sp;
110 rpc cancel-resource-reserve {
116 uses transportpce-common-service-path-types:service-handler-header;
119 uses org-openroadm-common-service-types:configuration-response-common;
123 notification service-path-rpc-result {
125 "This Notification indicates result of service RPC";
126 leaf notification-type {
127 type transportpce-common-service-path-types:service-path-notification-types;
129 container path-description {
130 uses transportpce-pathDescription:path-description;
132 uses transportpce-common-service-path-types:rpc-response-status-ex;
133 uses org-openroadm-common-service-types:service-notification-result;