bgp: T2100: Changing RFC8212 behavior and option toggle #744
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In this commit we add the default operation within BGP
to have RFC8212 disabled for eBGP routes. This default
should preserve the normal behavior for VyOS from earlier
releases of FRR to the current latest release. Another
option that we add is the ability to toggle whether or
not RFC8212 is enabled or disabled.
Change Summary
This commit changes the default behavior for VyOS to match up to pre-FRR 7.4/7.5 functionality by
changing the RFC8212 operation that has been added to FRR 7.4/7.5. Now it is disabled by default
and allows for an option to enable this functionality by adding it within the parameters stanza. That is
the second portion of the commit is adding the ability to enable/disable RFC8212 functionality with
a command under parameters. Lastly, I added the smoketest for this so that it always gets tested.
Types of changes
Related Task(s)
T2100, T3183
Component(s) name
BGP
Proposed changes
Please see above. There's really not much more detail than this.
How to test
This was tested within a VyOS VM.
Normally configuring BGP without this option we see:
Enabling RFC8212 operation:
Deleting, and restoring default disabled RFC8212 operation:
Checklist:
BGP: T2100: Adding RFC8212 option toggle. vyos-documentation#463