-
Notifications
You must be signed in to change notification settings - Fork 133
/
topology.virl
317 lines (297 loc) · 9.64 KB
/
topology.virl
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
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<topology xmlns="http://www.cisco.com/VIRL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" schemaVersion="0.95" xsi:schemaLocation="http://www.cisco.com/VIRL https://raw.github.com/CiscoVIRL/schema/v0.95/virl.xsd">
<extensions>
<entry key="management_lxc" type="Boolean">false</entry>
<entry key="management_network" type="String">flat</entry>
</extensions>
<node name="dist1" type="SIMPLE" subtype="NX-OSv 9000" location="108,143" ipv4="192.168.0.1">
<extensions>
<entry key="static_mac" type="String">aa:aa:aa:aa:aa:aa</entry>
<entry key="AutoNetkit.mgmt_ip" type="string"></entry>
<entry key="Auto-generate config" type="Boolean">false</entry>
<!-- <entry key="static_ip" type="String">172.16.30.101</entry> -->
<entry key="ansible_group" type="String">distribution</entry>
<entry key="config" type="String">power redundancy-mode combined force
license grace-period
hostname dist1
feature telnet
feature nxapi
feature bash-shell
feature scp-server
no password strength-check
username admin password 5 $1$KuOSBsvW$Cy0TSD..gEBGBPjzpDgf51 role network-admin
username cisco password 5 $1$Nk7ZkwH0$fyiRmMMfIheqE3BqvcL0C1 role network-admin
no ip domain-lookup
vrf context management
ip route 0.0.0.0/0 {{ gateway }}
hardware forwarding unicast trace
interface mgmt0
description OOB Management
! Configured on launch
no ip address
mac-address fa16.3e01.0007
no shutdown
vrf member management
</entry>
</extensions>
<interface id="0" name="Ethernet1/1"/>
<interface id="1" name="Ethernet1/2"/>
<interface id="2" name="Ethernet1/3"/>
<interface id="3" name="Ethernet1/4"/>
<interface id="4" name="Ethernet1/5"/>
<interface id="5" name="Ethernet1/6"/>
</node>
<node name="access1" type="SIMPLE" subtype="NX-OSv 9000" location="250,285" ipv4="192.168.0.3">
<extensions>
<entry key="static_mac" type="String">aa:aa:aa:aa:aa:ac</entry>
<entry key="AutoNetkit.mgmt_ip" type="string"></entry>
<entry key="Auto-generate config" type="Boolean">false</entry>
<!-- <entry key="static_ip" type="String">172.16.30.103</entry> -->
<entry key="ansible_group" type="String">access</entry>
<entry key="config" type="String">power redundancy-mode combined force
license grace-period
hostname access1
feature telnet
feature nxapi
feature bash-shell
feature scp-server
no password strength-check
username admin password 5 $1$KuOSBsvW$Cy0TSD..gEBGBPjzpDgf51 role network-admin
username cisco password 5 $1$Nk7ZkwH0$fyiRmMMfIheqE3BqvcL0C1 role network-admin
no ip domain-lookup
vrf context management
ip route 0.0.0.0/0 {{ gateway }}
hardware forwarding unicast trace
interface mgmt0
description OOB Management
! Configured on launch
no ip address
mac-address fa16.3e03.0007
no shutdown
vrf member management
</entry>
</extensions>
<interface id="0" name="Ethernet1/1"/>
<interface id="1" name="Ethernet1/2"/>
<interface id="2" name="Ethernet1/3"/>
</node>
<node name="dist2" type="SIMPLE" subtype="NX-OSv 9000" location="402,139" ipv4="192.168.0.2">
<extensions>
<entry key="static_mac" type="String">aa:aa:aa:aa:aa:ab</entry>
<!-- <entry key="static_ip" type="String">172.16.30.102</entry> -->
<entry key="ansible_group" type="String">distribution</entry>
<entry key="AutoNetkit.mgmt_ip" type="string"></entry>
<entry key="Auto-generate config" type="Boolean">false</entry>
<entry key="config" type="String">power redundancy-mode combined force
license grace-period
hostname dist2
feature telnet
feature nxapi
feature bash-shell
feature scp-server
no password strength-check
username admin password 5 $1$KuOSBsvW$Cy0TSD..gEBGBPjzpDgf51 role network-admin
username cisco password 5 $1$Nk7ZkwH0$fyiRmMMfIheqE3BqvcL0C1 role network-admin
no ip domain-lookup
vrf context management
ip route 0.0.0.0/0 {{ gateway }}
hardware forwarding unicast trace
interface mgmt0
description OOB Management
! Configured on launch
no ip address
mac-address fa16.3e02.0007
no shutdown
vrf member management
</entry>
</extensions>
<interface id="0" name="Ethernet1/1"/>
<interface id="1" name="Ethernet1/2"/>
<interface id="2" name="Ethernet1/3"/>
<interface id="3" name="Ethernet1/4"/>
<interface id="4" name="Ethernet1/5"/>
<interface id="5" name="Ethernet1/6"/>
</node>
<node name="core1" type="SIMPLE" subtype="CSR1000v" location="114,41" ipv4="192.168.1.1">
<extensions>
<!-- <entry key="static_ip" type="String">172.16.30.111</entry> -->
<entry key="ansible_group" type="String">core</entry>
<entry key="AutoNetkit.mgmt_ip" type="string"></entry>
<entry key="Auto-generate config" type="Boolean">false</entry>
<entry key="config" type="String">! IOS Config generated on 2017-10-04 14:46
hostname core1
boot-start-marker
boot-end-marker
!
vrf definition Mgmt-intf
!
address-family ipv4
exit-address-family
!
address-family ipv6
exit-address-family
!
!
!
license accept end user agreement
license boot level premium
!
!
no aaa new-model
!
!
ipv6 unicast-routing
!
!
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
no service config
enable password cisco
enable secret 4 tnhtc92DXBhelxjYk8LWJrPV36S2i4ntXrpb4RFmfqY
ip classless
ip subnet-zero
no ip domain lookup
crypto key generate rsa modulus 1024
ip ssh server algorithm authentication password
username cisco privilege 15 secret cisco
line vty 0 4
transport input ssh telnet
exec-timeout 720 0
password cisco
login local
line con 0
password cisco
!
no cdp run
!
!
interface GigabitEthernet1
description OOB Management
vrf forwarding Mgmt-intf
! Configured on launch
no ip address
cdp enable
no shutdown
ip route vrf Mgmt-intf 0.0.0.0 0.0.0.0 {{ gateway }}
!
interface GigabitEthernet2
description to dist1
no shutdown
!
interface GigabitEthernet3
description to dist2
no shutdown
!
interface GigabitEthernet4
description core2
no ip address
no shutdown
!
interface Loopback 0
!
!
!
end</entry>
</extensions>
<interface id="0" name="GigabitEthernet2" ipv4="10.0.0.5" netPrefixLenV4="30"/>
<interface id="1" name="GigabitEthernet3" ipv4="10.0.0.9" netPrefixLenV4="30"/>
<interface id="2" name="GigabitEthernet4"/>
</node>
<node name="core2" type="SIMPLE" subtype="CSR1000v" location="399,42" ipv4="192.168.1.2">
<extensions>
<!-- <entry key="static_ip" type="String">172.16.30.112</entry> -->
<entry key="ansible_group" type="String">core</entry>
<entry key="AutoNetkit.mgmt_ip" type="string"></entry>
<entry key="Auto-generate config" type="Boolean">false</entry>
<entry key="config" type="String">! IOS Config generated on 2017-10-04 14:46
hostname core2
boot-start-marker
boot-end-marker
!
vrf definition Mgmt-intf
!
address-family ipv4
exit-address-family
!
address-family ipv6
exit-address-family
!
!
!
license accept end user agreement
license boot level premium
!
!
no aaa new-model
!
!
ipv6 unicast-routing
!
!
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
no service config
enable password cisco
enable secret 4 tnhtc92DXBhelxjYk8LWJrPV36S2i4ntXrpb4RFmfqY
ip classless
ip subnet-zero
no ip domain lookup
crypto key generate rsa modulus 1024
ip ssh server algorithm authentication password
username cisco privilege 15 secret cisco
line vty 0 4
transport input ssh telnet
exec-timeout 720 0
password cisco
login local
line con 0
password cisco
!
no cdp run
!
!
interface GigabitEthernet1
description OOB Management
vrf forwarding Mgmt-intf
! Configured on launch
no ip address
cdp enable
no shutdown
ip route vrf Mgmt-intf 0.0.0.0 0.0.0.0 {{ gateway }}
!
interface GigabitEthernet2
description to dist1
no shutdown
!
interface GigabitEthernet3
description to dist2
no shutdown
!
interface GigabitEthernet4
description core2
no ip address
no shutdown
!
interface Loopback 0
!
!
!
end</entry>
</extensions>
<interface id="0" name="GigabitEthernet2" ipv4="10.0.0.17" netPrefixLenV4="30"/>
<interface id="1" name="GigabitEthernet3" ipv4="10.0.0.13" netPrefixLenV4="30"/>
<interface id="2" name="GigabitEthernet4"/>
</node>
<annotations/>
<connection dst="/virl:topology/virl:node[2]/virl:interface[1]" src="/virl:topology/virl:node[1]/virl:interface[1]"/>
<connection dst="/virl:topology/virl:node[3]/virl:interface[1]" src="/virl:topology/virl:node[2]/virl:interface[2]"/>
<connection dst="/virl:topology/virl:node[3]/virl:interface[3]" src="/virl:topology/virl:node[1]/virl:interface[3]"/>
<connection dst="/virl:topology/virl:node[3]/virl:interface[4]" src="/virl:topology/virl:node[1]/virl:interface[4]"/>
<connection dst="/virl:topology/virl:node[1]/virl:interface[5]" src="/virl:topology/virl:node[4]/virl:interface[1]"/>
<connection dst="/virl:topology/virl:node[3]/virl:interface[5]" src="/virl:topology/virl:node[5]/virl:interface[1]"/>
<connection dst="/virl:topology/virl:node[3]/virl:interface[6]" src="/virl:topology/virl:node[4]/virl:interface[2]"/>
<connection dst="/virl:topology/virl:node[1]/virl:interface[6]" src="/virl:topology/virl:node[5]/virl:interface[2]"/>
<connection dst="/virl:topology/virl:node[5]/virl:interface[3]" src="/virl:topology/virl:node[4]/virl:interface[3]"/>
</topology>