-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDC1_FABRIC.yml
184 lines (165 loc) · 5.04 KB
/
DC1_FABRIC.yml
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
---
# L3LS Fabric Values - update these values with caution, some changes could be disruptive.
fabric_name: DC1_FABRIC
# Point to Point Network Summary range, assigned as /31 for each uplink interfaces
# Assign range larger then total [ spines * total potential leafs * 2 ]
underlay_p2p_network_summary: 172.31.251.0/24
# IP address range for evpn loopback for all switches in fabric, assigned as /32s
# Assign range larger then total spines + total leafs switches
overlay_loopback_network_summary: 192.168.251.0/24
# VTEP VXLAN Tunnel source loopback IP for leaf switches, assigned in /32s
# Assign range larger then total leaf switches
vtep_loopback_network_summary: 192.168.252.0/24
# mlag pair IP assignment - assign blocks - Assign range larger then total spines + total leafs switches
mlag_ips:
leaf_peer_l3: 10.255.251.0/24
mlag_peer: 10.255.252.0/24
# Enable vlan aware bundles
vxlan_vlan_aware_bundles: true
# bgp peer groups passwords
bgp_peer_groups:
IPv4_UNDERLAY_PEERS:
password: "AQQvKeimxJu+uGQ/yYvv9w=="
EVPN_OVERLAY_PEERS:
password: "q+VNViP5i4rVjW1cxFv2wA=="
MLAG_IPv4_UNDERLAY_PEER:
password: "vnEaG8gMeQf3d3cN6PktXQ=="
# Spine Switches
spine:
platform: vEOS-LAB
bgp_as: 65100
leaf_as_range: 65101-65132
nodes:
DC1-SPINE1:
id: 1
mgmt_ip: 192.168.200.101/24
DC1-SPINE2:
id: 2
mgmt_ip: 192.168.200.102/24
DC1-SPINE3:
id: 3
mgmt_ip: 192.168.200.103/24
DC1-SPINE4:
id: 4
mgmt_ip: 192.168.200.104/24
# Leaf switch groups
# A maximum of two nodes can form a leaf group
# When two nodes are in a leaf group this will automatically form mlag pair
l3leaf:
defaults:
platform: vEOS-LAB
spines: [ DC1-SPINE1, DC1-SPINE2, DC1-SPINE3, DC1-SPINE4 ]
uplink_to_spine_interfaces: [ Ethernet1, Ethernet2, Ethernet3, Ethernet4 ]
mlag_interfaces: [ Ethernet5, Ethernet6 ]
spanning_tree_mode: mstp
spanning_tree_priority: 4096
virtual_router_mac_address : 00:dc:00:00:00:0a
node_groups:
DC1_LEAF1:
bgp_as: 65101
filter:
tenants: [ all ]
tags: [ web, app ]
nodes:
DC1-LEAF1A:
id: 1
mgmt_ip: 192.168.200.105/24
spine_interfaces: [ Ethernet1, Ethernet1, Ethernet1, Ethernet1 ]
DC1_LEAF2:
bgp_as: 65102
filter:
tenants: [ Tenant_A ]
tags: [ opzone, web, app, db, vmotion, nfs ]
nodes:
DC1-LEAF2A:
id: 2
mgmt_ip: 192.168.200.106/24
spine_interfaces: [ Ethernet2, Ethernet2, Ethernet2, Ethernet2 ]
DC1-LEAF2B:
id: 3
mgmt_ip: 192.168.200.107/24
spine_interfaces: [ Ethernet3, Ethernet3, Ethernet3, Ethernet3 ]
DC1_SVC3:
bgp_as: 65103
filter:
tenants: [ Tenant_A ]
tags: [ opzone, web, app, db, vmotion, nfs ]
nodes:
DC1-SVC3A:
id: 4
mgmt_ip: 192.168.200.108/24
spine_interfaces: [ Ethernet4, Ethernet4, Ethernet4, Ethernet4 ]
DC1-SVC3B:
id: 5
mgmt_ip: 192.168.200.109/24
spine_interfaces: [ Ethernet5, Ethernet5, Ethernet5, Ethernet5 ]
# DC1_BL1:
# bgp_as: 65104
# filter:
# tenants: [ all ]
# tags: [ wan ]
# nodes:
# DC1-BL1A:
# id: 6
# mgmt_ip: 192.168.200.110/24
# spine_interfaces: [ Ethernet6, Ethernet6, Ethernet6, Ethernet6 ]
# DC1-BL1B:
# id: 7
# mgmt_ip: 192.168.200.111/24
# spine_interfaces: [ Ethernet7, Ethernet7, Ethernet7, Ethernet7 ]
l2leaf:
defaults:
platform: vEOS-LAB
parent_l3leafs: [ DC1-SVC3A, DC1-SVC3B ]
uplink_interfaces: [ Ethernet1, Ethernet2 ]
mlag_interfaces: [ Ethernet3, Ethernet4 ]
spanning_tree_mode: mstp
spanning_tree_priority: 16384
node_groups:
DC1_L2LEAF1:
parent_l3leafs: [ DC1-LEAF2A, DC1-LEAF2B ]
filter:
tenants: [ Tenant_A ]
tags: [ opzone, web, app ]
nodes:
DC1-L2LEAF1A:
id: 8
mgmt_ip: 192.168.200.112/24
l3leaf_interfaces: [ Ethernet7, Ethernet7 ]
DC1_L2LEAF2:
nodes:
DC1-L2LEAF2A:
id: 9
mgmt_ip: 192.168.200.113/24
l3leaf_interfaces: [ Ethernet7, Ethernet7 ]
DC1-L2LEAF2B:
id: 10
mgmt_ip: 192.168.200.114/24
l3leaf_interfaces: [ Ethernet8, Ethernet8 ]
#### Override for vEOS Lab Caveats ####
# Disable update wait-for-convergence and update wait-for-install, which is not supported in vEOS-LAB.
spine_bgp_defaults:
# - update wait-for-convergence
# - update wait-install
- no bgp default ipv4-unicast
- distance bgp 20 200 200
leaf_bgp_defaults:
# - update wait-install
- no bgp default ipv4-unicast
- distance bgp 20 200 200
# Upodate p2p mtu 9000 -> 1500
p2p_uplinks_mtu: 1500
# Adjust default bfd values
bfd_multihop:
interval: 1200
min_rx: 1200
multiplier: 3
cv_configlets:
containers:
DC1_FABRIC:
- DC1-CUSTOM_ALIASES
# devices:
# DC1-BL1A:
# - DC1-CUSTOM_DCI_DC1-BL1A
# DC1-BL1B:
# - DC1-CUSTOM_DCI_DC1-BL1B