You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
<?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_network" type="String">exclusive</entry> </extensions> <node name="lxc-iperf-1" type="SIMPLE" subtype="lxc-iperf" location="222,385" ipv4="172.23.24.10"> <extensions> <entry key="config" type="String">#cloud-config
 bootcmd:
 - ln -s -t /etc/rc.d /etc/rc.local
 hostname: lxc-iperf-1
 manage_etc_hosts: true
 runcmd:
 - systemctl start rc-local
 - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
 - echo "UseDNS no" >> /etc/ssh/sshd_config
 - service ssh restart
 - service sshd restart
 users:
 - default
 - gecos: User configured by VIRL Configuration Engine 0.20.22
 lock-passwd: false
 name: cisco
 plain-text-passwd: cisco
 shell: /bin/bash
 ssh-authorized-keys:
 - VIRL-USER-SSH-PUBLIC-KEY
 sudo: ALL=(ALL) ALL
 write_files:
 - path: /etc/systemd/system/dhclient@.service
 content: |
 [Unit]
 Description=Run dhclient on %i interface
 After=network.target
 [Service]
 Type=oneshot
 ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
 RemainAfterExit=yes
 owner: root:root
 permissions: '0644'
 - path: /etc/rc.local
 owner: root:root
 permissions: '0755'
 content: |-
 #!/bin/sh
 ifconfig eth1 up 172.23.24.10 netmask 255.255.255.0 route add default gw 172.23.24.1
 exit 0
 </entry> </extensions> <interface id="0" name="eth1"/> </node> <node name="lxc-iperf-2" type="SIMPLE" subtype="lxc-iperf" location="404,386" ipv4="172.23.25.10"> <extensions> <entry key="config" type="String">#cloud-config
 bootcmd:
 - ln -s -t /etc/rc.d /etc/rc.local
 hostname: lxc-iperf-2
 manage_etc_hosts: true
 runcmd:
 - systemctl start rc-local
 - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
 - echo "UseDNS no" >> /etc/ssh/sshd_config
 - service ssh restart
 - service sshd restart
 users:
 - default
 - gecos: User configured by VIRL Configuration Engine 0.20.22
 lock-passwd: false
 name: cisco
 plain-text-passwd: cisco
 shell: /bin/bash
 ssh-authorized-keys:
 - VIRL-USER-SSH-PUBLIC-KEY
 sudo: ALL=(ALL) ALL
 write_files:
 - path: /etc/systemd/system/dhclient@.service
 content: |
 [Unit]
 Description=Run dhclient on %i interface
 After=network.target
 [Service]
 Type=oneshot
 ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
 RemainAfterExit=yes
 owner: root:root
 permissions: '0644'
 - path: /etc/rc.local
 owner: root:root
 permissions: '0755'
 content: |-
 #!/bin/sh
 ifconfig eth1 up 172.23.25.10 netmask 255.255.255.0 route add default gw 172.23.25.1
 exit 0
 </entry> </extensions> <interface id="0" name="eth1"/> </node> <node name="lxc-iperf-3" type="SIMPLE" subtype="lxc-iperf" location="596,387" ipv4="172.23.26.10"> <extensions> <entry key="config" type="String">#cloud-config
 bootcmd:
 - ln -s -t /etc/rc.d /etc/rc.local
 hostname: lxc-iperf-3
 manage_etc_hosts: true
 runcmd:
 - systemctl start rc-local
 - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
 - echo "UseDNS no" >> /etc/ssh/sshd_config
 - service ssh restart
 - service sshd restart
 users:
 - default
 - gecos: User configured by VIRL Configuration Engine 0.20.22
 lock-passwd: false
 name: cisco
 plain-text-passwd: cisco
 shell: /bin/bash
 ssh-authorized-keys:
 - VIRL-USER-SSH-PUBLIC-KEY
 sudo: ALL=(ALL) ALL
 write_files:
 - path: /etc/systemd/system/dhclient@.service
 content: |
 [Unit]
 Description=Run dhclient on %i interface
 After=network.target
 [Service]
 Type=oneshot
 ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
 RemainAfterExit=yes
 owner: root:root
 permissions: '0644'
 - path: /etc/rc.local
 owner: root:root
 permissions: '0755'
 content: |-
 #!/bin/sh
 ifconfig eth1 up 172.23.26.10 netmask 255.255.255.0 route add default gw 172.23.26.1
 exit 0
 </entry> </extensions> <interface id="0" name="eth1"/> </node> <node name="lxc-iperf-4" type="SIMPLE" subtype="lxc-iperf" location="780,385" ipv4="172.23.27.10"> <extensions> <entry key="config" type="String">#cloud-config
 bootcmd:
 - ln -s -t /etc/rc.d /etc/rc.local
 hostname: lxc-iperf-4
 manage_etc_hosts: true
 runcmd:
 - systemctl start rc-local
 - sed -i '/^\s*PasswordAuthentication\s\+no/d' /etc/ssh/sshd_config
 - echo "UseDNS no" >> /etc/ssh/sshd_config
 - service ssh restart
 - service sshd restart
 users:
 - default
 - gecos: User configured by VIRL Configuration Engine 0.20.22
 lock-passwd: false
 name: cisco
 plain-text-passwd: cisco
 shell: /bin/bash
 ssh-authorized-keys:
 - VIRL-USER-SSH-PUBLIC-KEY
 sudo: ALL=(ALL) ALL
 write_files:
 - path: /etc/systemd/system/dhclient@.service
 content: |
 [Unit]
 Description=Run dhclient on %i interface
 After=network.target
 [Service]
 Type=oneshot
 ExecStart=/sbin/dhclient %i -pf /var/run/dhclient.%i.pid -lf /var/lib/dhclient/dhclient.%i.lease
 RemainAfterExit=yes
 owner: root:root
 permissions: '0644'
 - path: /etc/rc.local
 owner: root:root
 permissions: '0755'
 content: |-
 #!/bin/sh
 ifconfig eth1 up 172.23.27.10 netmask 255.255.255.0 route add default gw 172.23.27.1
 exit 0
 </entry> </extensions> <interface id="0" name="eth1"/> </node> <node name="veos-leaf1" type="SIMPLE" subtype="vEOS" location="222,257"> <extensions> <entry key="config" type="String">! Command: show running-config ! device: vEOS-3 (vEOS, EOS-4.16.6M) ! ! boot system flash:/vEOS-lab.swi !
 ! AdvCompNet Lab 4 BGP
 ! transceiver qsfp default-mode 4x10G ! hostname veos-leaf1 ! spanning-tree mode rapid-pvst ! no aaa root !
 username admin privilege 15 role network-admin secret 5 $1$yUkG2yoL$0Lq.DaVPw9ECzR4Ew1.wW.
 username cisco privilege 15 role network-admin secret 5 $1$rQS0W9wP$ZUzVG2XoGCCZCJopFp1aV/
 ! interface Ethernet1 no switchport ip address 10.20.30.2/30 ! interface Ethernet2 no switchport ip address 10.20.30.6/30 ! interface Ethernet3 no switchport ip address 172.23.24.1/24 !
 interface Management1
 ! ip of ma1 configured on launch
 ! ip routing ! router bgp 65001 maximum-paths 2 router-id 11.11.11.11 bgp confederation identifier 100 bgp confederation peers 65000 network 172.23.24.0 mask 255.255.255.0 neighbor 10.20.30.1 remote-as 65000 neighbor 10.20.30.1 next-hop-self neighbor 10.20.30.5 remote-as 65000 neighbor 10.20.30.5 next-hop-self ! no synchronization ! no auto-summary ! ! end</entry> </extensions> <interface id="0" name="Ethernet1"/> <interface id="1" name="Ethernet2"/> <interface id="2" name="Ethernet3"/> </node> <node name="veos-leaf2" type="SIMPLE" subtype="vEOS" location="404,254"> <extensions> <entry key="config" type="String">! Command: show running-config ! device: vEOS-3 (vEOS, EOS-4.16.6M) ! ! boot system flash:/vEOS-lab.swi !
 ! AdvCompNet Lab 4 BGP
 ! transceiver qsfp default-mode 4x10G ! hostname veos-leaf2 ! spanning-tree mode rapid-pvst ! no aaa root !
 username admin privilege 15 role network-admin secret 5 $1$yUkG2yoL$0Lq.DaVPw9ECzR4Ew1.wW.
 username cisco privilege 15 role network-admin secret 5 $1$rQS0W9wP$ZUzVG2XoGCCZCJopFp1aV/
 ! interface Ethernet1 no switchport ip address 10.20.30.10/30 ! interface Ethernet2 no switchport ip address 10.20.30.14/30 ! interface Ethernet3 no switchport ip address 172.23.25.1/24 !
 interface Management1
 ! ip of ma1 configured on launch
 ! ip routing ! router bgp 65002 maximum-paths 2 router-id 22.22.22.22 bgp confederation identifier 100 bgp confederation peers 65000 network 172.23.25.0 mask 255.255.255.0 neighbor 10.20.30.9 remote-as 65000 neighbor 10.20.30.9 next-hop-self neighbor 10.20.30.13 remote-as 65000 neighbor 10.20.30.13 next-hop-self ! no synchronization ! no auto-summary ! ! end</entry> </extensions> <interface id="0" name="Ethernet1"/> <interface id="1" name="Ethernet2"/> <interface id="2" name="Ethernet3"/> </node> <node name="veos-leaf3" type="SIMPLE" subtype="vEOS" location="596,256"> <extensions> <entry key="config" type="String">! Command: show running-config ! device: vEOS-3 (vEOS, EOS-4.16.6M) ! ! boot system flash:/vEOS-lab.swi !
 ! AdvCompNet Lab 4 BGP
 ! transceiver qsfp default-mode 4x10G ! hostname veos-leaf3 ! spanning-tree mode rapid-pvst ! no aaa root !
 username admin privilege 15 role network-admin secret 5 $1$yUkG2yoL$0Lq.DaVPw9ECzR4Ew1.wW.
 username cisco privilege 15 role network-admin secret 5 $1$rQS0W9wP$ZUzVG2XoGCCZCJopFp1aV/
 ! interface Ethernet1 no switchport ip address 10.20.30.18/30 ! interface Ethernet2 no switchport ip address 10.20.30.22/30 ! interface Ethernet3 no switchport ip address 172.23.26.1/24 !
 interface Management1
 ! ip of ma1 configured on launch
 ! ip routing ! router bgp 65003 maximum-paths 2 router-id 33.33.33.33 bgp confederation identifier 100 bgp confederation peers 65000 network 172.23.26.0 mask 255.255.255.0 neighbor 10.20.30.17 remote-as 65000 neighbor 10.20.30.17 next-hop-self neighbor 10.20.30.21 remote-as 65000 neighbor 10.20.30.21 next-hop-self ! no synchronization ! no auto-summary ! ! end</entry> </extensions> <interface id="0" name="Ethernet1"/> <interface id="1" name="Ethernet2"/> <interface id="2" name="Ethernet3"/> </node> <node name="veos-leaf4" type="SIMPLE" subtype="vEOS" location="780,262"> <extensions> <entry key="config" type="String">! Command: show running-config ! device: vEOS-3 (vEOS, EOS-4.16.6M) ! ! boot system flash:/vEOS-lab.swi !
 ! AdvCompNet Lab 4 BGP
 ! transceiver qsfp default-mode 4x10G ! hostname veos-leaf4 ! spanning-tree mode rapid-pvst ! no aaa root !
 username admin privilege 15 role network-admin secret 5 $1$yUkG2yoL$0Lq.DaVPw9ECzR4Ew1.wW.
 username cisco privilege 15 role network-admin secret 5 $1$rQS0W9wP$ZUzVG2XoGCCZCJopFp1aV/
 ! interface Ethernet1 no switchport ip address 10.20.30.26/30 ! interface Ethernet2 no switchport ip address 10.20.30.30/30 ! interface Ethernet3 no switchport ip address 172.23.27.1/24 !
 interface Management1
 ! ip of ma1 configured on launch
 ! ip routing ! router bgp 65004 maximum-paths 2 router-id 44.44.44.44 bgp confederation identifier 100 bgp confederation peers 65000 network 172.23.27.0 mask 255.255.255.0 neighbor 10.20.30.25 remote-as 65000 neighbor 10.20.30.25 next-hop-self neighbor 10.20.30.29 remote-as 65000 neighbor 10.20.30.29 next-hop-self ! no synchronization ! no auto-summary ! ! end</entry> </extensions> <interface id="0" name="Ethernet1"/> <interface id="1" name="Ethernet2"/> <interface id="2" name="Ethernet3"/> </node> <node name="veos-spine1" type="SIMPLE" subtype="vEOS" location="405,64"> <extensions> <entry key="config" type="String">! Command: show running-config ! device: vEOS-3 (vEOS, EOS-4.16.6M) ! ! boot system flash:/vEOS-lab.swi !
 ! AdvCompNet Lab 4 BGP
 ! transceiver qsfp default-mode 4x10G ! hostname veos-spine1 ! spanning-tree mode rapid-pvst ! no aaa root !
 username admin privilege 15 role network-admin secret 5 $1$yUkG2yoL$0Lq.DaVPw9ECzR4Ew1.wW.
 username cisco privilege 15 role network-admin secret 5 $1$rQS0W9wP$ZUzVG2XoGCCZCJopFp1aV/
 ! interface Ethernet1 no switchport ip address 10.20.30.1/30 ! interface Ethernet2 no switchport ip address 10.20.30.9/30 ! interface Ethernet3 no switchport ip address 10.20.30.17/30 ! interface Ethernet4 no switchport ip address 10.20.30.25/30 !
 interface Management1
 ! ip of ma1 configured on launch
 ! ip routing ! router bgp 65000 router-id 1.1.1.1 bgp confederation identifier 100 bgp confederation peers 65001 65002 65003 65004 neighbor 10.20.30.2 remote-as 65001 neighbor 10.20.30.2 next-hop-self neighbor 10.20.30.10 remote-as 65002 neighbor 10.20.30.10 next-hop-self neighbor 10.20.30.18 remote-as 65003 neighbor 10.20.30.18 next-hop-self neighbor 10.20.30.26 remote-as 65004 neighbor 10.20.30.26 next-hop-self ! no synchronization ! no auto-summary ! ! end</entry> </extensions> <interface id="0" name="Ethernet1"/> <interface id="1" name="Ethernet2"/> <interface id="2" name="Ethernet3"/> <interface id="3" name="Ethernet4"/> </node> <node name="veos-spine2" type="SIMPLE" subtype="vEOS" location="597,58"> <extensions> <entry key="config" type="String">! Command: show running-config ! device: vEOS-3 (vEOS, EOS-4.16.6M) ! ! boot system flash:/vEOS-lab.swi !
 ! AdvCompNet Lab 4 BGP
 ! transceiver qsfp default-mode 4x10G ! hostname veos-spine2 ! spanning-tree mode rapid-pvst ! no aaa root !
 username admin privilege 15 role network-admin secret 5 $1$yUkG2yoL$0Lq.DaVPw9ECzR4Ew1.wW.
 username cisco privilege 15 role network-admin secret 5 $1$rQS0W9wP$ZUzVG2XoGCCZCJopFp1aV/
 ! interface Ethernet1 no switchport ip address 10.20.30.5/30 ! interface Ethernet2 no switchport ip address 10.20.30.13/30 ! interface Ethernet3 no switchport ip address 10.20.30.21/30 ! interface Ethernet4 no switchport ip address 10.20.30.29/30 !
 interface Management1
 ! ip of ma1 configured on launch
 ! ip routing ! router bgp 65000 router-id 2.2.2.2 bgp confederation identifier 100 bgp confederation peers 65001 65002 65003 65004 neighbor 10.20.30.6 remote-as 65001 neighbor 10.20.30.6 next-hop-self neighbor 10.20.30.14 remote-as 65002 neighbor 10.20.30.14 next-hop-self neighbor 10.20.30.22 remote-as 65003 neighbor 10.20.30.22 next-hop-self neighbor 10.20.30.30 remote-as 65004 neighbor 10.20.30.30 next-hop-self ! no synchronization ! no auto-summary ! ! end</entry> </extensions> <interface id="0" name="Ethernet1"/> <interface id="1" name="Ethernet2"/> <interface id="2" name="Ethernet3"/> <interface id="3" name="Ethernet4"/> </node> <annotations/> <connection dst="/virl:topology/virl:node[9]/virl:interface[1]" src="/virl:topology/virl:node[5]/virl:interface[1]"/> <connection dst="/virl:topology/virl:node[9]/virl:interface[2]" src="/virl:topology/virl:node[6]/virl:interface[1]"/> <connection dst="/virl:topology/virl:node[9]/virl:interface[3]" src="/virl:topology/virl:node[7]/virl:interface[1]"/> <connection dst="/virl:topology/virl:node[9]/virl:interface[4]" src="/virl:topology/virl:node[8]/virl:interface[1]"/> <connection dst="/virl:topology/virl:node[10]/virl:interface[1]" src="/virl:topology/virl:node[5]/virl:interface[2]"/> <connection dst="/virl:topology/virl:node[10]/virl:interface[2]" src="/virl:topology/virl:node[6]/virl:interface[2]"/> <connection dst="/virl:topology/virl:node[10]/virl:interface[3]" src="/virl:topology/virl:node[7]/virl:interface[2]"/> <connection dst="/virl:topology/virl:node[10]/virl:interface[4]" src="/virl:topology/virl:node[8]/virl:interface[2]"/> <connection dst="/virl:topology/virl:node[5]/virl:interface[3]" src="/virl:topology/virl:node[1]/virl:interface[1]"/> <connection dst="/virl:topology/virl:node[6]/virl:interface[3]" src="/virl:topology/virl:node[2]/virl:interface[1]"/> <connection dst="/virl:topology/virl:node[7]/virl:interface[3]" src="/virl:topology/virl:node[3]/virl:interface[1]"/> <connection dst="/virl:topology/virl:node[8]/virl:interface[3]" src="/virl:topology/virl:node[4]/virl:interface[1]"/> </topology>
|