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;
9 import org-openroadm-common-state-types {
10 prefix org-openroadm-common-state-types;
11 revision-date 2019-11-29;
13 import org-openroadm-otn-common-types {
14 prefix org-openroadm-otn-common-types;
20 "transportPCE committers - ODL";
22 "YANG definitions of B interface (transportPCE). Adapted from service definition (openroadm)
23 Copyright © 2017 Orange, Inc. and others. All rights reserved.
26 Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
27 AT&T Intellectual Property. All other rights reserved.
29 Redistribution and use in source and binary forms, with or without modification,
30 are permitted provided that the following conditions are met:
32 * Redistributions of source code must retain the above copyright notice, this
33 list of conditions and the following disclaimer.
34 * Redistributions in binary form must reproduce the above copyright notice,
35 this list of conditions and the following disclaimer in the documentation and/or
36 other materials provided with the distribution.
37 * Neither the Members of the Open ROADM MSA Agreement nor the names of its
38 contributors may be used to endorse or promote products derived from this software
39 without specific prior written permission.
41 THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT ''AS IS''
42 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
43 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
44 IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT BE LIABLE FOR ANY DIRECT,
45 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
46 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
47 OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
48 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
49 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
50 POSSIBILITY OF SUCH DAMAGE";
54 "Version 1.6.4. To add a list of trib-slots and complex-trib-slots
55 to be compliant with transportpce-device-renderer yang model";
59 "Version 1.6.3. To add states in path description elements";
63 "Version 1.6.2. To manage flexgrid";
67 "Version 1.6.1. To manage otn services";
78 grouping PCE-resource {
80 "This resource identifier is intended to provide a generic identifer
81 for any resource that can be used without specific knowledge of
85 case termination-point {
88 //to be clarified with topology model
92 //to be clarified with topology model
98 //to be clarified with topology model
104 // to be clarified with topology model
109 type org-openroadm-common-state-types:state;
111 description "Operational state of pce-resource";
116 grouping path-description {
118 "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
119 at its edge that are available for externally connections. It includes both physical and logical ports.
120 Physical ports are ordered with the logical ports that run over them as follows:
121 a.\tOn ingress to a node/card, physical then logical
122 b.\tOn egress to a node/card, logical then physical";
123 container aToZ-direction {
124 leaf aToZ-wavelength-number {
127 leaf aToZ-min-frequency {
128 type org-openroadm-common-optical-channel-types:frequency-THz;
130 "Minimum frequency in THz.";
132 leaf aToZ-max-frequency {
133 type org-openroadm-common-optical-channel-types:frequency-THz;
135 "Maximum frequency in THz.";
138 type org-openroadm-otn-common-types:opucn-trib-slot-def;
140 "Minimum trib slots in the form of 'A.B',
141 where A and B correspond to port-number and trib-slots respectively";
144 type org-openroadm-otn-common-types:opucn-trib-slot-def;
146 "Maximum trib slots in the form of 'A.B',
147 where A and B correspond to port-number and trib-slots respectively";
153 leaf modulation-format {
162 "Unique identifier for this topology component within this service";
167 container zToA-direction {
168 leaf zToA-wavelength-number {
171 leaf zToA-min-frequency {
172 type org-openroadm-common-optical-channel-types:frequency-THz;
174 "Minimum frequency in THz.";
176 leaf zToA-max-frequency {
177 type org-openroadm-common-optical-channel-types:frequency-THz;
179 "Maximum frequency in THz.";
182 type org-openroadm-otn-common-types:opucn-trib-slot-def;
184 "Minimum trib slots in the form of 'A.B',
185 where A and B correspond to port-number and trib-slots respectively";
188 type org-openroadm-otn-common-types:opucn-trib-slot-def;
190 "Maximum trib slots in the form of 'A.B',
191 where A and B correspond to port-number and trib-slots respectively";
197 leaf modulation-format {
206 "Unigue identifier for this topology component within this service";