-
Notifications
You must be signed in to change notification settings - Fork 656
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
Add enabled leaf into isis multi-topology config #1207
base: master
Are you sure you want to change the base?
Conversation
/gcbrun |
No major YANG version changes in commit 2a3e9e5 |
/gcbrun |
/gcbrun |
/gcbrun |
Hi @xandrorel , We reviewed this in the Oct 29, 2024 OC operators meeting. It seems the intent of the current OC model is configuring the ISIS afi/safi implies enabling single topology. ie: If one configures the ISIS multitopology afi/safi, then multi-topology is implicitly enabled. This seems "roughly" aligned with the vendor CLI references provided. In each case, there is a configuration for the multitopology and the address family. If configured, it is in use. Is there any operational use case to configure multi-topology and have it disabled? (as is the case for things like interfaces and bgp sessions). @s19nal pointed out that the existing model might be more elegant if there was a boolean for multi-topology inside the container |
Adding the enabled leaf will not add any new functionality but it will make the YANG tree consistent with the state container. The current tree already looks weird with |
Ugh, you are correct, there is redundancy in this (git blame shows it goes all the way back to the original model 8 years ago). I also see the point that the state leaf for enabled already exists which is inconsistent with the config container. The problem with introducing this enabled leaf is that it is probably in effect, a breaking change. If a existing config doesn't specify this leaf and a device OS update is performed to a new OC release which has this leaf, what will the behavior be? It is ambiguous. If we leave things as is, it seems clear that if
are not present, then multi-topology is not enabled. |
Change Scope
This change adds a leaf node to enable isis multi-topology configuration. For some reason the
enabled
leaf node was not defined under config and some implementations use proprietary leaf nodes to enable isis multi-topology.Platform Implementations
Juniper ISIS multi-topology reference
Arista ISIS config guide
Cisco IOS XR config guide
In Cisco IOS XR isis multi-topology is enabled by default. It can be disabled by
single-topology
command.