Skip to content

feat: support multi VPCs#5

Merged
edipascale merged 1 commit intomasterfrom
ema/multi-vpcs
Feb 4, 2026
Merged

feat: support multi VPCs#5
edipascale merged 1 commit intomasterfrom
ema/multi-vpcs

Conversation

@edipascale
Copy link
Collaborator

VIPs and interfaces are now associated with a VPC, which is just a string identifier. prefixes are only advertised to neighbors within one VPC, filtering is done via route-maps.

vlan support was also added, vlan interface will automatically be created.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces multi-VPC support to the host-based BGP routing configuration script. VIPs and interfaces are now associated with VPC identifiers, and BGP prefixes are filtered per VPC using route-maps. The PR also adds VLAN support with automatic interface creation.

Changes:

  • Rewrote argument parsing to support VPC-based configuration format with VLAN, interface, and address specifications
  • Added VLAN interface creation logic with automatic naming (interface.vlan)
  • Implemented route-map and prefix-list generation for per-VPC BGP filtering

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 3 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

VIPs and interfaces are now associated with a VPC, which is
just a string identifier. prefixes are only advertised to
neighbors within one VPC, filtering is done via route-maps.

vlan support was also added, vlan interface will automatically
be created.

Signed-off-by: Emanuele Di Pascale <emanuele@githedgehog.com>
@edipascale edipascale marked this pull request as ready for review February 4, 2026 07:41
@edipascale edipascale merged commit 8b03997 into master Feb 4, 2026
1 check passed
@edipascale edipascale deleted the ema/multi-vpcs branch February 4, 2026 07:42
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.

1 participant