Skip to content

Commit

Permalink
[agent] enable default originate for vpc to ext peering with loop
Browse files Browse the repository at this point in the history
  • Loading branch information
Frostman committed Dec 19, 2023
1 parent 3b55626 commit 2aad33b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/agent/dozer/bcm/plan.go
Original file line number Diff line number Diff line change
Expand Up @@ -1638,6 +1638,8 @@ func planExternalPeerings(agent *agentapi.Agent, spec *dozer.Spec) error {
Egress: stringPtr(ipnsEgressAccessList(external.IPv4Namespace)),
}

spec.VRFs[vpcVrf].BGP.L2VPNEVPN.DefaultOriginateIPv4 = boolPtr(true)

for _, subnetName := range peering.Permit.VPC.Subnets {
subnet, exists := vpc.Subnets[subnetName]
if !exists {
Expand Down

0 comments on commit 2aad33b

Please sign in to comment.