1 module transportpce-renderer {
2 namespace "http://org/transportpce/C-interface/renderer";
3 prefix transportpce-renderer;
5 import ietf-yang-types {
8 import org-openroadm-common-service-types {
9 prefix org-openroadm-common-service-types;
11 import transportpce-common-service-path-types {
12 prefix transportpce-common-service-path-types;
13 revision-date 2017-10-16;
15 import org-openroadm-topology {
16 prefix org-openroadm-topology;
18 import transportpce-pathDescription {
19 prefix transportpce-pathDescription;
20 revision-date 2017-10-17;
26 "transportPCE committers - ODL";
28 "YANG definitions of C interface (transportPCE). Adapted from service definition (openroadm)
29 Copyright © 2017 Orange, Inc. and others. All rights reserved.
32 Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
33 AT&T Intellectual Property. All other rights reserved.
35 Redistribution and use in source and binary forms, with or without modification,
36 are permitted provided that the following conditions are met:
38 * Redistributions of source code must retain the above copyright notice, this
39 list of conditions and the following disclaimer.
40 * Redistributions in binary form must reproduce the above copyright notice,
41 this list of conditions and the following disclaimer in the documentation and/or
42 other materials provided with the distribution.
43 * Neither the Members of the Open ROADM MSA Agreement nor the names of its
44 contributors may be used to endorse or promote products derived from this software
45 without specific prior written permission.
47 THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT ''AS IS''
48 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
49 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
50 IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT BE LIABLE FOR ANY DIRECT,
51 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
52 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
53 OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
54 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
55 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
56 POSSIBILITY OF SUCH DAMAGE";
63 rpc service-implementation-request {
68 "Identifier for the service to be created in
69 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.";
72 uses transportpce-common-service-path-types:service-handler-header;
73 container service-a-end {
74 uses transportpce-common-service-path-types:service-endpoint-sp;
76 container service-z-end {
77 uses transportpce-common-service-path-types:service-endpoint-sp;
79 container path-description {
80 uses transportpce-pathDescription:path-description;
84 uses org-openroadm-common-service-types:configuration-response-common;
93 "Identifier for the service to be created in
94 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.";
97 uses transportpce-common-service-path-types:service-handler-header;
100 uses org-openroadm-common-service-types:configuration-response-common;
104 notification service-rpc-result-sp {
106 "This Notification indicates result of service RPC and provides the topology";
107 leaf notification-type {
108 type transportpce-common-service-path-types:service-path-notification-types;
110 container path-topology {
111 uses org-openroadm-topology:topology;
113 uses transportpce-common-service-path-types:rpc-response-status-ex;
114 uses org-openroadm-common-service-types:service-notification-result;