-
Notifications
You must be signed in to change notification settings - Fork 940
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
lxd/bgp: Rework start/stop logic (from Incus) #15173
Conversation
Signed-off-by: Nikita Mezhenskyi <[email protected]>
5fd468f
to
74d89ab
Compare
This simplifies the BGP package a bit and improves on the ability to reconfigure it. The go-bgp ability to start/stop the daemon doesn't work reliably, so we need to spawn a completely new listener instead. This moves Start/Stop interactions to the main Reconfigure option and makes sure to always feed all peers and prefixes on startup. Signed-off-by: Stéphane Graber <[email protected]> (cherry picked from commit 6a0d0137735c260b5872e27c7d94720e8d989228) Signed-off-by: Nikita Mezhenskyi <[email protected]> License: Apache-2.0
74d89ab
to
f44d87f
Compare
Signed-off-by: Nikita Mezhenskyi <[email protected]>
Signed-off-by: Nikita Mezhenskyi <[email protected]>
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.
For future reference @nmezhenskyi we would want any corrections from code reviews to be rebased into the original commit not appended to the PR as an additional commit.
Thansk! |
@nmezhenskyi please update the cherry-pick doc, ta |
@nmezhenskyi please can you include lxc/incus#1805 too |
Includes cherry-pick from lxc/incus#1761.
Changes: