-
Couldn't load subscription status.
- Fork 391
T7896: Add frr profile selection #4810
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: current
Are you sure you want to change the base?
Conversation
|
👍 |
|
All contributors have signed the CLA ✍️ ✅ |
|
I have read the CLA Document and I hereby sign the CLA |
e66b81c to
219bab8
Compare
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.
Add ability to set the datacenter profile to FRR
|
Unfortunately I will need to modify a bit more deeply the code. If the profile is set in |
54c39a5 to
038481d
Compare
|
@bl0way you can - of course - also build the The execute the smoketests locally as described in https://docs.vyos.io/en/latest/contributing/testing.html#smoketests so in your case if you are unaware of this feature |
|
Please also squash all existing commits. Update commit message with CLI example how to sue this addition. |
471df28 to
6cffa6b
Compare
6cffa6b to
5c0d8a4
Compare
|
I implemented your suggestions and fixed the failing test (tested locally), so it should be all clear now, I hope. I apologize for the spam that this PR created, and I appreciate the patience that you are taking to review and guide me through this PR. I understand better the internal logic, and I hope I will be able to contribute more in the future. |
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.
Add ability to configure the datacenter profile
vyos@r14# set system frr profile datacenter
[edit]
vyos@r14# commit
[ system frr ]
WARNING: You need to reboot the router (preferred) or restart FRR to
apply changes in modules settings
[edit]
vyos@r14# run restart all
WARNING: This is a potentially unsafe function!
You may lose the connection to the router or active configuration after
running this command. Use it at your own risk!
Continue? [y/N] y
[6928|mgmtd] sending configuration
[6929|zebra] sending configuration
[6930|ripd] sending configuration
[6931|ripngd] sending configuration
[6929|zebra] done
[6930|ripd] done
[6935|bgpd] sending configuration
[6933|ospf6d] sending configuration
[6936|isisd] sending configuration
[6934|ldpd] sending configuration
[6932|ospfd] sending configuration
[6938|nhrpd] sending configuration
[6940|babeld] sending configuration
[6931|ripngd] done
[6932|ospfd] done
[6934|ldpd] done
[6928|mgmtd] done
[6933|ospf6d] done
[6935|bgpd] done
[6936|isisd] done
Waiting for children to finish applying config...
[6938|nhrpd] done
[6949|pim6d] sending configuration
[6942|fabricd] sending configuration
[6943|watchfrr] sending configuration
[6945|staticd] sending configuration
[6940|babeld] done
[6946|bfdd] sending configuration
[6949|pim6d] done
[6942|fabricd] done
[6943|watchfrr] done
[6945|staticd] done
[6946|bfdd] done
[edit]
vyos@r14#
[edit]
vyos@r14# ps ax | grep frr
1375 ? S<s 0:11 /usr/lib/frr/watchfrr -d -F traditional zebra mgmtd bgpd ripd ripngd ospfd ospf6d isisd babeld pim6d ldpd nhrpd staticd bfdd fabricd
6869 ? Ssl 0:00 /usr/lib/frr/zebra -d -F datacenter --daemon -A 127.0.0.1 -s 90000000
6874 ? Ss 0:00 /usr/lib/frr/mgmtd -d -F datacenter --daemon -A 127.0.0.1
6876 ? Ssl 0:00 /usr/lib/frr/bgpd -d -F datacenter --daemon -A 127.0.0.1 -M rpki
6883 ? Ss 0:00 /usr/lib/frr/ripd -d -F datacenter --daemon -A 127.0.0.1
6886 ? Ss 0:00 /usr/lib/frr/ripngd -d -F datacenter --daemon -A ::1
6889 ? Ss 0:00 /usr/lib/frr/ospfd -d -F datacenter --daemon -A 127.0.0.1
6892 ? Ss 0:00 /usr/lib/frr/ospf6d -d -F datacenter --daemon -A ::1
6895 ? Ss 0:00 /usr/lib/frr/isisd -d -F datacenter --daemon -A 127.0.0.1
6898 ? Ss 0:00 /usr/lib/frr/babeld -d -F datacenter --daemon -A 127.0.0.1
6901 ? Ss 0:00 /usr/lib/frr/pim6d -d -F datacenter --daemon -A ::1
6906 ? S 0:00 /usr/lib/frr/ldpd -L -u frr -g frr
6907 ? S 0:00 /usr/lib/frr/ldpd -E -u frr -g frr
6909 ? Ss 0:00 /usr/lib/frr/ldpd -d -F datacenter --daemon -A 127.0.0.1
6913 ? Ss 0:00 /usr/lib/frr/nhrpd -d -F datacenter --daemon -A 127.0.0.1
6917 ? Ss 0:00 /usr/lib/frr/staticd -d -F datacenter --daemon -A 127.0.0.1
6922 ? Ss 0:00 /usr/lib/frr/bfdd -d -F datacenter --daemon -A 127.0.0.1
6925 ? Ss 0:00 /usr/lib/frr/fabricd -d -F datacenter --daemon -A 127.0.0.1
6976 pts/0 S+ 0:00 grep frr
[edit]
vyos@r14#
[edit]
vyos@r14# cat /etc/fr
freeipmi/ frr/
[edit]
vyos@r14# cat /etc/frr/daemons | grep profil
frr_profile="datacenter"
[edit]
vyos@r14#
By default traditional
vyos@r14# delete system frr
[edit]
vyos@r14# commit
[ system frr ]
WARNING: You need to reboot the router (preferred) or restart FRR to
apply changes in modules settings
[edit]
vyos@r14# cat /etc/frr/daemons | grep profil
frr_profile="traditional"
[edit]
vyos@r14#
|
CI integration 👍 passed! Details
|
Change summary
Add the possibility to change FRR profiles between
traditionalanddatacenteraccordingly to the official FRR documentationTypes of changes
Related Task(s)
https://vyos.dev/T7896
Related PR(s)
How to test / Smoketest result
Checklist: