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;
18 "transportPCE committers - ODL";
20 "YANG definitions of B interface (transportPCE). Adapted from service definition (openroadm)
21 Copyright © 2017 Orange, Inc. and others. All rights reserved.
24 Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
25 AT&T Intellectual Property. All other rights reserved.
27 Redistribution and use in source and binary forms, with or without modification,
28 are permitted provided that the following conditions are met:
30 * Redistributions of source code must retain the above copyright notice, this
31 list of conditions and the following disclaimer.
32 * Redistributions in binary form must reproduce the above copyright notice,
33 this list of conditions and the following disclaimer in the documentation and/or
34 other materials provided with the distribution.
35 * Neither the Members of the Open ROADM MSA Agreement nor the names of its
36 contributors may be used to endorse or promote products derived from this software
37 without specific prior written permission.
39 THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT ''AS IS''
40 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
41 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
42 IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT BE LIABLE FOR ANY DIRECT,
43 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
44 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
45 OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
46 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
47 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
48 POSSIBILITY OF SUCH DAMAGE";
52 "Version 1.6.3. To add states in path description elements";
56 "Version 1.6.2. To manage flexgrid";
60 "Version 1.6.1. To manage otn services";
71 grouping PCE-resource {
73 "This resource identifier is intended to provide a generic identifer
74 for any resource that can be used without specific knowledge of
78 case termination-point {
81 //to be clarified with topology model
85 //to be clarified with topology model
91 //to be clarified with topology model
97 // to be clarified with topology model
102 type org-openroadm-common-state-types:state;
104 description "Operational state of pce-resource";
109 grouping path-description {
111 "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
112 at its edge that are available for externally connections. It includes both physical and logical ports.
113 Physical ports are ordered with the logical ports that run over them as follows:
114 a.\tOn ingress to a node/card, physical then logical
115 b.\tOn egress to a node/card, logical then physical";
116 container aToZ-direction {
117 leaf aToZ-wavelength-number {
120 leaf aToZ-min-frequency {
121 type org-openroadm-common-optical-channel-types:frequency-THz;
123 "Minimum frequency in THz.";
125 leaf aToZ-max-frequency {
126 type org-openroadm-common-optical-channel-types:frequency-THz;
128 "Maximum frequency in THz.";
130 leaf trib-port-number {
133 leaf trib-slot-number {
140 leaf modulation-format {
149 "Unique identifier for this topology component within this service";
154 container zToA-direction {
155 leaf zToA-wavelength-number {
158 leaf zToA-min-frequency {
159 type org-openroadm-common-optical-channel-types:frequency-THz;
161 "Minimum frequency in THz.";
163 leaf zToA-max-frequency {
164 type org-openroadm-common-optical-channel-types:frequency-THz;
166 "Maximum frequency in THz.";
168 leaf trib-port-number {
171 leaf trib-slot-number {
178 leaf modulation-format {
187 "Unigue identifier for this topology component within this service";