3 namespace "http://org/opendaylight/transportpce/stubrenderer";
4 prefix "org-opendaylight-transportpce-stubrenderer";
6 import ietf-yang-types {
8 revision-date 2013-07-15;
10 import transportpce-routing-constraints {
11 prefix transportpce-routing-constraints;
12 revision-date 2017-04-26;
16 import org-openroadm-common-service-types {
17 prefix org-openroadm-common-service-types;
18 revision-date 2016-10-14;
21 import org-openroadm-resource-types {
22 prefix org-openroadm-resource-types;
23 revision-date 2016-10-14;
25 import transportpce-common-service-path-types {
26 prefix transportpce-common-service-path-types;
27 revision-date 2017-04-26;
29 import transportpce-pathDescription {
30 prefix transportpce-pathDescription;
31 revision-date 2017-04-26;
34 import org-openroadm-topology {
35 prefix org-openroadm-topology;
36 revision-date 2016-10-14;
43 "transportPCE committers - ODL";
45 "YANG definitions of stubrenderer services (transportPCE). Adapted from service path definition (openroadm).
46 Copyright © 2017 Orange, Inc. and others. All rights reserved.
48 This model is derived from the OpenROADM service definition that includes the following notice:
52 Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
53 AT&T Intellectual Property. All other rights reserved.
55 Redistribution and use in source and binary forms, with or without modification,
56 are permitted provided that the following conditions are met:
58 * Redistributions of source code must retain the above copyright notice, this
59 list of conditions and the following disclaimer.
60 * Redistributions in binary form must reproduce the above copyright notice,
61 this list of conditions and the following disclaimer in the documentation and/or
62 other materials provided with the distribution.
63 * Neither the Members of the Open ROADM MSA Agreement nor the names of its
64 contributors may be used to endorse or promote products derived from this software
65 without specific prior written permission.
67 THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT ''AS IS''
68 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
69 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
70 IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT BE LIABLE FOR ANY DIRECT,
71 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
72 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
73 OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
74 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
75 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
76 POSSIBILITY OF SUCH DAMAGE";
84 rpc service-implementation-request {
89 "Identifier for the service to be created in
90 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.";
93 uses transportpce-common-service-path-types:service-handler-header;
94 container service-a-end {
95 uses transportpce-common-service-path-types:service-endpoint-sp;
97 container service-z-end {
98 uses transportpce-common-service-path-types:service-endpoint-sp;
100 container path-description {
101 uses transportpce-pathDescription:path-description;
105 uses org-openroadm-common-service-types:configuration-response-common;
114 "Identifier for the service to be created in
115 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.";
118 uses transportpce-common-service-path-types:service-handler-header;
121 uses org-openroadm-common-service-types:configuration-response-common;
126 notification service-rpc-result-sp {
128 "This Notification indicates result of service RPC";
129 leaf notification-type {
130 type transportpce-common-service-path-types:service-path-notification-types;
132 container path-topology {
133 uses org-openroadm-topology:topology;
135 uses transportpce-common-service-path-types:rpc-response-status-ex;
136 uses org-openroadm-common-service-types:service-notification-result;