-
Notifications
You must be signed in to change notification settings - Fork 2
/
gns3_test_topology.yaml
280 lines (273 loc) · 6.1 KB
/
gns3_test_topology.yaml
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
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
---
project_name: 'gns3_test_company_x'
gns3_server: 'http://172.30.33.200:3080'
gns3_host_ip: '172.30.33.200' # for [gns3_send_start_config_telnet]
START_CFGS_PATH: 'TEST_START_CFGS/' # for [gns3_send_start_config_telnet]
MGMT-SW: 'MGMT-SW' # for [gns3_create_mgmt_links]
# global_delay_factor for [gns3_send_start_config_telnet]
# I used a global delay parameter because
# my GNS3 server is located far away from me (380>= latency).
# info https://ktbyers.github.io/netmiko/docs/netmiko/
global_delay_factor: 4
# Manually created ethernet 'MGMT-SW' switch on 24 ports on GNS3 server
# ETH-SW-24P
gns3_nodes:
# The following nodes will be created in the GNS3 project
# ip_mgmt: - that IP uses for communication with the node via SSH
# Node1
- appliance: 'Cisco IOSvL2 15.2.4055'
name: HQ-AC1
ip_mgmt: 172.30.33.118
# Node2
- appliance: 'Cisco IOSvL2 15.2.4055'
name: HQ-AC2
ip_mgmt: 172.30.33.119
# Node3
- appliance: 'Cisco IOSvL2 15.2.4055'
name: HQ-AC3
ip_mgmt: 172.30.33.120
# Node4
- appliance: 'Cisco IOSvL2 15.2.4055'
name: HQ-AC4
ip_mgmt: 172.30.33.121
# Node5
- appliance: 'Cisco IOSvL2 15.2.4055'
name: HQ-DIS1
ip_mgmt: 172.30.33.123
# Node6
- appliance: 'Cisco IOSvL2 15.2.4055'
name: HQ-DIS2
ip_mgmt: 172.30.33.124
# Node7
- appliance: 'Cisco IOSvL2 15.2.4055'
name: HQ-SF1
ip_mgmt: 172.30.33.127
# Node8
- appliance: 'Cisco IOSvL2 15.2.4055'
name: HQ-CO1
ip_mgmt: 172.30.33.122
# Node9
- appliance: 'Cisco IOSvL2 15.2.4055'
name: BR1-AC1
ip_mgmt: 172.30.33.115
# Node10
- appliance: 'Cisco IOSv 15.6(2)T'
name: ISP
ip_mgmt: 172.30.33.128
# Node11
- appliance: 'Cisco IOSv 15.6(2)T'
name: HQ-ED1
ip_mgmt: 172.30.33.125
# Node12
- appliance: 'Cisco ASAv vasa_9_9_2'
name: HQ-FW1
ip_mgmt: 172.30.33.126
# Node13
- appliance: 'VyOS 1.1.8'
name: BR1-ED1
ip_mgmt: 172.30.33.116
# Node14
- appliance: 'vSRX 17.3R1'
name: BR2-FW1
ip_mgmt: 172.30.33.117
# Node15
- appliance: VPCS
name: HQ-C1
# Node16
- appliance: VPCS
name: HQ-C2
# Node17
- appliance: VPCS
name: HQ-C3
# Node18
- appliance: VPCS
name: HQ-C4
# Node19
- appliance: VPCS
name: BR1-C1
# Node20
- appliance: VPCS
name: BR2-C1
# Node21
- appliance: ETH-SW-24P
name: MGMT-SW
# Node22
- appliance: Cloud
name: CLOUD
# Node23
- appliance: VPCS
name: HQ-S1
gns3_links:
# The following link pairs describe P2P ethernet connections between nodes
# Pair1
- node1_name: ISP
node1_interface: '3'
node2_name: HQ-ED1
node2_interface: '1'
# Pair2
- node1_name: ISP
node1_interface: '4'
node2_name: HQ-FW1
node2_interface: '1'
# Pair3
- node1_name: ISP
node1_interface: '1'
node2_name: BR1-ED1
node2_interface: '2'
# Pair4
- node1_name: ISP
node1_interface: '2'
node2_name: BR2-FW1
node2_interface: '1'
# Pair5
- node1_name: BR1-AC1
node1_interface: '2'
node2_name: BR1-ED1
node2_interface: '1'
# Pair6
- node1_name: BR1-AC1
node1_interface: '1'
node2_name: BR1-C1
node2_interface: '0'
# Pair7
- node1_name: BR2-FW1
node1_interface: '2'
node2_name: BR2-C1
node2_interface: '0'
# Pair8
- node1_name: HQ-ED1
node1_interface: '2'
node2_name: HQ-FW1
node2_interface: '3'
# Pair9
- node1_name: HQ-FW1
node1_interface: '2'
node2_name: HQ-CO1
node2_interface: '1'
# Pair10
- node1_name: HQ-CO1
node1_interface: '3'
node2_name: HQ-DIS1
node2_interface: '3'
# Pair11
- node1_name: HQ-CO1
node1_interface: '4'
node2_name: HQ-DIS2
node2_interface: '4'
# Pair12
- node1_name: HQ-CO1
node1_interface: '2'
node2_name: HQ-SF1
node2_interface: '2'
# Pair13
- node1_name: HQ-DIS1
node1_interface: '1'
node2_name: HQ-DIS2
node2_interface: '1'
# Pair14
- node1_name: HQ-DIS1
node1_interface: '2'
node2_name: HQ-DIS2
node2_interface: '2'
# Pair15
- node1_name: HQ-DIS1
node1_interface: '5'
node2_name: HQ-AC1
node2_interface: '5'
# Pair16
- node1_name: HQ-DIS1
node1_interface: '6'
node2_name: HQ-AC2
node2_interface: '6'
# Pair17
- node1_name: HQ-DIS1
node1_interface: '9'
node2_name: HQ-AC3
node2_interface: '9'
# Pair18
- node1_name: HQ-DIS1
node1_interface: '8'
node2_name: HQ-AC4
node2_interface: '8'
# Pair19
- node1_name: HQ-DIS2
node1_interface: '8'
node2_name: HQ-AC1
node2_interface: '8'
# Pair20
- node1_name: HQ-DIS2
node1_interface: '9'
node2_name: HQ-AC2
node2_interface: '9'
# Pair21
- node1_name: HQ-DIS2
node1_interface: '5'
node2_name: HQ-AC3
node2_interface: '5'
# Pair22
- node1_name: HQ-DIS2
node1_interface: '6'
node2_name: HQ-AC4
node2_interface: '6'
# Pair23
- node1_name: HQ-C1
node1_interface: '0'
node2_name: HQ-AC1
node2_interface: '1'
# Pair24
- node1_name: HQ-C2
node1_interface: '0'
node2_name: HQ-AC2
node2_interface: '1'
# Pair25
- node1_name: HQ-C3
node1_interface: '0'
node2_name: HQ-AC3
node2_interface: '1'
# Pair26
- node1_name: HQ-C4
node1_interface: '0'
node2_name: HQ-AC4
node2_interface: '1'
# Pair27
- node1_name: CLOUD
node1_interface: '0'
node2_name: MGMT-SW
node2_interface: '0'
# Pair28
- node1_name: HQ-S1
node1_interface: '0'
node2_name: HQ-SF1
node2_interface: '1'
gns3_startup_config_telnet:
# On these devices will be uploaded a startup config using telnet from 'START_CFGS_PATH:'
- name: HQ-AC1
- name: HQ-AC2
- name: HQ-AC3
- name: HQ-AC4
- name: HQ-DIS1
- name: HQ-DIS2
- name: HQ-SF1
- name: HQ-CO1
- name: BR1-AC1
- name: ISP
- name: HQ-ED1
- name: HQ-FW1
- name: BR1-ED1
- name: BR2-FW1
gns3_mgmt_links:
# The following devices will be connected to the 'MGMT-SW' for remote access via SSH
- name: HQ-AC1
- name: HQ-AC2
- name: HQ-AC3
- name: HQ-AC4
- name: HQ-DIS1
- name: HQ-DIS2
- name: HQ-SF1
- name: HQ-CO1
- name: BR1-AC1
- name: ISP
- name: HQ-ED1
- name: HQ-FW1
- name: BR1-ED1
- name: BR2-FW1