ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE";
- revision 2017-04-26 {
+ revision 2017-10-17 {
description
- "Version 1.5";
+ "Version 1.6";
}
- revision 2017-10-17 {
+ revision 2017-04-26 {
description
- "Version 1.6";
+ "Version 1.5";
}
+
grouping common-constraints-sp {
leaf-list SRLG {
type string;
}
}
-grouping ordered-constraints-sp {
+ grouping ordered-constraints-sp {
description
"";
container hop-type {
choice hop-type {
case SRLG {
leaf SRLG {
- type string; //to be clarified with topology model
+ type string;
+ //to be clarified with topology model
}
}
-
case clli {
leaf clli {
- type string; //to be clarified with topology model
+ type string;
+ //to be clarified with topology model
}
}
-
case node {
leaf node-id {
- type string; // to be clarified with topology model
+ type string;
+ // to be clarified with topology model
}
}
}
}
}
-
grouping diversity-existing-service-contraints-sp {
leaf-list existing-service {
type string;
}
}
}
+
grouping routing-constraints-sp {
container hard-constraints {
uses constraints-sp;
uses constraints-sp;
}
leaf pce-metric {
- type enumeration {
- enum hop-count;
- enum propagation-delay;
- enum TE-metric;
- enum IGP-metric;
- }
+ type enumeration {
+ enum hop-count;
+ enum propagation-delay;
+ enum TE-metric;
+ enum IGP-metric;
+ }
}
leaf locally-protected-links {
- type boolean;
- description "indicates whether it must use locally protected links or not";
+ type boolean;
+ description
+ "indicates whether it must use locally protected links or not";
}
}
container exclude_ {
uses common-constraints-sp;
leaf-list supporting-service-name {
+ type string;
description
"Supporting service(s) to exclude from this route.";
- type string;
}
leaf affinity {
- type uint32;
+ type uint32;
}
}
container include_ {
list ordered-hops {
- key hop-number;
- leaf hop-number {
- description
- "designates the id of the hop: node-id, SRLG-id, site-id";
- type uint16;
- }
- uses ordered-constraints-sp;
+ key "hop-number";
+ leaf hop-number {
+ type uint16;
+ description
+ "designates the id of the hop: node-id, SRLG-id, site-id";
+ }
+ uses ordered-constraints-sp;
}
-
}
container latency {
description
}
}
}
-
-
}