Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ router pim sparse-mode
rp address 10.0.0.0 239.0.0.0/24 override
!
vrf instance vrf1
vrf instance vrf2
ip routing
ip routing vrf vrf1
ip routing vrf vrf2
!
ntp server 0.pool.ntp.org
ntp server 1.pool.ntp.org
Expand Down Expand Up @@ -92,7 +94,7 @@ interface Tunnel500
interface Tunnel501
description USER-UCAST-501
ip access-group SEC-USER-501-IN in
vrf vrf1
vrf vrf2
mtu 9216
ip address 169.254.0.2/31
tunnel mode gre
Expand All @@ -105,7 +107,7 @@ interface Tunnel501
interface Tunnel502
description USER-UCAST-502
ip access-group SEC-USER-502-IN in
vrf vrf1
vrf vrf2
mtu 9216
ip address 169.254.0.4/31
tunnel mode gre
Expand All @@ -125,6 +127,8 @@ router bgp 65342
!
vrf vrf1
no neighbor 169.254.0.7
vrf vrf2
no neighbor 169.254.0.7
!
router bgp 65342
router-id 14.14.14.14
Expand All @@ -148,6 +152,11 @@ router bgp 65342
neighbor 169.254.0.1 route-map RM-USER-500-OUT out
neighbor 169.254.0.1 maximum-routes 1
neighbor 169.254.0.1 maximum-accepted-routes 1
vrf vrf2
rd 65342:2
route-target import vpn-ipv4 65342:2
route-target export vpn-ipv4 65342:2
router-id 7.7.7.7
no neighbor 169.254.0.3
neighbor 169.254.0.3 remote-as 65000
neighbor 169.254.0.3 local-as 21682 no-prepend replace-as
Expand Down
6 changes: 3 additions & 3 deletions controlplane/controller/internal/controller/render_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func TestRenderConfig(t *testing.T) {
MulticastGroupBlock: "239.0.0.0/24",
TelemetryTWAMPListenPort: 862,
LocalASN: 21682,
UnicastVrfs: []uint16{1},
UnicastVrfs: []uint16{1, 2},
Device: &Device{
Interfaces: []Interface{},
PublicIP: net.IP{7, 7, 7, 7},
Expand Down Expand Up @@ -113,7 +113,7 @@ func TestRenderConfig(t *testing.T) {
OverlayDstIP: net.IP{169, 254, 0, 3},
DzIp: net.IP{100, 0, 0, 1},
Allocated: true,
VrfId: 1,
VrfId: 2,
MetroRouting: true,
},
{
Expand All @@ -124,7 +124,7 @@ func TestRenderConfig(t *testing.T) {
OverlayDstIP: net.IP{169, 254, 0, 5},
DzIp: net.IP{100, 0, 0, 2},
Allocated: true,
VrfId: 1,
VrfId: 2,
MetroRouting: true,
},
},
Expand Down