Repository navigation
Conversation
gboutry
force-pushed
the
feat/ndr
branch
3 times, most recently
from
November 25, 2026 10:48
b02b1c8 to
cd3f56c
Compare
Stage the DR agent and shared Pebble supervisor. Use the published NDR placement contract to validate configuration. Render private agent config from a packaged Jinja template and recover interrupted updates from saved and live services. Expose rotating per-agent logs through a read-only snap content slot. Stage Hibiscus packages from the updates pocket. Assisted-By: Codex (gpt-6.2-sol) Signed-off-by: Guillaume Boutry <guillaume.boutry@canonical.com>
Resolve typed attachment options against live OVS and kernel state. Install nftables protection before creating managed access ports and verify protection before starting a peering agent. Assisted-By: Codex (gpt-6.2-sol) Signed-off-by: Guillaume Boutry <guillaume.boutry@canonical.com>
3 tasks
Validate pending settings before applying OVN changes. Schedule the watcher after OVN configuration succeeds and reconcile committed placement under a lock. Restore missing managed ports, and stop agents before removing their host protection. Recover abandoned Pebble sockets and quarantine invalid NDR layers so the watcher can rebuild from committed placement. Stop an NDR-only supervisor on explicit disable and preserve shared workloads. Expose the v1 validation response using the shared contract. Cover placement validation, supervisor recovery, and cleanup with tests. Assisted-By: Codex (gpt-6.2-sol) Signed-off-by: Guillaume Boutry <guillaume.boutry@canonical.com>
hemanthnakkina
approved these changes
Nov 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Package the Neutron Dynamic Routing (NDR) agent so Sunbeam can run a BGP speaker per node and routing domain. NDR is opt-in and runs under a shared Pebble supervisor, with separate configuration and state for each agent.
The snap supports dedicated uplinks and tagged OVS ports on provider trunks. The paired network-agents charm asks the snap to prepare protected ports before applying Netplan. The snap starts agents only after their peering addresses are ready. If an uplink disappears, it pauses the affected agent. If AMQP credentials are removed, it stops the agents and retains placement for recovery.
Assisted-By: Codex (gpt-6)
QA steps
tox -e unit,mypy,pep8. All 94 snap unit tests passed, along with mypy and lint. The paired charm passed 49 unit tests.A repacked QA snap passed the snapd rollback and stale-socket cleanup checks. A separate test with real Pebble verified recovery from an interrupted layer write. The branch build and live BGP checks above are pending.
Links
Jira card: OPEN-4984