-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
EBGP underlay_as enhancements (#362)
- Loading branch information
Showing
9 changed files
with
136 additions
and
15 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
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
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
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
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,82 @@ | ||
# | ||
# VRF lite implementation with VLAN trunks, including ebgp peering between vrfs locally | ||
# | ||
# * h1 and h2 should be able to ping each other, as well as h3 and h4 | ||
# * h3 and h4 should be able to ping each other, as well as h1 and h2 | ||
# | ||
# A device has to support the following features to pass this test case: | ||
# | ||
# * Routed VLAN interfaces | ||
# * VRFs | ||
# * OSPF in VRFs | ||
# * BGP unnumbered using ipv6 lla | ||
# | ||
# Please note it might take a while for the lab to work due to | ||
# STP and OSPF setup phase | ||
# | ||
groups: | ||
routers: | ||
members: [ r1,r2,r3 ] | ||
module: [ vlan,vrf,ospf ] | ||
hosts: | ||
device: linux | ||
members: [ h1,h2,h3,h4 ] | ||
|
||
plugin: [ ebgp-local_as ] | ||
|
||
vrfs: | ||
red: | ||
blue: | ||
|
||
vlans: | ||
red: | ||
mode: route | ||
vrf: red | ||
blue: | ||
mode: route | ||
vrf: blue | ||
|
||
nodes: | ||
r1: | ||
r2: | ||
module: [ vlan,vrf,ospf,bgp ] | ||
bgp.as: 65000 | ||
r3: | ||
h1: | ||
h2: | ||
h3: | ||
h4: | ||
|
||
links: | ||
- r1: | ||
r2: | ||
vlan.trunk: [ red, blue ] | ||
- r2: | ||
r3: | ||
vlan.trunk: [ red, blue ] | ||
- interfaces: # VRF route leaking between red and blue on r2, using eBGP peering | ||
- node: r2 | ||
vrf: red | ||
ipv6: True | ||
ipv4: False | ||
bgp.underlay_as: 65001 | ||
# vlan.access: vrf-leak | ||
- node: r2 | ||
vrf: blue | ||
ipv6: True | ||
ipv4: False | ||
bgp.underlay_as: 65002 | ||
# vlan.access: vrf-leak | ||
role: external | ||
- h1: | ||
r1: | ||
vlan.access: red | ||
- h3: | ||
r1: | ||
vlan.access: blue | ||
- h2: | ||
r3: | ||
vlan.access: red | ||
- h4: | ||
r3: | ||
vlan.access: blue |
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
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
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
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