-
Notifications
You must be signed in to change notification settings - Fork 9
Description
End-to-end rollout of flex-algo to testnet using a dummy color and a small set of links. Must be completed and signed off before any production deployment.
Milestone: RFC-18: Migration & Testnet Rollout
RFC: #3288
Size: Large
Pre-requisites:
- Migration command deployed and verified
- Controller
features.yamlstaged withenabled: false - All Vpnv4 loopbacks confirmed migrated
Test plan:
-
Run migration —
doublezero-admin migrate flex-algo-node-segments. Verify every Vpnv4 loopback hasflex_algo_node_segment_idxset. Verify no existingnode_segment_idxvalues changed. -
Create UNICAST-DEFAULT color — Verify
LinkColorInfoPDA created with bit 0, flex-algo 128, EOS color 1. Verify controller generates no device config (enabled: false). -
Create dummy test color —
test-dummy, constraint include-any. Verify bit 1, flex-algo 129, EOS color 2. Will be deleted at end of plan. -
Tag a small set of links — Select 2–3 testnet links forming a connected path. Tag with UNICAST-DEFAULT. Verify
link_colors[0]set onchain. Verify no device config yet. -
Enable topology config only — Set
enabled: true,community_stamping.all: false. Restart controller. Verifyshow traffic-engineering administrative-groupshowsUNICAST-DEFAULT group 0on tagged devices. Verifyshow isis flex-algoshows algo 128 with only tagged links. Verifyshow tunnel rib system-colored-tunnel-rib briefshows (endpoint, color 1) entries. -
Verify multicast unaffected — Verify PIM RPF paths unchanged. Verify RPF resolving via algo 0 (all links).
-
Enable stamping on a single test tenant — Set
community_stamping.tenants: [<test-tenant-pubkey>]. Restart. VerifyRM-USER-<test-tenant>-INcontainsset extcommunity color 1. Verify VPN-IPv4 routes carryColor:CO(00):1. Verify next-hop resolves via color 1 tunnel. Verify other tenants have no color community. -
Enable stamping for all tenants — Set
community_stamping.all: true. Restart. Verify all unicast tenant route-maps containset extcommunity color 1. Verify multicast unaffected. -
Test deletion and revert — Clear and delete
test-dummy. Verify alias and flex-algo 129 removed from all devices. Verify admin-group bit 1 not reused on next create. -
Full revert — Set
enabled: false. Restart. Verifyno router traffic-engineeringon all devices. Verify no flex-algo IS-IS config. Verify noset extcommunity colorin any route-map. Verify traffic continues normally.
Sign-off: All 10 steps pass with no traffic disruption before proceeding to production.
Blockers: All previous milestones complete and passing