1 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2 <topology xmlns="http://www.cisco.com/VIRL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" schemaVersion="0.9" xsi:schemaLocation="http://www.cisco.com/VIRL https://raw.github.com/CiscoVIRL/schema/v0.9/virl.xsd">
4 <entry key="management_network" type="String">flat</entry>
6 <node name="iosv-1" type="SIMPLE" subtype="IOSv" location="427,219" ipv4="192.168.0.2">
8 <entry key="config" type="string">!
9 ! Last configuration change at 14:27:32 UTC Fri Mar 27 2015
12 service timestamps debug datetime msec
13 service timestamps log datetime msec
14 no service password-encryption
28 mmi polling-interval 60
50 multilink bundle-name authenticated
75 ip address 192.168.0.2 255.255.255.255
77 interface GigabitEthernet0/0
78 description OOB Management
79 ip address 172.16.1.167 255.255.255.0
84 interface GigabitEthernet0/1
86 ip address 10.0.0.5 255.255.255.252
93 passive-interface Loopback0
94 network 10.0.0.4 0.0.0.3 area 0
95 network 192.168.0.2 0.0.0.0 area 0
98 bgp router-id 192.168.0.2
99 bgp log-neighbor-changes
100 neighbor 192.168.0.3 remote-as 1
101 neighbor 192.168.0.3 description iBGP peer iosv-2
102 neighbor 192.168.0.3 update-source Loopback0
105 network 192.168.0.2 mask 255.255.255.255
106 neighbor 192.168.0.3 activate
109 ip forward-protocol nd
113 no ip http secure-server
114 ip route 10.0.0.9 255.255.255.255 10.0.0.6
122 **************************************************************************
123 * IOSv is strictly limited to use for evaluation, demonstration and IOS *
124 * education. IOSv is provided as-is and is not supported by Cisco's *
125 * Technical Advisory Center. Any use or disclosure, in whole or in part, *
126 * of the IOSv Software or Documentation to any third party for any *
127 * purposes is expressly prohibited except as otherwise authorized by *
128 * Cisco in writing. *
129 **************************************************************************`
131 **************************************************************************
132 * IOSv is strictly limited to use for evaluation, demonstration and IOS *
133 * education. IOSv is provided as-is and is not supported by Cisco's *
134 * Technical Advisory Center. Any use or disclosure, in whole or in part, *
135 * of the IOSv Software or Documentation to any third party for any *
136 * purposes is expressly prohibited except as otherwise authorized by *
137 * Cisco in writing. *
138 **************************************************************************`
140 **************************************************************************
141 * IOSv is strictly limited to use for evaluation, demonstration and IOS *
142 * education. IOSv is provided as-is and is not supported by Cisco's *
143 * Technical Advisory Center. Any use or disclosure, in whole or in part, *
144 * of the IOSv Software or Documentation to any third party for any *
145 * purposes is expressly prohibited except as otherwise authorized by *
146 * Cisco in writing. *
147 **************************************************************************`
156 transport input telnet ssh
158 no scheduler allocate
161 <entry key="AutoNetkit.mgmt_ip" type="string"></entry>
163 <interface id="0" name="GigabitEthernet0/1" ipv4="10.0.0.5" netPrefixLenV4="30"/>
165 <node name="iosv-2" type="SIMPLE" subtype="IOSv" location="704,221" ipv4="192.168.0.3">
167 <entry key="config" type="string">!
168 ! Last configuration change at 14:26:58 UTC Fri Mar 27 2015
171 service timestamps debug datetime msec
172 service timestamps log datetime msec
173 no service password-encryption
181 enable password cisco
187 mmi polling-interval 60
188 no mmi auto-configure
209 multilink bundle-name authenticated
234 ip address 192.168.0.3 255.255.255.255
236 interface GigabitEthernet0/0
237 description OOB Management
238 ip address 172.16.1.164 255.255.255.0
243 interface GigabitEthernet0/1
245 ip address 10.0.0.9 255.255.255.252
252 passive-interface Loopback0
253 network 10.0.0.8 0.0.0.3 area 0
254 network 192.168.0.3 0.0.0.0 area 0
257 bgp router-id 192.168.0.3
258 bgp log-neighbor-changes
259 neighbor 192.168.0.2 remote-as 1
260 neighbor 192.168.0.2 description iBGP peer iosv-1
261 neighbor 192.168.0.2 update-source Loopback0
264 network 192.168.0.3 mask 255.255.255.255
265 neighbor 192.168.0.2 activate
268 ip forward-protocol nd
272 no ip http secure-server
273 ip route 10.0.0.5 255.255.255.255 10.0.0.10
281 **************************************************************************
282 * IOSv is strictly limited to use for evaluation, demonstration and IOS *
283 * education. IOSv is provided as-is and is not supported by Cisco's *
284 * Technical Advisory Center. Any use or disclosure, in whole or in part, *
285 * of the IOSv Software or Documentation to any third party for any *
286 * purposes is expressly prohibited except as otherwise authorized by *
287 * Cisco in writing. *
288 **************************************************************************`
290 **************************************************************************
291 * IOSv is strictly limited to use for evaluation, demonstration and IOS *
292 * education. IOSv is provided as-is and is not supported by Cisco's *
293 * Technical Advisory Center. Any use or disclosure, in whole or in part, *
294 * of the IOSv Software or Documentation to any third party for any *
295 * purposes is expressly prohibited except as otherwise authorized by *
296 * Cisco in writing. *
297 **************************************************************************`
299 **************************************************************************
300 * IOSv is strictly limited to use for evaluation, demonstration and IOS *
301 * education. IOSv is provided as-is and is not supported by Cisco's *
302 * Technical Advisory Center. Any use or disclosure, in whole or in part, *
303 * of the IOSv Software or Documentation to any third party for any *
304 * purposes is expressly prohibited except as otherwise authorized by *
305 * Cisco in writing. *
306 **************************************************************************`
315 transport input telnet ssh
317 no scheduler allocate
320 <entry key="AutoNetkit.mgmt_ip" type="string"></entry>
322 <interface id="0" name="GigabitEthernet0/1" ipv4="10.0.0.9" netPrefixLenV4="30"/>
324 <node name="vpp-1" type="SIMPLE" subtype="vPP" location="561,217">
326 <entry key="config" type="string">#cloud-config
328 - ln -s -t /etc/rc.d /etc/rc.local
330 manage_etc_hosts: true
333 - systemctl start getty@ttyS0.service
334 - systemctl start rc-local
335 - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
336 - echo "UseDNS no" >> /etc/ssh/sshd_config
337 - service ssh restart
338 - service sshd restart
339 - sed -i 's/no-pci//' /cisco/etc/qn.conf
340 - sed -i 's/1024/1024 decimal-interface-names/g' /cisco/etc/qn.conf
343 - gecos: User configured by VIRL Configuration Engine 0.15.3
346 plain-text-passwd: cisco
349 - VIRL-USER-SSH-PUBLIC-KEY
352 - path: /etc/init/ttyS0.conf
356 # This service maintains a getty on ttyS0 from the point the system is
357 # started until it is shut down again.
358 start on stopped rc or RUNLEVEL=[12345]
359 stop on runlevel [!12345]
361 exec /sbin/getty -L 115200 ttyS0 vt102
363 - path: /etc/systemd/system/dhclient@.service
366 Description=Run dhclient on %i interface
370 ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
374 - path: /cisco/etc/vpp-server.conf
378 set interface ip address GigabitEthernet0/4/0 10.0.0.6/30
379 set interface state GigabitEthernet0/4/0 up
380 set interface ip address GigabitEthernet0/5/0 10.0.0.10/30
381 set interface state GigabitEthernet0/5/0 up
384 <interface id="0" name="GigabitEthernet0/4/0" ipv4="10.0.0.6" netPrefixLenV4="30"/>
385 <interface id="1" name="GigabitEthernet0/5/0" ipv4="10.0.0.10" netPrefixLenV4="30"/>
387 <connection dst="/virl:topology/virl:node[3]/virl:interface[1]" src="/virl:topology/virl:node[1]/virl:interface[1]"/>
388 <connection dst="/virl:topology/virl:node[2]/virl:interface[1]" src="/virl:topology/virl:node[3]/virl:interface[2]"/>