1 module transportpce-routing-constraints {
2 namespace "http://org/transportpce/B-C-interface/routing/constraints";
3 prefix transportpce-routing-constraints;
8 "transportPCE committers - ODL";
10 "YANG definitions of B interface (transportPCE). Adapted from service definition (openroadm).
11 Copyright © 2017 Orange, Inc. and others. All rights reserved.
13 This model is derived from the OpenROADM service definition that includes the following notice:
16 Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
17 AT&T Intellectual Property. All other rights reserved.
19 Redistribution and use in source and binary forms, with or without modification,
20 are permitted provided that the following conditions are met:
22 * Redistributions of source code must retain the above copyright notice, this
23 list of conditions and the following disclaimer.
24 * Redistributions in binary form must reproduce the above copyright notice,
25 this list of conditions and the following disclaimer in the documentation and/or
26 other materials provided with the distribution.
27 * Neither the Members of the Open ROADM MSA Agreement nor the names of its
28 contributors may be used to endorse or promote products derived from this software
29 without specific prior written permission.
31 THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT ''AS IS''
32 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
33 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
34 IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT BE LIABLE FOR ANY DIRECT,
35 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
36 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
37 OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
38 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
39 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
40 POSSIBILITY OF SUCH DAMAGE";
47 grouping common-constraints-sp {
59 grouping ordered-constraints-sp {
66 type string; //to be clarified with topology model
72 type string; //to be clarified with topology model
78 type string; // to be clarified with topology model
86 grouping diversity-existing-service-contraints-sp {
87 leaf-list existing-service {
90 "Diverse from existing services identified by facility CLFI";
92 container existing-service-applicability {
105 grouping routing-constraints-sp {
106 container hard-constraints {
109 container soft-constraints {
115 enum propagation-delay;
120 leaf locally-protected-links {
122 description "indicates whether it must use locally protected links or not";
126 grouping constraints-sp {
127 leaf-list customer-code {
130 choice co-routing-or-general {
132 container diversity {
133 uses diversity-existing-service-contraints-sp;
136 uses common-constraints-sp;
137 leaf-list supporting-service-name {
139 "Supporting service(s) to exclude from this route.";
151 "designates the id of the hop: node-id, SRLG-id, site-id";
154 uses ordered-constraints-sp;
160 "Maximum latency allowed";
168 container co-routing {
169 leaf-list existing-service {
172 "Diverse from existing services identified by facility CLFI";