-
Notifications
You must be signed in to change notification settings - Fork 705
Isis ip reachability removal #1500
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
2de78bf
4e622fb
8446744
a685fed
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 |
|---|---|---|
|
|
@@ -20,7 +20,13 @@ submodule openconfig-isis-routing { | |
| description | ||
| "This module describes YANG model for ISIS Routing"; | ||
|
|
||
| oc-ext:openconfig-version "1.7.0"; | ||
| oc-ext:openconfig-version "1.8.0"; | ||
|
|
||
| revision "2026-05-23" { | ||
| description | ||
| "Add IP reachability suppression per global, level, and interface-level address family with inheritance."; | ||
| reference "1.8.0"; | ||
| } | ||
|
|
||
| revision "2024-02-28" { | ||
| description | ||
|
|
@@ -361,6 +367,7 @@ submodule openconfig-isis-routing { | |
| uses isis-metric-config; | ||
| uses rt-admin-config; | ||
| uses isis-ecmp-config; | ||
| uses isis-reachability-global-config; | ||
| } | ||
|
|
||
| container state { | ||
|
|
@@ -372,6 +379,7 @@ submodule openconfig-isis-routing { | |
| uses isis-metric-config; | ||
| uses rt-admin-config; | ||
| uses isis-ecmp-config; | ||
| uses isis-reachability-global-config; | ||
| } | ||
|
|
||
| uses isis-mt-list; | ||
|
|
@@ -412,6 +420,7 @@ submodule openconfig-isis-routing { | |
| uses isis-afi-safi-config; | ||
| uses isis-metric-config; | ||
| uses rt-admin-config; | ||
| uses isis-reachability-interface-config; | ||
| } | ||
|
|
||
| container state { | ||
|
|
@@ -421,6 +430,7 @@ submodule openconfig-isis-routing { | |
| uses isis-afi-safi-config; | ||
| uses isis-metric-config; | ||
| uses rt-admin-config; | ||
| uses isis-reachability-interface-config; | ||
| } | ||
|
|
||
| uses oc-sr:sr-igp-interface-top; | ||
|
|
@@ -533,4 +543,90 @@ submodule openconfig-isis-routing { | |
| } | ||
| } | ||
| } | ||
|
|
||
| grouping isis-reachability-global-config { | ||
| description | ||
| "Grouping defining reachability options for ISIS at the global context."; | ||
|
|
||
| leaf suppress-interface-ip { | ||
| type oc-isis-types:suppress-interface-ip-mode; | ||
| default "NONE"; | ||
| description | ||
| "Controls IP reachability (TLVs 135/235) advertisement for all | ||
| interfaces enabled for this address-family."; | ||
| } | ||
| } | ||
|
|
||
| grouping isis-reachability-level-config { | ||
| description | ||
| "Grouping defining reachability options for ISIS at the level context."; | ||
|
|
||
| leaf suppress-interface-ip { | ||
| type oc-isis-types:suppress-interface-ip-mode; | ||
| description | ||
| "Controls IP reachability (TLVs 135/235) advertisement for interfaces | ||
| enabled in this level. | ||
| If not specified, the value is inherited from the global level configuration."; | ||
|
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. |
||
| } | ||
| } | ||
|
|
||
| grouping isis-reachability-interface-config { | ||
| description | ||
| "Grouping defining reachability options for ISIS at the interface level context."; | ||
|
|
||
| leaf suppress { | ||
| type boolean; | ||
| description | ||
| "Controls IP reachability (TLVs 135/235) advertisement for this interface. | ||
| When set to true, advertisement of the interface's IP prefix is suppressed. | ||
| When set to false, advertisement of the interface's IP prefix is not suppressed. | ||
| If not specified, the behavior is inherited from the level or global configuration."; | ||
| } | ||
| } | ||
|
|
||
| grouping isis-level-afi-safi-list { | ||
| description | ||
| "This grouping defines address-family configuration and state | ||
| information per level."; | ||
|
|
||
| list af { | ||
| key "afi-name safi-name"; | ||
|
|
||
| description | ||
| "Address-family/Subsequent Address-family list per level."; | ||
|
|
||
| leaf afi-name { | ||
| type leafref { | ||
| path "../config/afi-name"; | ||
| } | ||
| description | ||
| "Reference to address-family type"; | ||
| } | ||
|
|
||
| leaf safi-name { | ||
| type leafref { | ||
| path "../config/safi-name"; | ||
| } | ||
| description | ||
| "Reference to subsequent address-family type"; | ||
| } | ||
|
|
||
| container config { | ||
| description | ||
| "This container defines AFI-SAFI configuration parameters per level."; | ||
|
|
||
| uses isis-afi-safi-config; | ||
| uses isis-reachability-level-config; | ||
|
Comment on lines
+618
to
+619
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 new afi-safi list at the level context is missing standard configuration leaves such as metric and enabled, which are present in other AFI-SAFI lists in this module. Adding these would ensure consistency and allow for level-specific overrides of these parameters. |
||
| } | ||
|
|
||
| container state { | ||
| config false; | ||
| description | ||
| "This container defines AFI-SAFI state information per level."; | ||
|
|
||
| uses isis-afi-safi-config; | ||
| uses isis-reachability-level-config; | ||
|
Comment on lines
+627
to
+628
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. |
||
| } | ||
| } | ||
| } | ||
| } | ||
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.
The implementation adds the suppress leaf to isis-if-afi-safi-list, which corresponds to the path /isis/interfaces/interface/levels/level/afi-safi. However, the PR description and tree view (point 3) specify the path /isis/interfaces/interface/afi-safi. To align with the description and provide a global interface override, this leaf should also be added to isis-if-global-afi-safi-list.