Skip to content

Commit

Permalink
isis policy metric type leafs fixed for action and condition
Browse files Browse the repository at this point in the history
  • Loading branch information
awebsters committed Nov 20, 2023
1 parent 1209baf commit bfe7f90
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions release/models/isis/openconfig-isis-policy.yang
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ module openconfig-isis-policy {
within it";
}

leaf match-route-type {
leaf match-metric-type {
type isis-types:metric-type;
description
"Matches the type of the route to redistribute to INTERNAL or EXTERNAL";
Expand Down Expand Up @@ -201,18 +201,10 @@ module openconfig-isis-policy {
}

leaf set-metric-type {
type isis-types:level-number;
status deprecated;
description
"Formerly this leaf sets the type of metric that is to be specified
when the set-metric leaf is specified. This leaf is DEPRECATED
due to being assigned the wrong type. Use set-route-type instead.";
}

leaf set-route-type {
type isis-types:metric-type;
description
"This leaf sets the type of metric.";
"This leaf sets the type of metric that is to be specified
when the set-metric leaf is specified";
}

leaf set-metric-style-type {
Expand Down

0 comments on commit bfe7f90

Please sign in to comment.