Skip to content

[refactor] Remove bgp_conf_watcher dependency on pubsub#806

Open
aritrbas wants to merge 1 commit into
nsk-split-svcfrom
abasu-bgp-conf-watch-rem-pubsub
Open

[refactor] Remove bgp_conf_watcher dependency on pubsub#806
aritrbas wants to merge 1 commit into
nsk-split-svcfrom
abasu-bgp-conf-watch-rem-pubsub

Conversation

@aritrbas

@aritrbas aritrbas commented Oct 1, 2025

Copy link
Copy Markdown
Collaborator

Removed the dependency of BGPConfigurationWatcher on the pubsub infra so that we can remove pubsub altogether.

  • The BGPConfigurationWatcher now uses a Calico API watch and directly notifies the FelixServer on changes.
  • The pubsub event registration and handling for BGPConfChanged have been eliminated.
  • The FelixServer is now notified via a simple callback when the BGP configuration changes, but actual handling of the update is not implemented yet (we log and trigger a restart to ensure the system reloads configuration).

Made the changes on top of the nsk-split-svc branch for now, will rebase on top of master once those commits for single thread agent are merged.

@aritrbas aritrbas self-assigned this Oct 1, 2025
@sknat sknat added this to the agent refactoring single thread milestone Nov 17, 2025
@sknat sknat changed the title Remove bgp_conf_watcher dependency on pubsub [refactor] Remove bgp_conf_watcher dependency on pubsub Jan 7, 2026
Signed-off-by: Aritra Basu <aritrbas+gh@cisco.com>
@aritrbas aritrbas force-pushed the abasu-bgp-conf-watch-rem-pubsub branch from 6f5b0a4 to 15908f8 Compare May 20, 2026 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants