Skip to content

Implement authorized prefix routing #998

Closed

Description

@privateip

Parent: #992

Deliverable: prefix ownership and aggregate route publication integrated with the attachment and forwarding lifecycle, providing local and remote gVPC reachability.

Maintain exclusive grants within a gVPC while allowing overlaps across gVPCs. Publish reachability only for authorized prefixes with valid forwarding ownership and a ready attachment. Recover partial programming, withdraw expired contributions and preserve replacement routes. Keep prefix allocation lifetime separate from active forwarding reachability.

Work items:

  • Implement exclusive prefix grants, retention and release with conflict, retry and recovery tests.
  • Implement aggregate route publication gated by authorization, forwarding ownership and attachment readiness; verify local and remote packet delivery.
  • Implement route reconciliation and bounded withdrawal with partial-programming, stale-owner and replacement tests.

Dependencies: #995, #996, #997.

Acceptance: packet tests prove bidirectional reachability to multiple addresses within an authorized prefix from local and remote workloads. Tests reject conflicting grants and prove that stale publication or withdrawal cannot damage a replacement or unrelated route. Local withdrawal during provider failure and API isolation meets the defined bound; remote convergence is measured separately.

Activity

  1. added theissue type on Oct 22, 2026
  2. self-assigned this
    on Oct 23, 2026
  3. privateip commented on Oct 23, 2026

    @privateip
    ContributorAuthor

    #1051 implements this issue but does not close it. It covers exclusive prefix grants, route conflict checks against workload subnets, client pools and allocated addresses, route publication to the VPC, and a router that advertises an edge prefix only while its forwarding gate is open. Unit, real-kernel and Kind tests cover those.

    Three acceptance checks still need the lab, which waits on #1000 and #1002:

    • packet tests through real BGP to several addresses in an authorized prefix, from local and remote workloads
    • withdrawal by the route reflector within the hold time when a node's router stops
    • remote convergence, measured separately from local withdrawal

    This issue closes once those checks pass.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions