Repository navigation
virtual router: Apply BGP peer changes with frr-reload #14841
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: main
Are you sure you want to change the base?
Changes from all commits
128c3b6
61d0a93
ae2abd4
1142619
de985b2
18ec9c1
2d462d0
f87aa15
78a8859
b2e6b15
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -17,6 +17,8 @@ | |
| frr defaults traditional | ||
| hostname r-1001-VM | ||
| service integrated-vtysh-config | ||
| ip forwarding | ||
| ipv6 forwarding | ||
| ip nht resolve-via-default | ||
| ipv6 nht resolve-via-default | ||
| ip prefix-list all-v4 seq 1 permit any | ||
|
|
@@ -27,6 +29,8 @@ ip prefix-list local-v4 seq 1 permit 10.1.1.0/24 | |
| ipv6 prefix-list local-v6 seq 1 permit 2001:db8:100::/64 | ||
| router bgp 64512 | ||
| bgp router-id 100.64.0.10 | ||
| bgp ebgp-requires-policy | ||
| bgp network import-check | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. these 2 are enabled by default, no harmless to explicitly set both
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, both are on by default in 8.4.4. |
||
| bgp default ipv6-unicast | ||
| neighbor 100.64.0.1 remote-as 64496 | ||
| neighbor 2001:db8::1 remote-as 64496 | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -73,7 +73,7 @@ function install_packages() { | |
| haproxy \ | ||
| haveged \ | ||
| radvd \ | ||
| frr \ | ||
| frr frr-pythontools \ | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. just note, this requires the rebuild of systemvm template
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, noted in the description and I can see that the tagging has picked that up too which is nice. |
||
| sharutils genisoimage \ | ||
| strongswan libcharon-extra-plugins libstrongswan-extra-plugins strongswan-charon strongswan-starter \ | ||
| virt-what open-vm-tools qemu-guest-agent hyperv-daemons cloud-guest-utils \ | ||
|
|
||
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.
are these needed ?
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.
Yes, they're needed once changes go through frr-reload. zebra shows the kernel's forwarding state in the running config, so an IPv4-only router has no ipv6 forwarding there, and frr-reload deletes any running line the file doesn't state.
When I reloaded main's file unchanged on 8.4.4, net.ipv6.conf.all.forwarding went from 0 to 1.
The router already wrote the IPv6 line from the kernel's setting, and I've changed it to do the same for IPv4.
This fixture is just the dual-stack snapshot for test_full_frr_conf. The behaviour itself is covered by two new tests in TestCsBgpPeersFrr, test_operator_states_forwarding_off_from_kernel and ..._on_from_kernel.