Skip to content

Commit

Permalink
Addressed issue #214
Browse files Browse the repository at this point in the history
  • Loading branch information
tsaad-net committed Jun 9, 2023
1 parent a70dd24 commit 48ade70
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 9 deletions.
1 change: 1 addition & 0 deletions ietf-te-all.tree
Original file line number Diff line number Diff line change
Expand Up @@ -1052,6 +1052,7 @@ module: ietf-te
| | +--rw lockdown? empty
| | +--ro path-scope? identityref
| | +--rw preference? uint8
| | +--rw secondary-reverse-path? leafref
| | +--rw association-objects
| | | +--rw association-object* [association-key]
| | | | +--rw association-key string
Expand Down
27 changes: 18 additions & 9 deletions ietf-te.yang
Original file line number Diff line number Diff line change
Expand Up @@ -964,20 +964,20 @@ module ietf-te {
paths from the full set of secondary reverse paths
which may be used for this primary path.";
list candidate-secondary-reverse-path {
key "secondary-path";
key "secondary-reverse-path";
ordered-by user;
description
"List of candidate secondary reverse path(s)";
leaf secondary-path {
leaf secondary-reverse-path {
type leafref {
path "../../../../../../"
+ "te:secondary-reverse-paths/"
+ "te:secondary-reverse-path/te:name";
}
description
"A reference to the secondary reverse path that
should be utilised when the containing primary
reverse path option is in use.";
may be utilised when the containing primary
reverse path is in use.";
}
leaf active {
type boolean;
Expand All @@ -994,13 +994,13 @@ module ietf-te {
"The set of candidate secondary paths which may be
used for this primary path. When secondary paths are
specified in the list the path of the secondary LSP
in use must be restricted to those path options
in use must be restricted to those paths
referenced.
The priority of the secondary paths is specified
within the list. Higher priority values are less
preferred - that is to say that a path with priority
0 is the most preferred path. In the case that the
list is empty, any secondary path option may be
list is empty, any secondary path may be
utilised when the current primary path is in use.";
list candidate-secondary-path {
key "secondary-path";
Expand All @@ -1014,9 +1014,8 @@ module ietf-te {
+ "te:secondary-path/te:name";
}
description
"A reference to the secondary path that should be
utilised when the containing primary path option
is
"A reference to the secondary path that may be
utilised when the containing primary path is
in use.";
}
leaf active {
Expand Down Expand Up @@ -1048,6 +1047,16 @@ module ietf-te {
"Specifies a preference for this path. The lower the
number higher the preference.";
}
leaf secondary-reverse-path {
type leafref {
path "../../../"
+ "te:secondary-reverse-paths/"
+ "te:secondary-reverse-path/te:name";
}
description
"A reference to the secondary reverse path that
may be utilised when the secondary path is in use.";

This comment has been minimized.

Copy link
@tsaad-dev

tsaad-dev Jun 16, 2023

Owner

Assign to Italo to suggest a new description

}
uses path-compute-info;
uses protection-restoration-properties;
uses path-state;
Expand Down

0 comments on commit 48ade70

Please sign in to comment.