Skip to content
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

CLI: Added line permutation check for file loaded config #17693

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ykholod
Copy link

@ykholod ykholod commented Dec 20, 2024

Sometimes instructions in the loaded config does not match the same instructions in the running config. In this case frr-reload.py removes the line.
For example:
pppoe-server(config-vrf)# ip route 10.0.0.0/8 blackhole tag 220 250 pppoe-server(config-vrf)# ip route 10.0.0.0/8 blackhole 250 tag 220

This leads to config loss and unpredictable FRR functionality.

Sometimes instructions in the loaded config does not match
the same instructions in the running config. In this case
frr-reload.py removes the line.
For example:
pppoe-server(config-vrf)# ip route 10.0.0.0/8 blackhole tag 220 250
pppoe-server(config-vrf)# ip route 10.0.0.0/8 blackhole 250 tag 220

This leads to config loss and unpredictable FRR functionality.

Signed-off-by: Yaroslav Kholod <[email protected]>
@ykholod
Copy link
Author

ykholod commented Dec 23, 2024

Is there anything wrong with the PR? I believe related issue is important -- #17606

I am open to the discussion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant