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 Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
14 AT&T Intellectual Property. All other rights reserved.
16 Redistribution and use in source and binary forms, with or without modification,
17 are permitted provided that the following conditions are met:
19 * Redistributions of source code must retain the above copyright notice, this
20 list of conditions and the following disclaimer.
21 * Redistributions in binary form must reproduce the above copyright notice,
22 this list of conditions and the following disclaimer in the documentation and/or
23 other materials provided with the distribution.
24 * Neither the Members of the Open ROADM MSA Agreement nor the names of its
25 contributors may be used to endorse or promote products derived from this software
26 without specific prior written permission.
28 THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT ''AS IS''
29 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
30 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
31 IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT BE LIABLE FOR ANY DIRECT,
32 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
33 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
34 OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
35 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
36 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
37 POSSIBILITY OF SUCH DAMAGE";
49 grouping common-constraints-sp {
61 grouping ordered-constraints-sp {
68 type string; //to be clarified with topology model
74 type string; //to be clarified with topology model
80 type string; // to be clarified with topology model
88 grouping diversity-existing-service-contraints-sp {
89 leaf-list existing-service {
92 "Diverse from existing services identified by facility CLFI";
94 container existing-service-applicability {
106 grouping routing-constraints-sp {
107 container hard-constraints {
110 container soft-constraints {
116 enum propagation-delay;
121 leaf locally-protected-links {
123 description "indicates whether it must use locally protected links or not";
127 grouping constraints-sp {
128 leaf-list customer-code {
131 choice co-routing-or-general {
133 container diversity {
134 uses diversity-existing-service-contraints-sp;
137 uses common-constraints-sp;
138 leaf-list supporting-service-name {
140 "Supporting service(s) to exclude from this route.";
152 "designates the id of the hop: node-id, SRLG-id, site-id";
155 uses ordered-constraints-sp;
161 "Maximum latency allowed";
169 container co-routing {
170 leaf-list existing-service {
173 "Diverse from existing services identified by facility CLFI";