Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

isis policy metric type leafs fixed for action and condition #989

Merged
merged 6 commits into from
Dec 26, 2023
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 17 additions & 7 deletions release/models/isis/openconfig-isis-policy.yang
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,13 @@ module openconfig-isis-policy {
It augments the base routing-policy module with BGP-specific
options for conditions and actions.";

oc-ext:openconfig-version "0.7.0";
oc-ext:openconfig-version "0.8.0";

revision "2023-11-02" {
description
"Fixing metric type leafs for action and condition branches.";
reference "0.8.0";
}

revision "2023-04-28" {
description
Expand Down Expand Up @@ -151,10 +157,10 @@ module openconfig-isis-policy {
within it";
}

leaf set-metric-type {
leaf match-route-type {
awebsters marked this conversation as resolved.
Show resolved Hide resolved
type isis-types:metric-type;
description
"Set the type of the route to redistribute to INTERNAL or EXTERNAL";
"Matches the type of the route to redistribute to INTERNAL or EXTERNAL";
}
}

Expand Down Expand Up @@ -200,15 +206,19 @@ module openconfig-isis-policy {
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-metric-style-type
instead.";
due to being assigned the wrong type. Use set-route-type instead.";
}

leaf set-route-type {
awebsters marked this conversation as resolved.
Show resolved Hide resolved
type isis-types:metric-type;
description
"This leaf sets the type of metric.";
}

leaf set-metric-style-type {
type isis-types:metric-style;
description
"Set the type of metric that is to be specified when the
set metric leaf is specified";
"Set the style of the metric";
}

leaf set-metric {
Expand Down