-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6096 from pjdruddy/vxlan_evpn_topo_test
tests: add basic topotest for VXLAN EVPN
- Loading branch information
Showing
19 changed files
with
389 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
! | ||
router ospf | ||
network 10.20.0.0/16 area 0 | ||
network 10.20.20.20/32 area 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
! | ||
interface lo | ||
ip address 10.20.20.20/32 | ||
interface P1-eth0 | ||
ip address 10.20.1.2/24 | ||
interface P1-eth1 | ||
ip address 10.20.2.2/24 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
router bgp 65000 | ||
bgp router-id 10.10.10.10 | ||
no bgp default ipv4-unicast | ||
neighbor 10.30.30.30 remote-as 65000 | ||
neighbor 10.30.30.30 ebgp-multihop 2 | ||
neighbor 10.30.30.30 update-source lo | ||
neighbor 10.30.30.30 capability extended-nexthop | ||
address-family l2vpn evpn | ||
neighbor 10.30.30.30 activate | ||
advertise-all-vni |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"vni":101, | ||
"type":"L2", | ||
"vrf":"default", | ||
"vxlanInterface":"vxlan101", | ||
"ifindex":5, | ||
"vtepIp":"10.10.10.10", | ||
"mcastGroup":"0.0.0.0", | ||
"advertiseGatewayMacip":"No", | ||
"numMacs":5, | ||
"numArpNd":2, | ||
"numRemoteVteps":[ | ||
"10.30.30.30" | ||
] | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
! | ||
router ospf | ||
network 10.20.0.0/16 area 0 | ||
network 10.10.10.10/32 area 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
! | ||
log file zebra.log | ||
! | ||
interface lo | ||
ip address 10.10.10.10/32 | ||
interface PE1-eth0 | ||
ip address 10.10.1.1/24 | ||
interface PE1-eth1 | ||
ip address 10.20.1.1/24 | ||
! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
router bgp 65000 | ||
bgp router-id 10.30.30.30 | ||
no bgp default ipv4-unicast | ||
neighbor 10.10.10.10 remote-as 65000 | ||
neighbor 10.10.10.10 ebgp-multihop 2 | ||
neighbor 10.10.10.10 update-source lo | ||
neighbor 10.10.10.10 capability extended-nexthop | ||
! | ||
address-family l2vpn evpn | ||
neighbor 10.10.10.10 activate | ||
advertise-all-vni |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"vni":101, | ||
"type":"L2", | ||
"vrf":"default", | ||
"vxlanInterface":"vxlan101", | ||
"ifindex":5, | ||
"vtepIp":"10.30.30.30", | ||
"mcastGroup":"0.0.0.0", | ||
"advertiseGatewayMacip":"No", | ||
"numMacs":5, | ||
"numArpNd":2, | ||
"numRemoteVteps":[ | ||
"10.10.10.10" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
! | ||
router ospf | ||
network 10.20.0.0/16 area 0 | ||
network 10.30.30.30/32 area 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
! | ||
interface lo | ||
ip address 10.30.30.30/32 | ||
interface PE2-eth0 | ||
ip address 10.20.2.3/24 | ||
interface PE2-eth1 | ||
ip address 10.10.1.3/24 | ||
! |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
! | ||
int host1-eth0 | ||
ip address 10.10.1.55/24 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
! | ||
interface host2-eth0 | ||
ip address 10.10.1.56/24 |
Oops, something went wrong.