-
Notifications
You must be signed in to change notification settings - Fork 705
Add hierarchical-fec bool leaf to static nexthop-group
#1497
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -22,7 +22,13 @@ module openconfig-network-instance-static { | |
| description | ||
| "Static configurations associated with a network instance"; | ||
|
|
||
| oc-ext:openconfig-version "0.2.1"; | ||
| oc-ext:openconfig-version "0.3.0"; | ||
|
|
||
| revision "2026-05-20" { | ||
| description | ||
| "Add hierarchical-fec leaf to static next-hop-group."; | ||
| reference "0.3.0"; | ||
| } | ||
|
|
||
| revision "2025-08-05" { | ||
| description | ||
|
|
@@ -149,6 +155,18 @@ module openconfig-network-instance-static { | |
| description | ||
| "A user defined name that uniquely identifies the next-hop-group."; | ||
| } | ||
|
|
||
| leaf hierarchical-fec { | ||
| type boolean; | ||
| description | ||
| "When set to true, the next-hop-group preserves its hierarchical | ||
| structure, with each next-hop entry explicitly pointing to the | ||
| resolving next-hop-group. This enables load-balancing of traffic | ||
| forwarded through each next-hop-group entry based on the | ||
| bandwidth of the resolving links. When set to false, the | ||
| next-hop-group contents are flattened, or a single next-hop is | ||
| selected from each referenced group."; | ||
|
Comment on lines
+161
to
+168
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The description for To enable the hierarchical behavior described, a leaf (e.g., |
||
| } | ||
| } | ||
|
|
||
| grouping static-nhg-next-hop { | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is recommended to provide a default value for boolean leaves in OpenConfig to ensure deterministic behavior when the leaf is not explicitly configured. Based on the description,
false(representing flattened behavior) appears to be the appropriate default for backward compatibility.