1 module transportpce-pathDescription {
2 namespace "http://org/transportpce/B-C-interface/pathDescription";
3 prefix transportpce-pathDescription;
5 import org-openroadm-resource {
6 prefix org-openroadm-resource;
12 "transportPCE committers - ODL";
14 "YANG definitions of B interface (transportPCE). Adapted from service definition (openroadm)
15 Copyright © 2017 Orange, Inc. and others. All rights reserved.
18 Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
19 AT&T Intellectual Property. All other rights reserved.
21 Redistribution and use in source and binary forms, with or without modification,
22 are permitted provided that the following conditions are met:
24 * Redistributions of source code must retain the above copyright notice, this
25 list of conditions and the following disclaimer.
26 * Redistributions in binary form must reproduce the above copyright notice,
27 this list of conditions and the following disclaimer in the documentation and/or
28 other materials provided with the distribution.
29 * Neither the Members of the Open ROADM MSA Agreement nor the names of its
30 contributors may be used to endorse or promote products derived from this software
31 without specific prior written permission.
33 THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT ''AS IS''
34 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
35 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
36 IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT BE LIABLE FOR ANY DIRECT,
37 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
38 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
39 OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
40 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
41 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
42 POSSIBILITY OF SUCH DAMAGE";
53 grouping PCE-resource {
55 "This resource identifier is intended to provide a generic identifer
56 for any resource that can be used without specific knowledge of
60 case termination-point {
62 type string; //to be clarified with topology model
65 type string; //to be clarified with topology model
71 type string; //to be clarified with topology model
77 type string; // to be clarified with topology model
85 grouping path-description {
87 "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
88 at its edge that are available for externally connections. It includes both physical and logical ports.
89 Physical ports are ordered with the logical ports that run over them as follows:
90 a.\tOn ingress to a node/card, physical then logical
91 b.\tOn egress to a node/card, logical then physical";
92 container aToZ-direction {
93 leaf aToZ-wavelength-number {
101 leaf modulation-format {
102 type string; // enum ?
108 "Unique identifier for this topology component within this service";
115 container zToA-direction {
116 leaf zToA-wavelength-number {
124 leaf modulation-format {
125 type string; // enum ?
131 "Unigue identifier for this topology component within this service";