-
Notifications
You must be signed in to change notification settings - Fork 657
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
enabling support for multiple protocol instances in redistribution #1114
base: master
Are you sure you want to change the base?
enabling support for multiple protocol instances in redistribution #1114
Conversation
redistribution
Instead of refactoring tables and table-connections, how about deprecating both of those completely and introducing a new tree It could look like that you have proposed. I would say since we are using src-instance-name, we no longer need the protocol leaf. A protocols/protocol/config/name will only be one protocol. (no longer a table concept with multiple protocols possible). ie:
WDYT? |
|
+1 on deprecating /network-instances/network-instance/tables. As configuration objects they serve no purpose other than anchoring the endpoints of a table connection, and surely there are simpler ways to accomplish this, especially in light of trying to redistribute routes of a particular protocol instance. If the configuration of these tables is supposed to be added automatically by the system (and protected from delete), what happens when there is a replace-from-root type operation? If the tables were state only I would have less objection, but that breaks their utility as a leaf-ref target and takes us back to square one of just using a simpler way to define a table connection. |
In this proposal, table-connections KEYs are leaf-ref to '/protocol/protocols/' directly. Not to fables as it was previously. |
/gcbrun |
No major YANG version changes in commit d74af9c |
I refactored it quite heavly, following off-line discussion. Please see PR description. |
This does support the operational use case to redistribute routes between two network instances, which the current model does not (at least, not as far I can determine). So I am in favor of making this change. I'd like to ask the community for more feedback. Adding this to the November 2024 openconfig community meeting. |
/gcbrun |
Correction: This does support the operational use case to redistribute routes between two protocol instances (of potentially the same protocol like BGP) within the same network-instance. However main use case is to support cases when protocol instance name is different than "DEFAULT". |
This was presented at the Nov 7, 2024 OC Community meeting to create more visibility. We'd like to see comments from the community on this proposal. |
/gcbrun |
Enable support for source and desination instance of respective protocol.
/network-instances/network-instance/tables/
and/network-instances/network-instance/table-connections/
. Hence this change is breaking./network-instances/network-instance/route-redistributions
. It is similar in concepts and structure to deprecated table-connections, but:Cisco XR