1 module transportpce-pathDescription {
2 namespace "http://org/transportpce/B-C-interface/pathDescription";
3 prefix transportpce-pathDescription;
5 import org-openroadm-common-optical-channel-types {
6 prefix org-openroadm-common-optical-channel-types;
7 revision-date 2020-05-29;
10 import org-openroadm-common-state-types {
11 prefix org-openroadm-common-state-types;
12 revision-date 2019-11-29;
14 import org-openroadm-otn-common-types {
15 prefix org-openroadm-otn-common-types;
16 revision-date 2018-11-30;
22 "transportPCE committers - ODL";
24 "YANG definitions of B interface (transportPCE). Adapted from service definition (openroadm)
25 Copyright © 2017 Orange, Inc. and others. All rights reserved.
28 Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
29 AT&T Intellectual Property. All other rights reserved.
31 Redistribution and use in source and binary forms, with or without modification,
32 are permitted provided that the following conditions are met:
34 * Redistributions of source code must retain the above copyright notice, this
35 list of conditions and the following disclaimer.
36 * Redistributions in binary form must reproduce the above copyright notice,
37 this list of conditions and the following disclaimer in the documentation and/or
38 other materials provided with the distribution.
39 * Neither the Members of the Open ROADM MSA Agreement nor the names of its
40 contributors may be used to endorse or promote products derived from this software
41 without specific prior written permission.
43 THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT ''AS IS''
44 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
45 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
46 IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT BE LIABLE FOR ANY DIRECT,
47 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
48 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
49 OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
50 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
51 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
52 POSSIBILITY OF SUCH DAMAGE";
56 "Version 1.6.4. To add a list of trib-slots and complex-trib-slots
57 to be compliant with transportpce-device-renderer yang model";
61 "Version 1.6.3. To add states in path description elements";
65 "Version 1.6.2. To manage flexgrid";
69 "Version 1.6.1. To manage otn services";
80 grouping PCE-resource {
82 "This resource identifier is intended to provide a generic identifer
83 for any resource that can be used without specific knowledge of
87 case termination-point {
90 //to be clarified with topology model
94 //to be clarified with topology model
100 //to be clarified with topology model
106 // to be clarified with topology model
111 type org-openroadm-common-state-types:state;
113 description "Operational state of pce-resource";
118 grouping path-description {
120 "Topology reports the individual hops along the service in the A to Z direction and Z to A directions. This includes both ports internal to a device and those
121 at its edge that are available for externally connections. It includes both physical and logical ports.
122 Physical ports are ordered with the logical ports that run over them as follows:
123 a.\tOn ingress to a node/card, physical then logical
124 b.\tOn egress to a node/card, logical then physical";
125 container aToZ-direction {
126 leaf aToZ-wavelength-number {
129 leaf aToZ-min-frequency {
130 type org-openroadm-common-optical-channel-types:frequency-THz;
132 "Minimum frequency in THz.";
134 leaf aToZ-max-frequency {
135 type org-openroadm-common-optical-channel-types:frequency-THz;
137 "Maximum frequency in THz.";
140 type org-openroadm-otn-common-types:opucn-trib-slot-def;
142 "Minimum trib slots in the form of 'A.B',
143 where A and B correspond to port-number and trib-slots respectively";
146 type org-openroadm-otn-common-types:opucn-trib-slot-def;
148 "Maximum trib slots in the form of 'A.B',
149 where A and B correspond to port-number and trib-slots respectively";
155 leaf modulation-format {
164 "Unique identifier for this topology component within this service";
169 container zToA-direction {
170 leaf zToA-wavelength-number {
173 leaf zToA-min-frequency {
174 type org-openroadm-common-optical-channel-types:frequency-THz;
176 "Minimum frequency in THz.";
178 leaf zToA-max-frequency {
179 type org-openroadm-common-optical-channel-types:frequency-THz;
181 "Maximum frequency in THz.";
184 type org-openroadm-otn-common-types:opucn-trib-slot-def;
186 "Minimum trib slots in the form of 'A.B',
187 where A and B correspond to port-number and trib-slots respectively";
190 type org-openroadm-otn-common-types:opucn-trib-slot-def;
192 "Maximum trib slots in the form of 'A.B',
193 where A and B correspond to port-number and trib-slots respectively";
199 leaf modulation-format {
208 "Unigue identifier for this topology component within this service";