Repository navigation
Expand file tree
/
Copy path04-vxlan-central-routing.yml
More file actions
106 lines (93 loc) · 2.28 KB
/
Copy path04-vxlan-central-routing.yml
File metadata and controls
106 lines (93 loc) · 2.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
---
message: |
The devices under test are a layer-2 leaf and a spine performing centralized
routing.
All hosts should be able to ping each other and all switch loopback IPs
Please note it might take a while for the lab to work due to STP learning
phase.
defaults.sources.extra: [ ../wait_times.yml, ../warnings.yml ]
plugin: [ fix_mtu ]
module: [ vlan, vxlan, vrf, ospf, bgp, evpn ]
groups:
_auto_create: True
hosts:
members: [ h1, h2, h3, h4 ]
device: linux
provider: clab
switches:
members: [ dut_l1, l2, dut_spine ]
bgp.as: 65000
vrfs:
customer:
vlans:
red:
vrf: customer
mode: bridge
blue:
vrf: customer
mode: bridge
core:
members: [ dut_spine ]
vlans:
red:
mode: irb
blue:
mode: irb
bgp.rr: True
x_switches:
members: [ l2 ]
device: frr
provider: clab
vlans:
red:
role: external
links: [ dut_l1-h1, l2-h2 ]
blue:
role: external
links: [ dut_l1-h3, l2-h4 ]
links:
- dut_l1:
dut_spine:
mtu: 1600
- l2:
dut_spine:
mtu: 1600
validate:
ospf_spine:
description: Check OSPF adjacencies with spine
wait: ospfv2_adj_p2p
nodes: [ l2 ]
wait_msg: Waiting for OSPF adjacency process to complete
plugin: ospf_neighbor(nodes.dut_spine.ospf.router_id)
stop_on_error: True
ibgp_spine:
description: Check IBGP adjacencies with spine
wait: ibgp_session
nodes: [ l2 ]
wait_msg: Waiting for IGBP session
plugin: bgp_neighbor(node.bgp.neighbors,'dut_spine')
stop_on_error: True
ping_red:
description: Intra-VLAN ping-based reachability test (red)
wait_msg: Waiting for STP to wake up
wait: ping_stp
nodes: [ h1 ]
plugin: ping('h2')
ping_blue:
description: Intra-VLAN ping-based reachability test (blue)
wait_msg: Waiting for STP to wake up
wait: ping_stp
nodes: [ h3 ]
plugin: ping('h4')
ping_h3:
description: Inter-VLAN ping-based reachability test (red-to-blue)
wait_msg: Waiting for EVPN convergence
wait: ping_irb
nodes: [ h1, h2 ]
plugin: ping('h3')
ping_h1:
description: Inter-VLAN ping-based reachability test (blue-to-red)
wait_msg: Waiting for EVPN convergence
wait: ping
nodes: [ h3, h4 ]
plugin: ping('h1')