-
Notifications
You must be signed in to change notification settings - Fork 10
Loopback node-segment template and startup migration check #3352
Copy link
Copy link
Open
Milestone
Description
Add flex-algo node-segment lines to loopback template, one per entry in flex_algo_node_segments. Conditional on FlexAlgoNodeSegments being non-empty — if empty, only the algo-0 node-segment line is rendered.
Controller MUST check at startup with enabled: true that no Vpnv4 loopback has an empty flex_algo_node_segments list. If any are found, enabled: true MUST be treated as a no-op for that startup cycle — no flex-algo config pushed to any device. Controller MUST emit a prominent error identifying unset loopbacks by pubkey and direct the operator to run the migration command.
Milestone: RFC-18: Controller — Topology Config
RFC: #3288
Files affected:
controlplane/controller/internal/controller/(loopback template, startup check)
Size: Small
Tests:
- Loopback with
flex_algo_node_segmentsentries renders onenode-segment ... flex-algo <name>line per entry - Loopback with empty
flex_algo_node_segmentsproduces only the algo-0node-segmentline - Startup check fires and emits correct error when any Vpnv4 loopback has empty list
- Startup check passes and flex-algo config is applied when all loopbacks are migrated
Blockers: #3351 (IS-IS TE templates), #3349 (migration command)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels