Compare commits
22 Commits
ae458c6754
...
master
Author | SHA1 | Date | |
---|---|---|---|
4b0088f935 | |||
1d10a2c67b | |||
a21e523ba5 | |||
491987d90c | |||
22b17f5db0 | |||
6e5773d5f4 | |||
0321ea9aee | |||
14ab4d4054 | |||
e9a1ec6920 | |||
f1a51505c3 | |||
a49c4519e1 | |||
5e75a4904b | |||
6119dcf5c5 | |||
3d60a51503 | |||
b14e7674ad | |||
4ca17edf61 | |||
37b4b725d9 | |||
a3db62a2e5 | |||
305282c238 | |||
e982fc72d0 | |||
5d359744cf | |||
a6c94d23ca |
@ -36,11 +36,11 @@ will watch this replication endpoint, and if they see new snapshots arrive, they
|
|||||||
do an incremental pull of the data to their own ZFS filesystem as a snapshot. Old/current
|
do an incremental pull of the data to their own ZFS filesystem as a snapshot. Old/current
|
||||||
running labs will not be disrupted, as they will be cloned off of old snapshots.
|
running labs will not be disrupted, as they will be cloned off of old snapshots.
|
||||||
|
|
||||||
You will find the image as `ssd-vol0/hvn0.chbtl0.ipng.ch/ssd-vol0/vpp-proto-disk0`:
|
You will find the image as `vol0/hvn0.chbtl0.ipng.ch/ssd-vol0/vpp-proto-disk0`:
|
||||||
```
|
```
|
||||||
lab:~$ ssh -A root@hvn0.lab.ipng.ch 'zfs list -t snap'
|
lab:~$ ssh -A root@hvn0.lab.ipng.ch 'zfs list -t snap'
|
||||||
NAME USED AVAIL REFER MOUNTPOINT
|
NAME USED AVAIL REFER MOUNTPOINT
|
||||||
ssd-vol0/hvn0.chbtl0.ipng.ch/ssd-vol0/vpp-proto-disk0@20221013-release 0B - 6.04G -
|
vol0/hvn0.chbtl0.ipng.ch/ssd-vol0/vpp-proto-disk0@20221013-release 0B - 6.04G -
|
||||||
```
|
```
|
||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
@ -7,7 +7,7 @@ network:
|
|||||||
accept-ra: false
|
accept-ra: false
|
||||||
dhcp4: false
|
dhcp4: false
|
||||||
mtu: 9000
|
mtu: 9000
|
||||||
addresses: [ 198.19.5.20/26, 2001:678:d78:50b::14/64 ]
|
addresses: [ 198.19.5.20/24, 2001:678:d78:50b::14/64 ]
|
||||||
routes:
|
routes:
|
||||||
- to: 0.0.0.0/0
|
- to: 0.0.0.0/0
|
||||||
via: 198.19.5.1
|
via: 198.19.5.1
|
||||||
|
@ -4,5 +4,3 @@ ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC8X6oRdLn7PckWIRL+Fgp46qN+fglQLBJIvPHJ2P27
|
|||||||
# pim's M1 macbookpro SeKEY
|
# pim's M1 macbookpro SeKEY
|
||||||
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKDP/hLZusPNfKTy3t9bbbOHyczX+UACc4rYstc3QEDBDfxBnCZcMKN5Mv10o+q/+ap7wyFhONlz/qcUhEMbI1k=
|
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKDP/hLZusPNfKTy3t9bbbOHyczX+UACc4rYstc3QEDBDfxBnCZcMKN5Mv10o+q/+ap7wyFhONlz/qcUhEMbI1k=
|
||||||
|
|
||||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBy+EhCiRTcHgltaagVozgnROBy5Mi6Qslb3oWavDLSh vifino@tschunk
|
|
||||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID0hWe+3ovnwlOSDgexq/jcfyBS/NLIb7lC0yTtOvKWL vifino@firestorm
|
|
||||||
|
@ -4,5 +4,3 @@ ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC8X6oRdLn7PckWIRL+Fgp46qN+fglQLBJIvPHJ2P27
|
|||||||
# pim's M1 macbookpro SeKEY
|
# pim's M1 macbookpro SeKEY
|
||||||
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKDP/hLZusPNfKTy3t9bbbOHyczX+UACc4rYstc3QEDBDfxBnCZcMKN5Mv10o+q/+ap7wyFhONlz/qcUhEMbI1k=
|
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKDP/hLZusPNfKTy3t9bbbOHyczX+UACc4rYstc3QEDBDfxBnCZcMKN5Mv10o+q/+ap7wyFhONlz/qcUhEMbI1k=
|
||||||
|
|
||||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBy+EhCiRTcHgltaagVozgnROBy5Mi6Qslb3oWavDLSh vifino@tschunk
|
|
||||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID0hWe+3ovnwlOSDgexq/jcfyBS/NLIb7lC0yTtOvKWL vifino@firestorm
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
echo " * Fixing permissions"
|
echo " * Fixing permissions"
|
||||||
chown -R root. /root/
|
chown -R root:root /root/
|
||||||
chown -R ipng. /home/ipng/
|
chown -R ipng:ipng /home/ipng/
|
||||||
|
|
||||||
[ -r /etc/rc.local ] && chmod 755 /etc/rc.local
|
[ -r /etc/rc.local ] && chmod 755 /etc/rc.local
|
254
build/bird/hvn0.lab.ipng.ch/host0-0/root/libvirt.xml
Normal file
254
build/bird/hvn0.lab.ipng.ch/host0-0/root/libvirt.xml
Normal file
@ -0,0 +1,254 @@
|
|||||||
|
<domain type='kvm'>
|
||||||
|
<name>host0-0</name>
|
||||||
|
<uuid>6d920a14-c1bb-9b21-6787-8fa3d066d3e0</uuid>
|
||||||
|
<metadata>
|
||||||
|
<libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
|
||||||
|
<libosinfo:os id="http://debian.org/debian/10"/>
|
||||||
|
</libosinfo:libosinfo>
|
||||||
|
</metadata>
|
||||||
|
<memory unit='KiB'>8388608</memory>
|
||||||
|
<currentMemory unit='KiB'>8388608</currentMemory>
|
||||||
|
<vcpu placement='static'>2</vcpu>
|
||||||
|
<resource>
|
||||||
|
<partition>/machine</partition>
|
||||||
|
</resource>
|
||||||
|
<os>
|
||||||
|
<type arch='x86_64' machine='pc-q35-5.2'>hvm</type>
|
||||||
|
<boot dev='hd'/>
|
||||||
|
</os>
|
||||||
|
<features>
|
||||||
|
<acpi/>
|
||||||
|
<apic/>
|
||||||
|
<vmport state='off'/>
|
||||||
|
</features>
|
||||||
|
<cpu mode='custom' match='exact' check='full'>
|
||||||
|
<model fallback='forbid'>SandyBridge-IBRS</model>
|
||||||
|
<vendor>Intel</vendor>
|
||||||
|
<feature policy='require' name='vme'/>
|
||||||
|
<feature policy='require' name='ss'/>
|
||||||
|
<feature policy='require' name='vmx'/>
|
||||||
|
<feature policy='require' name='pdcm'/>
|
||||||
|
<feature policy='require' name='pcid'/>
|
||||||
|
<feature policy='require' name='hypervisor'/>
|
||||||
|
<feature policy='require' name='arat'/>
|
||||||
|
<feature policy='require' name='tsc_adjust'/>
|
||||||
|
<feature policy='require' name='umip'/>
|
||||||
|
<feature policy='require' name='md-clear'/>
|
||||||
|
<feature policy='require' name='stibp'/>
|
||||||
|
<feature policy='require' name='arch-capabilities'/>
|
||||||
|
<feature policy='require' name='ssbd'/>
|
||||||
|
<feature policy='require' name='xsaveopt'/>
|
||||||
|
<feature policy='require' name='pdpe1gb'/>
|
||||||
|
<feature policy='require' name='ibpb'/>
|
||||||
|
<feature policy='require' name='amd-stibp'/>
|
||||||
|
<feature policy='require' name='amd-ssbd'/>
|
||||||
|
<feature policy='require' name='skip-l1dfl-vmentry'/>
|
||||||
|
<feature policy='require' name='pschange-mc-no'/>
|
||||||
|
</cpu>
|
||||||
|
<clock offset='utc'>
|
||||||
|
<timer name='rtc' tickpolicy='catchup'/>
|
||||||
|
<timer name='pit' tickpolicy='delay'/>
|
||||||
|
<timer name='hpet' present='no'/>
|
||||||
|
</clock>
|
||||||
|
<on_poweroff>destroy</on_poweroff>
|
||||||
|
<on_reboot>restart</on_reboot>
|
||||||
|
<on_crash>destroy</on_crash>
|
||||||
|
<pm>
|
||||||
|
<suspend-to-mem enabled='no'/>
|
||||||
|
<suspend-to-disk enabled='no'/>
|
||||||
|
</pm>
|
||||||
|
<devices>
|
||||||
|
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
||||||
|
<disk type='block' device='disk'>
|
||||||
|
<driver name='qemu' type='raw'/>
|
||||||
|
<source dev='/dev/zvol/vol0/host0-0'/>
|
||||||
|
<backingStore/>
|
||||||
|
<target dev='vda' bus='virtio'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
|
||||||
|
</disk>
|
||||||
|
<controller type='usb' index='0' model='qemu-xhci' ports='15'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='sata' index='0'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='0' model='pcie-root'/>
|
||||||
|
<controller type='pci' index='1' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='1' port='0x10'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='2' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='2' port='0x11'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='3' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='3' port='0x12'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='4' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='4' port='0x13'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='5' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='5' port='0x14'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='6' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='6' port='0x15'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x5'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='7' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='7' port='0x16'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x6'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='8' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='8' port='0x17'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x7'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='9' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='9' port='0x18'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0' multifunction='on'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='10' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='10' port='0x19'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x1'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='11' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='11' port='0x1a'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x2'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='12' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='12' port='0x1b'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x3'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='13' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='13' port='0x1c'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x4'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='14' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='14' port='0x1d'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x5'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='15' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='15' port='0x1e'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x6'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='16' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='16' port='0x1f'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x7'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='virtio-serial' index='0'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
|
||||||
|
</controller>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F0:00:00'/>
|
||||||
|
<source bridge='mgmt'/>
|
||||||
|
<target dev='host0-0-mgmt'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
|
||||||
|
</interface>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F0:10:00'/>
|
||||||
|
<source bridge='vpplan'/>
|
||||||
|
<virtualport type='openvswitch'>
|
||||||
|
</virtualport>
|
||||||
|
<target dev='host0-0-0'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<mtu size='9216'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x10' slot='0x00' function='0x0' multifunction='on'/>
|
||||||
|
</interface>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F0:10:01'/>
|
||||||
|
<source bridge='vpplan'/>
|
||||||
|
<virtualport type='openvswitch'>
|
||||||
|
</virtualport>
|
||||||
|
<target dev='host0-0-1'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<mtu size='9216'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x10' slot='0x00' function='0x1'/>
|
||||||
|
</interface>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F0:10:02'/>
|
||||||
|
<source bridge='vpplan'/>
|
||||||
|
<virtualport type='openvswitch'>
|
||||||
|
</virtualport>
|
||||||
|
<target dev='host0-0-2'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<mtu size='9216'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x10' slot='0x00' function='0x2'/>
|
||||||
|
</interface>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F0:10:03'/>
|
||||||
|
<source bridge='vpplan'/>
|
||||||
|
<virtualport type='openvswitch'>
|
||||||
|
</virtualport>
|
||||||
|
<target dev='host0-0-3'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<mtu size='9216'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x10' slot='0x00' function='0x3'/>
|
||||||
|
</interface>
|
||||||
|
<serial type='pty'>
|
||||||
|
<target type='isa-serial' port='0'>
|
||||||
|
<model name='isa-serial'/>
|
||||||
|
</target>
|
||||||
|
</serial>
|
||||||
|
<console type='pty'>
|
||||||
|
<target type='serial' port='0'/>
|
||||||
|
</console>
|
||||||
|
<channel type='unix'>
|
||||||
|
<target type='virtio' name='org.qemu.guest_agent.0'/>
|
||||||
|
<address type='virtio-serial' controller='0' bus='0' port='1'/>
|
||||||
|
</channel>
|
||||||
|
<channel type='spicevmc'>
|
||||||
|
<target type='virtio' name='com.redhat.spice.0'/>
|
||||||
|
<address type='virtio-serial' controller='0' bus='0' port='2'/>
|
||||||
|
</channel>
|
||||||
|
<input type='tablet' bus='usb'>
|
||||||
|
<address type='usb' bus='0' port='1'/>
|
||||||
|
</input>
|
||||||
|
<input type='mouse' bus='ps2'/>
|
||||||
|
<input type='keyboard' bus='ps2'/>
|
||||||
|
<graphics type='spice' autoport='yes' listen='127.0.0.1'>
|
||||||
|
<listen type='address' address='127.0.0.1'/>
|
||||||
|
<image compression='off'/>
|
||||||
|
</graphics>
|
||||||
|
<sound model='ich9'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x1b' function='0x0'/>
|
||||||
|
</sound>
|
||||||
|
<video>
|
||||||
|
<model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
|
||||||
|
</video>
|
||||||
|
<redirdev bus='usb' type='spicevmc'>
|
||||||
|
<address type='usb' bus='0' port='2'/>
|
||||||
|
</redirdev>
|
||||||
|
<redirdev bus='usb' type='spicevmc'>
|
||||||
|
<address type='usb' bus='0' port='3'/>
|
||||||
|
</redirdev>
|
||||||
|
<memballoon model='virtio'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
|
||||||
|
</memballoon>
|
||||||
|
<rng model='virtio'>
|
||||||
|
<backend model='random'>/dev/urandom</backend>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
|
||||||
|
</rng>
|
||||||
|
</devices>
|
||||||
|
<seclabel type='dynamic' model='apparmor' relabel='yes'/>
|
||||||
|
<seclabel type='dynamic' model='dac' relabel='yes'/>
|
||||||
|
</domain>
|
@ -7,7 +7,7 @@ network:
|
|||||||
accept-ra: false
|
accept-ra: false
|
||||||
dhcp4: false
|
dhcp4: false
|
||||||
mtu: 9000
|
mtu: 9000
|
||||||
addresses: [ 198.19.5.21/26, 2001:678:d78:50b::15/64 ]
|
addresses: [ 198.19.5.21/24, 2001:678:d78:50b::15/64 ]
|
||||||
routes:
|
routes:
|
||||||
- to: 0.0.0.0/0
|
- to: 0.0.0.0/0
|
||||||
via: 198.19.5.1
|
via: 198.19.5.1
|
||||||
|
@ -4,5 +4,3 @@ ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC8X6oRdLn7PckWIRL+Fgp46qN+fglQLBJIvPHJ2P27
|
|||||||
# pim's M1 macbookpro SeKEY
|
# pim's M1 macbookpro SeKEY
|
||||||
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKDP/hLZusPNfKTy3t9bbbOHyczX+UACc4rYstc3QEDBDfxBnCZcMKN5Mv10o+q/+ap7wyFhONlz/qcUhEMbI1k=
|
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKDP/hLZusPNfKTy3t9bbbOHyczX+UACc4rYstc3QEDBDfxBnCZcMKN5Mv10o+q/+ap7wyFhONlz/qcUhEMbI1k=
|
||||||
|
|
||||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBy+EhCiRTcHgltaagVozgnROBy5Mi6Qslb3oWavDLSh vifino@tschunk
|
|
||||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID0hWe+3ovnwlOSDgexq/jcfyBS/NLIb7lC0yTtOvKWL vifino@firestorm
|
|
||||||
|
@ -4,5 +4,3 @@ ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC8X6oRdLn7PckWIRL+Fgp46qN+fglQLBJIvPHJ2P27
|
|||||||
# pim's M1 macbookpro SeKEY
|
# pim's M1 macbookpro SeKEY
|
||||||
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKDP/hLZusPNfKTy3t9bbbOHyczX+UACc4rYstc3QEDBDfxBnCZcMKN5Mv10o+q/+ap7wyFhONlz/qcUhEMbI1k=
|
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKDP/hLZusPNfKTy3t9bbbOHyczX+UACc4rYstc3QEDBDfxBnCZcMKN5Mv10o+q/+ap7wyFhONlz/qcUhEMbI1k=
|
||||||
|
|
||||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBy+EhCiRTcHgltaagVozgnROBy5Mi6Qslb3oWavDLSh vifino@tschunk
|
|
||||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID0hWe+3ovnwlOSDgexq/jcfyBS/NLIb7lC0yTtOvKWL vifino@firestorm
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
echo " * Fixing permissions"
|
echo " * Fixing permissions"
|
||||||
chown -R root. /root/
|
chown -R root:root /root/
|
||||||
chown -R ipng. /home/ipng/
|
chown -R ipng:ipng /home/ipng/
|
||||||
|
|
||||||
[ -r /etc/rc.local ] && chmod 755 /etc/rc.local
|
[ -r /etc/rc.local ] && chmod 755 /etc/rc.local
|
254
build/bird/hvn0.lab.ipng.ch/host0-1/root/libvirt.xml
Normal file
254
build/bird/hvn0.lab.ipng.ch/host0-1/root/libvirt.xml
Normal file
@ -0,0 +1,254 @@
|
|||||||
|
<domain type='kvm'>
|
||||||
|
<name>host0-1</name>
|
||||||
|
<uuid>9983b3f4-9eaf-f806-19d2-783f47041a0d</uuid>
|
||||||
|
<metadata>
|
||||||
|
<libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
|
||||||
|
<libosinfo:os id="http://debian.org/debian/10"/>
|
||||||
|
</libosinfo:libosinfo>
|
||||||
|
</metadata>
|
||||||
|
<memory unit='KiB'>8388608</memory>
|
||||||
|
<currentMemory unit='KiB'>8388608</currentMemory>
|
||||||
|
<vcpu placement='static'>2</vcpu>
|
||||||
|
<resource>
|
||||||
|
<partition>/machine</partition>
|
||||||
|
</resource>
|
||||||
|
<os>
|
||||||
|
<type arch='x86_64' machine='pc-q35-5.2'>hvm</type>
|
||||||
|
<boot dev='hd'/>
|
||||||
|
</os>
|
||||||
|
<features>
|
||||||
|
<acpi/>
|
||||||
|
<apic/>
|
||||||
|
<vmport state='off'/>
|
||||||
|
</features>
|
||||||
|
<cpu mode='custom' match='exact' check='full'>
|
||||||
|
<model fallback='forbid'>SandyBridge-IBRS</model>
|
||||||
|
<vendor>Intel</vendor>
|
||||||
|
<feature policy='require' name='vme'/>
|
||||||
|
<feature policy='require' name='ss'/>
|
||||||
|
<feature policy='require' name='vmx'/>
|
||||||
|
<feature policy='require' name='pdcm'/>
|
||||||
|
<feature policy='require' name='pcid'/>
|
||||||
|
<feature policy='require' name='hypervisor'/>
|
||||||
|
<feature policy='require' name='arat'/>
|
||||||
|
<feature policy='require' name='tsc_adjust'/>
|
||||||
|
<feature policy='require' name='umip'/>
|
||||||
|
<feature policy='require' name='md-clear'/>
|
||||||
|
<feature policy='require' name='stibp'/>
|
||||||
|
<feature policy='require' name='arch-capabilities'/>
|
||||||
|
<feature policy='require' name='ssbd'/>
|
||||||
|
<feature policy='require' name='xsaveopt'/>
|
||||||
|
<feature policy='require' name='pdpe1gb'/>
|
||||||
|
<feature policy='require' name='ibpb'/>
|
||||||
|
<feature policy='require' name='amd-stibp'/>
|
||||||
|
<feature policy='require' name='amd-ssbd'/>
|
||||||
|
<feature policy='require' name='skip-l1dfl-vmentry'/>
|
||||||
|
<feature policy='require' name='pschange-mc-no'/>
|
||||||
|
</cpu>
|
||||||
|
<clock offset='utc'>
|
||||||
|
<timer name='rtc' tickpolicy='catchup'/>
|
||||||
|
<timer name='pit' tickpolicy='delay'/>
|
||||||
|
<timer name='hpet' present='no'/>
|
||||||
|
</clock>
|
||||||
|
<on_poweroff>destroy</on_poweroff>
|
||||||
|
<on_reboot>restart</on_reboot>
|
||||||
|
<on_crash>destroy</on_crash>
|
||||||
|
<pm>
|
||||||
|
<suspend-to-mem enabled='no'/>
|
||||||
|
<suspend-to-disk enabled='no'/>
|
||||||
|
</pm>
|
||||||
|
<devices>
|
||||||
|
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
||||||
|
<disk type='block' device='disk'>
|
||||||
|
<driver name='qemu' type='raw'/>
|
||||||
|
<source dev='/dev/zvol/vol0/host0-1'/>
|
||||||
|
<backingStore/>
|
||||||
|
<target dev='vda' bus='virtio'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
|
||||||
|
</disk>
|
||||||
|
<controller type='usb' index='0' model='qemu-xhci' ports='15'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='sata' index='0'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='0' model='pcie-root'/>
|
||||||
|
<controller type='pci' index='1' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='1' port='0x10'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='2' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='2' port='0x11'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='3' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='3' port='0x12'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='4' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='4' port='0x13'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='5' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='5' port='0x14'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='6' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='6' port='0x15'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x5'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='7' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='7' port='0x16'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x6'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='8' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='8' port='0x17'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x7'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='9' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='9' port='0x18'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0' multifunction='on'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='10' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='10' port='0x19'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x1'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='11' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='11' port='0x1a'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x2'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='12' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='12' port='0x1b'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x3'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='13' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='13' port='0x1c'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x4'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='14' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='14' port='0x1d'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x5'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='15' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='15' port='0x1e'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x6'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='16' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='16' port='0x1f'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x7'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='virtio-serial' index='0'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
|
||||||
|
</controller>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F0:00:10'/>
|
||||||
|
<source bridge='mgmt'/>
|
||||||
|
<target dev='host0-1-mgmt'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
|
||||||
|
</interface>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F0:10:10'/>
|
||||||
|
<source bridge='vpplan'/>
|
||||||
|
<virtualport type='openvswitch'>
|
||||||
|
</virtualport>
|
||||||
|
<target dev='host0-1-0'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<mtu size='9216'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x10' slot='0x00' function='0x0' multifunction='on'/>
|
||||||
|
</interface>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F0:10:11'/>
|
||||||
|
<source bridge='vpplan'/>
|
||||||
|
<virtualport type='openvswitch'>
|
||||||
|
</virtualport>
|
||||||
|
<target dev='host0-1-1'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<mtu size='9216'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x10' slot='0x00' function='0x1'/>
|
||||||
|
</interface>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F0:10:12'/>
|
||||||
|
<source bridge='vpplan'/>
|
||||||
|
<virtualport type='openvswitch'>
|
||||||
|
</virtualport>
|
||||||
|
<target dev='host0-1-2'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<mtu size='9216'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x10' slot='0x00' function='0x2'/>
|
||||||
|
</interface>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F0:10:13'/>
|
||||||
|
<source bridge='vpplan'/>
|
||||||
|
<virtualport type='openvswitch'>
|
||||||
|
</virtualport>
|
||||||
|
<target dev='host0-1-3'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<mtu size='9216'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x10' slot='0x00' function='0x3'/>
|
||||||
|
</interface>
|
||||||
|
<serial type='pty'>
|
||||||
|
<target type='isa-serial' port='0'>
|
||||||
|
<model name='isa-serial'/>
|
||||||
|
</target>
|
||||||
|
</serial>
|
||||||
|
<console type='pty'>
|
||||||
|
<target type='serial' port='0'/>
|
||||||
|
</console>
|
||||||
|
<channel type='unix'>
|
||||||
|
<target type='virtio' name='org.qemu.guest_agent.0'/>
|
||||||
|
<address type='virtio-serial' controller='0' bus='0' port='1'/>
|
||||||
|
</channel>
|
||||||
|
<channel type='spicevmc'>
|
||||||
|
<target type='virtio' name='com.redhat.spice.0'/>
|
||||||
|
<address type='virtio-serial' controller='0' bus='0' port='2'/>
|
||||||
|
</channel>
|
||||||
|
<input type='tablet' bus='usb'>
|
||||||
|
<address type='usb' bus='0' port='1'/>
|
||||||
|
</input>
|
||||||
|
<input type='mouse' bus='ps2'/>
|
||||||
|
<input type='keyboard' bus='ps2'/>
|
||||||
|
<graphics type='spice' autoport='yes' listen='127.0.0.1'>
|
||||||
|
<listen type='address' address='127.0.0.1'/>
|
||||||
|
<image compression='off'/>
|
||||||
|
</graphics>
|
||||||
|
<sound model='ich9'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x1b' function='0x0'/>
|
||||||
|
</sound>
|
||||||
|
<video>
|
||||||
|
<model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
|
||||||
|
</video>
|
||||||
|
<redirdev bus='usb' type='spicevmc'>
|
||||||
|
<address type='usb' bus='0' port='2'/>
|
||||||
|
</redirdev>
|
||||||
|
<redirdev bus='usb' type='spicevmc'>
|
||||||
|
<address type='usb' bus='0' port='3'/>
|
||||||
|
</redirdev>
|
||||||
|
<memballoon model='virtio'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
|
||||||
|
</memballoon>
|
||||||
|
<rng model='virtio'>
|
||||||
|
<backend model='random'>/dev/urandom</backend>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
|
||||||
|
</rng>
|
||||||
|
</devices>
|
||||||
|
<seclabel type='dynamic' model='apparmor' relabel='yes'/>
|
||||||
|
<seclabel type='dynamic' model='dac' relabel='yes'/>
|
||||||
|
</domain>
|
@ -7,7 +7,7 @@ network:
|
|||||||
accept-ra: false
|
accept-ra: false
|
||||||
dhcp4: false
|
dhcp4: false
|
||||||
mtu: 9000
|
mtu: 9000
|
||||||
addresses: [ 198.19.5.22/26, 2001:678:d78:50b::16/64 ]
|
addresses: [ 198.19.5.22/24, 2001:678:d78:50b::16/64 ]
|
||||||
routes:
|
routes:
|
||||||
- to: 0.0.0.0/0
|
- to: 0.0.0.0/0
|
||||||
via: 198.19.5.1
|
via: 198.19.5.1
|
||||||
|
@ -4,5 +4,3 @@ ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC8X6oRdLn7PckWIRL+Fgp46qN+fglQLBJIvPHJ2P27
|
|||||||
# pim's M1 macbookpro SeKEY
|
# pim's M1 macbookpro SeKEY
|
||||||
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKDP/hLZusPNfKTy3t9bbbOHyczX+UACc4rYstc3QEDBDfxBnCZcMKN5Mv10o+q/+ap7wyFhONlz/qcUhEMbI1k=
|
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKDP/hLZusPNfKTy3t9bbbOHyczX+UACc4rYstc3QEDBDfxBnCZcMKN5Mv10o+q/+ap7wyFhONlz/qcUhEMbI1k=
|
||||||
|
|
||||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBy+EhCiRTcHgltaagVozgnROBy5Mi6Qslb3oWavDLSh vifino@tschunk
|
|
||||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID0hWe+3ovnwlOSDgexq/jcfyBS/NLIb7lC0yTtOvKWL vifino@firestorm
|
|
||||||
|
@ -4,5 +4,3 @@ ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC8X6oRdLn7PckWIRL+Fgp46qN+fglQLBJIvPHJ2P27
|
|||||||
# pim's M1 macbookpro SeKEY
|
# pim's M1 macbookpro SeKEY
|
||||||
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKDP/hLZusPNfKTy3t9bbbOHyczX+UACc4rYstc3QEDBDfxBnCZcMKN5Mv10o+q/+ap7wyFhONlz/qcUhEMbI1k=
|
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKDP/hLZusPNfKTy3t9bbbOHyczX+UACc4rYstc3QEDBDfxBnCZcMKN5Mv10o+q/+ap7wyFhONlz/qcUhEMbI1k=
|
||||||
|
|
||||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBy+EhCiRTcHgltaagVozgnROBy5Mi6Qslb3oWavDLSh vifino@tschunk
|
|
||||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID0hWe+3ovnwlOSDgexq/jcfyBS/NLIb7lC0yTtOvKWL vifino@firestorm
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
echo " * Fixing permissions"
|
echo " * Fixing permissions"
|
||||||
chown -R root. /root/
|
chown -R root:root /root/
|
||||||
chown -R ipng. /home/ipng/
|
chown -R ipng:ipng /home/ipng/
|
||||||
|
|
||||||
[ -r /etc/rc.local ] && chmod 755 /etc/rc.local
|
[ -r /etc/rc.local ] && chmod 755 /etc/rc.local
|
254
build/bird/hvn0.lab.ipng.ch/tap0-0/root/libvirt.xml
Normal file
254
build/bird/hvn0.lab.ipng.ch/tap0-0/root/libvirt.xml
Normal file
@ -0,0 +1,254 @@
|
|||||||
|
<domain type='kvm'>
|
||||||
|
<name>tap0-0</name>
|
||||||
|
<uuid>615ede1a-9953-981e-6381-6fa4802f6c47</uuid>
|
||||||
|
<metadata>
|
||||||
|
<libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
|
||||||
|
<libosinfo:os id="http://debian.org/debian/10"/>
|
||||||
|
</libosinfo:libosinfo>
|
||||||
|
</metadata>
|
||||||
|
<memory unit='KiB'>8388608</memory>
|
||||||
|
<currentMemory unit='KiB'>8388608</currentMemory>
|
||||||
|
<vcpu placement='static'>2</vcpu>
|
||||||
|
<resource>
|
||||||
|
<partition>/machine</partition>
|
||||||
|
</resource>
|
||||||
|
<os>
|
||||||
|
<type arch='x86_64' machine='pc-q35-5.2'>hvm</type>
|
||||||
|
<boot dev='hd'/>
|
||||||
|
</os>
|
||||||
|
<features>
|
||||||
|
<acpi/>
|
||||||
|
<apic/>
|
||||||
|
<vmport state='off'/>
|
||||||
|
</features>
|
||||||
|
<cpu mode='custom' match='exact' check='full'>
|
||||||
|
<model fallback='forbid'>SandyBridge-IBRS</model>
|
||||||
|
<vendor>Intel</vendor>
|
||||||
|
<feature policy='require' name='vme'/>
|
||||||
|
<feature policy='require' name='ss'/>
|
||||||
|
<feature policy='require' name='vmx'/>
|
||||||
|
<feature policy='require' name='pdcm'/>
|
||||||
|
<feature policy='require' name='pcid'/>
|
||||||
|
<feature policy='require' name='hypervisor'/>
|
||||||
|
<feature policy='require' name='arat'/>
|
||||||
|
<feature policy='require' name='tsc_adjust'/>
|
||||||
|
<feature policy='require' name='umip'/>
|
||||||
|
<feature policy='require' name='md-clear'/>
|
||||||
|
<feature policy='require' name='stibp'/>
|
||||||
|
<feature policy='require' name='arch-capabilities'/>
|
||||||
|
<feature policy='require' name='ssbd'/>
|
||||||
|
<feature policy='require' name='xsaveopt'/>
|
||||||
|
<feature policy='require' name='pdpe1gb'/>
|
||||||
|
<feature policy='require' name='ibpb'/>
|
||||||
|
<feature policy='require' name='amd-stibp'/>
|
||||||
|
<feature policy='require' name='amd-ssbd'/>
|
||||||
|
<feature policy='require' name='skip-l1dfl-vmentry'/>
|
||||||
|
<feature policy='require' name='pschange-mc-no'/>
|
||||||
|
</cpu>
|
||||||
|
<clock offset='utc'>
|
||||||
|
<timer name='rtc' tickpolicy='catchup'/>
|
||||||
|
<timer name='pit' tickpolicy='delay'/>
|
||||||
|
<timer name='hpet' present='no'/>
|
||||||
|
</clock>
|
||||||
|
<on_poweroff>destroy</on_poweroff>
|
||||||
|
<on_reboot>restart</on_reboot>
|
||||||
|
<on_crash>destroy</on_crash>
|
||||||
|
<pm>
|
||||||
|
<suspend-to-mem enabled='no'/>
|
||||||
|
<suspend-to-disk enabled='no'/>
|
||||||
|
</pm>
|
||||||
|
<devices>
|
||||||
|
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
||||||
|
<disk type='block' device='disk'>
|
||||||
|
<driver name='qemu' type='raw'/>
|
||||||
|
<source dev='/dev/zvol/vol0/tap0-0'/>
|
||||||
|
<backingStore/>
|
||||||
|
<target dev='vda' bus='virtio'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
|
||||||
|
</disk>
|
||||||
|
<controller type='usb' index='0' model='qemu-xhci' ports='15'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='sata' index='0'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='0' model='pcie-root'/>
|
||||||
|
<controller type='pci' index='1' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='1' port='0x10'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='2' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='2' port='0x11'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='3' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='3' port='0x12'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='4' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='4' port='0x13'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='5' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='5' port='0x14'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='6' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='6' port='0x15'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x5'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='7' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='7' port='0x16'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x6'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='8' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='8' port='0x17'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x7'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='9' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='9' port='0x18'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0' multifunction='on'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='10' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='10' port='0x19'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x1'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='11' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='11' port='0x1a'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x2'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='12' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='12' port='0x1b'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x3'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='13' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='13' port='0x1c'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x4'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='14' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='14' port='0x1d'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x5'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='15' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='15' port='0x1e'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x6'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='16' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='16' port='0x1f'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x7'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='virtio-serial' index='0'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
|
||||||
|
</controller>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F0:02:00'/>
|
||||||
|
<source bridge='mgmt'/>
|
||||||
|
<target dev='tap0-0-mgmt'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
|
||||||
|
</interface>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F0:12:00'/>
|
||||||
|
<source bridge='vpplan'/>
|
||||||
|
<virtualport type='openvswitch'>
|
||||||
|
</virtualport>
|
||||||
|
<target dev='tap0-0-0'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<mtu size='9216'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x10' slot='0x00' function='0x0' multifunction='on'/>
|
||||||
|
</interface>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F0:12:01'/>
|
||||||
|
<source bridge='vpplan'/>
|
||||||
|
<virtualport type='openvswitch'>
|
||||||
|
</virtualport>
|
||||||
|
<target dev='tap0-0-1'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<mtu size='9216'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x10' slot='0x00' function='0x1'/>
|
||||||
|
</interface>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F0:12:02'/>
|
||||||
|
<source bridge='vpplan'/>
|
||||||
|
<virtualport type='openvswitch'>
|
||||||
|
</virtualport>
|
||||||
|
<target dev='tap0-0-2'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<mtu size='9216'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x10' slot='0x00' function='0x2'/>
|
||||||
|
</interface>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F0:12:03'/>
|
||||||
|
<source bridge='vpplan'/>
|
||||||
|
<virtualport type='openvswitch'>
|
||||||
|
</virtualport>
|
||||||
|
<target dev='tap0-0-3'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<mtu size='9216'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x10' slot='0x00' function='0x3'/>
|
||||||
|
</interface>
|
||||||
|
<serial type='pty'>
|
||||||
|
<target type='isa-serial' port='0'>
|
||||||
|
<model name='isa-serial'/>
|
||||||
|
</target>
|
||||||
|
</serial>
|
||||||
|
<console type='pty'>
|
||||||
|
<target type='serial' port='0'/>
|
||||||
|
</console>
|
||||||
|
<channel type='unix'>
|
||||||
|
<target type='virtio' name='org.qemu.guest_agent.0'/>
|
||||||
|
<address type='virtio-serial' controller='0' bus='0' port='1'/>
|
||||||
|
</channel>
|
||||||
|
<channel type='spicevmc'>
|
||||||
|
<target type='virtio' name='com.redhat.spice.0'/>
|
||||||
|
<address type='virtio-serial' controller='0' bus='0' port='2'/>
|
||||||
|
</channel>
|
||||||
|
<input type='tablet' bus='usb'>
|
||||||
|
<address type='usb' bus='0' port='1'/>
|
||||||
|
</input>
|
||||||
|
<input type='mouse' bus='ps2'/>
|
||||||
|
<input type='keyboard' bus='ps2'/>
|
||||||
|
<graphics type='spice' autoport='yes' listen='127.0.0.1'>
|
||||||
|
<listen type='address' address='127.0.0.1'/>
|
||||||
|
<image compression='off'/>
|
||||||
|
</graphics>
|
||||||
|
<sound model='ich9'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x1b' function='0x0'/>
|
||||||
|
</sound>
|
||||||
|
<video>
|
||||||
|
<model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
|
||||||
|
</video>
|
||||||
|
<redirdev bus='usb' type='spicevmc'>
|
||||||
|
<address type='usb' bus='0' port='2'/>
|
||||||
|
</redirdev>
|
||||||
|
<redirdev bus='usb' type='spicevmc'>
|
||||||
|
<address type='usb' bus='0' port='3'/>
|
||||||
|
</redirdev>
|
||||||
|
<memballoon model='virtio'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
|
||||||
|
</memballoon>
|
||||||
|
<rng model='virtio'>
|
||||||
|
<backend model='random'>/dev/urandom</backend>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
|
||||||
|
</rng>
|
||||||
|
</devices>
|
||||||
|
<seclabel type='dynamic' model='apparmor' relabel='yes'/>
|
||||||
|
<seclabel type='dynamic' model='dac' relabel='yes'/>
|
||||||
|
</domain>
|
@ -17,4 +17,5 @@ protocol kernel kernel6 {
|
|||||||
include "core/static.conf";
|
include "core/static.conf";
|
||||||
include "core/bfd.conf";
|
include "core/bfd.conf";
|
||||||
include "core/ospf.conf";
|
include "core/ospf.conf";
|
||||||
|
# include "core/babel.conf";
|
||||||
include "manual.conf";
|
include "manual.conf";
|
||||||
|
13
build/bird/hvn0.lab.ipng.ch/vpp0-0/etc/bird/core/babel.conf
Normal file
13
build/bird/hvn0.lab.ipng.ch/vpp0-0/etc/bird/core/babel.conf
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
protocol babel {
|
||||||
|
interface "e0", "e1" {
|
||||||
|
type wired;
|
||||||
|
extended next hop on;
|
||||||
|
rtt cost 1000;
|
||||||
|
rtt min 5ms;
|
||||||
|
rtt max 30ms;
|
||||||
|
authentication mac permissive;
|
||||||
|
password "IPng loves bird";
|
||||||
|
};
|
||||||
|
ipv6 { import all; export all; };
|
||||||
|
ipv4 { import all; export all; };
|
||||||
|
}
|
@ -1,21 +1,17 @@
|
|||||||
protocol ospf v2 ospf4 {
|
protocol ospf v2 ospf4 {
|
||||||
ipv4 { export where (source = RTS_DEVICE || source = RTS_STATIC); import all; };
|
ipv4 { export where net ~ [ 192.168.10.0/24+, 0.0.0.0/0 ]; import where net ~ [ 192.168.10.0/24+, 0.0.0.0/0 ]; };
|
||||||
area 0 {
|
area 0 {
|
||||||
interface "loop0" { stub yes; };
|
interface "loop0" { stub yes; };
|
||||||
interface "e0" { type pointopoint; cost 5; bfd off; };
|
interface "e0" { type pointopoint; cost 5; bfd off; };
|
||||||
interface "e1" { type pointopoint; cost 5; bfd off; };
|
interface "e1" { type pointopoint; cost 5; bfd off; };
|
||||||
interface "e2" { type pointopoint; cost 5; bfd off; };
|
|
||||||
interface "e3" { type pointopoint; cost 5; bfd off; };
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
protocol ospf v3 ospf6 {
|
protocol ospf v3 ospf6 {
|
||||||
ipv6 { export where (source = RTS_DEVICE || source = RTS_STATIC); import all; };
|
ipv6 { export where net ~ [ 2001:678:d78:200::/60+, ::/0 ]; import where net ~ [ 2001:678:d78:200::/60+, ::/0]; };
|
||||||
area 0 {
|
area 0 {
|
||||||
interface "loop0" { stub yes; };
|
interface "loop0" { stub yes; };
|
||||||
interface "e0" { type pointopoint; cost 5; bfd off; };
|
interface "e0" { type pointopoint; cost 5; bfd off; };
|
||||||
interface "e1" { type pointopoint; cost 5; bfd off; };
|
interface "e1" { type pointopoint; cost 5; bfd off; };
|
||||||
interface "e2" { type pointopoint; cost 5; bfd off; };
|
|
||||||
interface "e3" { type pointopoint; cost 5; bfd off; };
|
|
||||||
};
|
};
|
||||||
}
|
}
|
@ -1,15 +1,11 @@
|
|||||||
protocol static static4 {
|
protocol static static4 {
|
||||||
ipv4 { export all; };
|
ipv4 { export all; };
|
||||||
# route 192.0.2.0/24 via 10.0.0.1;
|
|
||||||
route 192.168.10.0/24 unreachable;
|
route 192.168.10.0/24 unreachable;
|
||||||
|
# route 192.0.2.0/24 via 10.0.0.1;
|
||||||
route 0.0.0.0/0 via 192.168.10.4;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protocol static static6 {
|
protocol static static6 {
|
||||||
ipv6 { export all; };
|
ipv6 { export all; };
|
||||||
# route 2001:db8:cafe::/48 via 2001:db8::1;;
|
|
||||||
route 2001:678:d78:200::/60 unreachable;
|
route 2001:678:d78:200::/60 unreachable;
|
||||||
|
# route 2001:db8:cafe::/48 via 2001:db8::1;
|
||||||
route ::/0 via 2001:678:d78:201::ffff;
|
|
||||||
}
|
}
|
||||||
|
@ -7,7 +7,7 @@ network:
|
|||||||
accept-ra: false
|
accept-ra: false
|
||||||
dhcp4: false
|
dhcp4: false
|
||||||
mtu: 9000
|
mtu: 9000
|
||||||
addresses: [ 198.19.5.16/26, 2001:678:d78:50b::10/64 ]
|
addresses: [ 198.19.5.16/24, 2001:678:d78:50b::10/64 ]
|
||||||
routes:
|
routes:
|
||||||
- to: 0.0.0.0/0
|
- to: 0.0.0.0/0
|
||||||
via: 198.19.5.1
|
via: 198.19.5.1
|
||||||
|
@ -4,6 +4,7 @@ exec /etc/vpp/config/loopback.vpp
|
|||||||
exec /etc/vpp/config/interface.vpp
|
exec /etc/vpp/config/interface.vpp
|
||||||
exec /etc/vpp/config/lcp.vpp
|
exec /etc/vpp/config/lcp.vpp
|
||||||
exec /etc/vpp/config/mpls.vpp
|
exec /etc/vpp/config/mpls.vpp
|
||||||
|
exec /etc/vpp/config/sflow.vpp
|
||||||
|
|
||||||
comment { exec /etc/vpp/config/flowprobe.vpp }
|
comment { exec /etc/vpp/config/flowprobe.vpp }
|
||||||
|
|
||||||
|
@ -0,0 +1,8 @@
|
|||||||
|
sflow header-bytes 128
|
||||||
|
sflow sampling-rate 100
|
||||||
|
sflow polling-interval 10
|
||||||
|
|
||||||
|
sflow enable GigabitEthernet10/0/0
|
||||||
|
sflow enable GigabitEthernet10/0/1
|
||||||
|
sflow enable GigabitEthernet10/0/2
|
||||||
|
sflow enable GigabitEthernet10/0/3
|
@ -4,5 +4,3 @@ ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC8X6oRdLn7PckWIRL+Fgp46qN+fglQLBJIvPHJ2P27
|
|||||||
# pim's M1 macbookpro SeKEY
|
# pim's M1 macbookpro SeKEY
|
||||||
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKDP/hLZusPNfKTy3t9bbbOHyczX+UACc4rYstc3QEDBDfxBnCZcMKN5Mv10o+q/+ap7wyFhONlz/qcUhEMbI1k=
|
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKDP/hLZusPNfKTy3t9bbbOHyczX+UACc4rYstc3QEDBDfxBnCZcMKN5Mv10o+q/+ap7wyFhONlz/qcUhEMbI1k=
|
||||||
|
|
||||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBy+EhCiRTcHgltaagVozgnROBy5Mi6Qslb3oWavDLSh vifino@tschunk
|
|
||||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID0hWe+3ovnwlOSDgexq/jcfyBS/NLIb7lC0yTtOvKWL vifino@firestorm
|
|
||||||
|
@ -4,5 +4,3 @@ ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC8X6oRdLn7PckWIRL+Fgp46qN+fglQLBJIvPHJ2P27
|
|||||||
# pim's M1 macbookpro SeKEY
|
# pim's M1 macbookpro SeKEY
|
||||||
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKDP/hLZusPNfKTy3t9bbbOHyczX+UACc4rYstc3QEDBDfxBnCZcMKN5Mv10o+q/+ap7wyFhONlz/qcUhEMbI1k=
|
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKDP/hLZusPNfKTy3t9bbbOHyczX+UACc4rYstc3QEDBDfxBnCZcMKN5Mv10o+q/+ap7wyFhONlz/qcUhEMbI1k=
|
||||||
|
|
||||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBy+EhCiRTcHgltaagVozgnROBy5Mi6Qslb3oWavDLSh vifino@tschunk
|
|
||||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID0hWe+3ovnwlOSDgexq/jcfyBS/NLIb7lC0yTtOvKWL vifino@firestorm
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
echo " * Fixing permissions"
|
echo " * Fixing permissions"
|
||||||
chown -R root. /root/
|
chown -R root:root /root/
|
||||||
chown -R ipng. /home/ipng/
|
chown -R ipng:ipng /home/ipng/
|
||||||
|
|
||||||
[ -r /etc/rc.local ] && chmod 755 /etc/rc.local
|
[ -r /etc/rc.local ] && chmod 755 /etc/rc.local
|
254
build/bird/hvn0.lab.ipng.ch/vpp0-0/root/libvirt.xml
Normal file
254
build/bird/hvn0.lab.ipng.ch/vpp0-0/root/libvirt.xml
Normal file
@ -0,0 +1,254 @@
|
|||||||
|
<domain type='kvm'>
|
||||||
|
<name>vpp0-0</name>
|
||||||
|
<uuid>ec933791-d6af-7a93-3b8d-aab1a46d6faa</uuid>
|
||||||
|
<metadata>
|
||||||
|
<libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
|
||||||
|
<libosinfo:os id="http://debian.org/debian/10"/>
|
||||||
|
</libosinfo:libosinfo>
|
||||||
|
</metadata>
|
||||||
|
<memory unit='KiB'>8388608</memory>
|
||||||
|
<currentMemory unit='KiB'>8388608</currentMemory>
|
||||||
|
<vcpu placement='static'>2</vcpu>
|
||||||
|
<resource>
|
||||||
|
<partition>/machine</partition>
|
||||||
|
</resource>
|
||||||
|
<os>
|
||||||
|
<type arch='x86_64' machine='pc-q35-5.2'>hvm</type>
|
||||||
|
<boot dev='hd'/>
|
||||||
|
</os>
|
||||||
|
<features>
|
||||||
|
<acpi/>
|
||||||
|
<apic/>
|
||||||
|
<vmport state='off'/>
|
||||||
|
</features>
|
||||||
|
<cpu mode='custom' match='exact' check='full'>
|
||||||
|
<model fallback='forbid'>SandyBridge-IBRS</model>
|
||||||
|
<vendor>Intel</vendor>
|
||||||
|
<feature policy='require' name='vme'/>
|
||||||
|
<feature policy='require' name='ss'/>
|
||||||
|
<feature policy='require' name='vmx'/>
|
||||||
|
<feature policy='require' name='pdcm'/>
|
||||||
|
<feature policy='require' name='pcid'/>
|
||||||
|
<feature policy='require' name='hypervisor'/>
|
||||||
|
<feature policy='require' name='arat'/>
|
||||||
|
<feature policy='require' name='tsc_adjust'/>
|
||||||
|
<feature policy='require' name='umip'/>
|
||||||
|
<feature policy='require' name='md-clear'/>
|
||||||
|
<feature policy='require' name='stibp'/>
|
||||||
|
<feature policy='require' name='arch-capabilities'/>
|
||||||
|
<feature policy='require' name='ssbd'/>
|
||||||
|
<feature policy='require' name='xsaveopt'/>
|
||||||
|
<feature policy='require' name='pdpe1gb'/>
|
||||||
|
<feature policy='require' name='ibpb'/>
|
||||||
|
<feature policy='require' name='amd-stibp'/>
|
||||||
|
<feature policy='require' name='amd-ssbd'/>
|
||||||
|
<feature policy='require' name='skip-l1dfl-vmentry'/>
|
||||||
|
<feature policy='require' name='pschange-mc-no'/>
|
||||||
|
</cpu>
|
||||||
|
<clock offset='utc'>
|
||||||
|
<timer name='rtc' tickpolicy='catchup'/>
|
||||||
|
<timer name='pit' tickpolicy='delay'/>
|
||||||
|
<timer name='hpet' present='no'/>
|
||||||
|
</clock>
|
||||||
|
<on_poweroff>destroy</on_poweroff>
|
||||||
|
<on_reboot>restart</on_reboot>
|
||||||
|
<on_crash>destroy</on_crash>
|
||||||
|
<pm>
|
||||||
|
<suspend-to-mem enabled='no'/>
|
||||||
|
<suspend-to-disk enabled='no'/>
|
||||||
|
</pm>
|
||||||
|
<devices>
|
||||||
|
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
||||||
|
<disk type='block' device='disk'>
|
||||||
|
<driver name='qemu' type='raw'/>
|
||||||
|
<source dev='/dev/zvol/vol0/vpp0-0'/>
|
||||||
|
<backingStore/>
|
||||||
|
<target dev='vda' bus='virtio'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
|
||||||
|
</disk>
|
||||||
|
<controller type='usb' index='0' model='qemu-xhci' ports='15'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='sata' index='0'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='0' model='pcie-root'/>
|
||||||
|
<controller type='pci' index='1' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='1' port='0x10'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='2' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='2' port='0x11'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='3' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='3' port='0x12'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='4' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='4' port='0x13'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='5' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='5' port='0x14'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='6' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='6' port='0x15'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x5'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='7' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='7' port='0x16'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x6'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='8' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='8' port='0x17'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x7'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='9' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='9' port='0x18'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0' multifunction='on'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='10' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='10' port='0x19'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x1'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='11' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='11' port='0x1a'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x2'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='12' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='12' port='0x1b'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x3'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='13' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='13' port='0x1c'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x4'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='14' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='14' port='0x1d'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x5'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='15' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='15' port='0x1e'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x6'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='16' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='16' port='0x1f'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x7'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='virtio-serial' index='0'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
|
||||||
|
</controller>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F0:01:00'/>
|
||||||
|
<source bridge='mgmt'/>
|
||||||
|
<target dev='vpp0-0-mgmt'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
|
||||||
|
</interface>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F0:11:00'/>
|
||||||
|
<source bridge='vpplan'/>
|
||||||
|
<virtualport type='openvswitch'>
|
||||||
|
</virtualport>
|
||||||
|
<target dev='vpp0-0-0'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<mtu size='9216'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x10' slot='0x00' function='0x0' multifunction='on'/>
|
||||||
|
</interface>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F0:11:01'/>
|
||||||
|
<source bridge='vpplan'/>
|
||||||
|
<virtualport type='openvswitch'>
|
||||||
|
</virtualport>
|
||||||
|
<target dev='vpp0-0-1'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<mtu size='9216'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x10' slot='0x00' function='0x1'/>
|
||||||
|
</interface>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F0:11:02'/>
|
||||||
|
<source bridge='vpplan'/>
|
||||||
|
<virtualport type='openvswitch'>
|
||||||
|
</virtualport>
|
||||||
|
<target dev='vpp0-0-2'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<mtu size='9216'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x10' slot='0x00' function='0x2'/>
|
||||||
|
</interface>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F0:11:03'/>
|
||||||
|
<source bridge='vpplan'/>
|
||||||
|
<virtualport type='openvswitch'>
|
||||||
|
</virtualport>
|
||||||
|
<target dev='vpp0-0-3'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<mtu size='9216'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x10' slot='0x00' function='0x3'/>
|
||||||
|
</interface>
|
||||||
|
<serial type='pty'>
|
||||||
|
<target type='isa-serial' port='0'>
|
||||||
|
<model name='isa-serial'/>
|
||||||
|
</target>
|
||||||
|
</serial>
|
||||||
|
<console type='pty'>
|
||||||
|
<target type='serial' port='0'/>
|
||||||
|
</console>
|
||||||
|
<channel type='unix'>
|
||||||
|
<target type='virtio' name='org.qemu.guest_agent.0'/>
|
||||||
|
<address type='virtio-serial' controller='0' bus='0' port='1'/>
|
||||||
|
</channel>
|
||||||
|
<channel type='spicevmc'>
|
||||||
|
<target type='virtio' name='com.redhat.spice.0'/>
|
||||||
|
<address type='virtio-serial' controller='0' bus='0' port='2'/>
|
||||||
|
</channel>
|
||||||
|
<input type='tablet' bus='usb'>
|
||||||
|
<address type='usb' bus='0' port='1'/>
|
||||||
|
</input>
|
||||||
|
<input type='mouse' bus='ps2'/>
|
||||||
|
<input type='keyboard' bus='ps2'/>
|
||||||
|
<graphics type='spice' autoport='yes' listen='127.0.0.1'>
|
||||||
|
<listen type='address' address='127.0.0.1'/>
|
||||||
|
<image compression='off'/>
|
||||||
|
</graphics>
|
||||||
|
<sound model='ich9'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x1b' function='0x0'/>
|
||||||
|
</sound>
|
||||||
|
<video>
|
||||||
|
<model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
|
||||||
|
</video>
|
||||||
|
<redirdev bus='usb' type='spicevmc'>
|
||||||
|
<address type='usb' bus='0' port='2'/>
|
||||||
|
</redirdev>
|
||||||
|
<redirdev bus='usb' type='spicevmc'>
|
||||||
|
<address type='usb' bus='0' port='3'/>
|
||||||
|
</redirdev>
|
||||||
|
<memballoon model='virtio'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
|
||||||
|
</memballoon>
|
||||||
|
<rng model='virtio'>
|
||||||
|
<backend model='random'>/dev/urandom</backend>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
|
||||||
|
</rng>
|
||||||
|
</devices>
|
||||||
|
<seclabel type='dynamic' model='apparmor' relabel='yes'/>
|
||||||
|
<seclabel type='dynamic' model='dac' relabel='yes'/>
|
||||||
|
</domain>
|
@ -17,4 +17,5 @@ protocol kernel kernel6 {
|
|||||||
include "core/static.conf";
|
include "core/static.conf";
|
||||||
include "core/bfd.conf";
|
include "core/bfd.conf";
|
||||||
include "core/ospf.conf";
|
include "core/ospf.conf";
|
||||||
|
# include "core/babel.conf";
|
||||||
include "manual.conf";
|
include "manual.conf";
|
||||||
|
13
build/bird/hvn0.lab.ipng.ch/vpp0-1/etc/bird/core/babel.conf
Normal file
13
build/bird/hvn0.lab.ipng.ch/vpp0-1/etc/bird/core/babel.conf
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
protocol babel {
|
||||||
|
interface "e0", "e1" {
|
||||||
|
type wired;
|
||||||
|
extended next hop on;
|
||||||
|
rtt cost 1000;
|
||||||
|
rtt min 5ms;
|
||||||
|
rtt max 30ms;
|
||||||
|
authentication mac permissive;
|
||||||
|
password "IPng loves bird";
|
||||||
|
};
|
||||||
|
ipv6 { import all; export all; };
|
||||||
|
ipv4 { import all; export all; };
|
||||||
|
}
|
@ -1,21 +1,17 @@
|
|||||||
protocol ospf v2 ospf4 {
|
protocol ospf v2 ospf4 {
|
||||||
ipv4 { export where (source = RTS_DEVICE || source = RTS_STATIC); import all; };
|
ipv4 { export where net ~ [ 192.168.10.0/24+, 0.0.0.0/0 ]; import where net ~ [ 192.168.10.0/24+, 0.0.0.0/0 ]; };
|
||||||
area 0 {
|
area 0 {
|
||||||
interface "loop0" { stub yes; };
|
interface "loop0" { stub yes; };
|
||||||
interface "e0" { type pointopoint; cost 5; bfd off; };
|
interface "e0" { type pointopoint; cost 5; bfd off; };
|
||||||
interface "e1" { type pointopoint; cost 5; bfd off; };
|
interface "e1" { type pointopoint; cost 5; bfd off; };
|
||||||
interface "e2" { type pointopoint; cost 5; bfd off; };
|
|
||||||
interface "e3" { type pointopoint; cost 5; bfd off; };
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
protocol ospf v3 ospf6 {
|
protocol ospf v3 ospf6 {
|
||||||
ipv6 { export where (source = RTS_DEVICE || source = RTS_STATIC); import all; };
|
ipv6 { export where net ~ [ 2001:678:d78:200::/60+, ::/0 ]; import where net ~ [ 2001:678:d78:200::/60+, ::/0]; };
|
||||||
area 0 {
|
area 0 {
|
||||||
interface "loop0" { stub yes; };
|
interface "loop0" { stub yes; };
|
||||||
interface "e0" { type pointopoint; cost 5; bfd off; };
|
interface "e0" { type pointopoint; cost 5; bfd off; };
|
||||||
interface "e1" { type pointopoint; cost 5; bfd off; };
|
interface "e1" { type pointopoint; cost 5; bfd off; };
|
||||||
interface "e2" { type pointopoint; cost 5; bfd off; };
|
|
||||||
interface "e3" { type pointopoint; cost 5; bfd off; };
|
|
||||||
};
|
};
|
||||||
}
|
}
|
@ -1,13 +1,11 @@
|
|||||||
protocol static static4 {
|
protocol static static4 {
|
||||||
ipv4 { export all; };
|
ipv4 { export all; };
|
||||||
# route 192.0.2.0/24 via 10.0.0.1;
|
|
||||||
route 192.168.10.0/24 unreachable;
|
route 192.168.10.0/24 unreachable;
|
||||||
|
# route 192.0.2.0/24 via 10.0.0.1;
|
||||||
}
|
}
|
||||||
|
|
||||||
protocol static static6 {
|
protocol static static6 {
|
||||||
ipv6 { export all; };
|
ipv6 { export all; };
|
||||||
# route 2001:db8:cafe::/48 via 2001:db8::1;;
|
|
||||||
route 2001:678:d78:200::/60 unreachable;
|
route 2001:678:d78:200::/60 unreachable;
|
||||||
|
# route 2001:db8:cafe::/48 via 2001:db8::1;
|
||||||
}
|
}
|
||||||
|
@ -7,7 +7,7 @@ network:
|
|||||||
accept-ra: false
|
accept-ra: false
|
||||||
dhcp4: false
|
dhcp4: false
|
||||||
mtu: 9000
|
mtu: 9000
|
||||||
addresses: [ 198.19.5.17/26, 2001:678:d78:50b::11/64 ]
|
addresses: [ 198.19.5.17/24, 2001:678:d78:50b::11/64 ]
|
||||||
routes:
|
routes:
|
||||||
- to: 0.0.0.0/0
|
- to: 0.0.0.0/0
|
||||||
via: 198.19.5.1
|
via: 198.19.5.1
|
||||||
|
@ -4,6 +4,7 @@ exec /etc/vpp/config/loopback.vpp
|
|||||||
exec /etc/vpp/config/interface.vpp
|
exec /etc/vpp/config/interface.vpp
|
||||||
exec /etc/vpp/config/lcp.vpp
|
exec /etc/vpp/config/lcp.vpp
|
||||||
exec /etc/vpp/config/mpls.vpp
|
exec /etc/vpp/config/mpls.vpp
|
||||||
|
exec /etc/vpp/config/sflow.vpp
|
||||||
|
|
||||||
comment { exec /etc/vpp/config/flowprobe.vpp }
|
comment { exec /etc/vpp/config/flowprobe.vpp }
|
||||||
|
|
||||||
|
@ -0,0 +1,8 @@
|
|||||||
|
sflow header-bytes 128
|
||||||
|
sflow sampling-rate 100
|
||||||
|
sflow polling-interval 10
|
||||||
|
|
||||||
|
sflow enable GigabitEthernet10/0/0
|
||||||
|
sflow enable GigabitEthernet10/0/1
|
||||||
|
sflow enable GigabitEthernet10/0/2
|
||||||
|
sflow enable GigabitEthernet10/0/3
|
@ -4,5 +4,3 @@ ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC8X6oRdLn7PckWIRL+Fgp46qN+fglQLBJIvPHJ2P27
|
|||||||
# pim's M1 macbookpro SeKEY
|
# pim's M1 macbookpro SeKEY
|
||||||
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKDP/hLZusPNfKTy3t9bbbOHyczX+UACc4rYstc3QEDBDfxBnCZcMKN5Mv10o+q/+ap7wyFhONlz/qcUhEMbI1k=
|
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKDP/hLZusPNfKTy3t9bbbOHyczX+UACc4rYstc3QEDBDfxBnCZcMKN5Mv10o+q/+ap7wyFhONlz/qcUhEMbI1k=
|
||||||
|
|
||||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBy+EhCiRTcHgltaagVozgnROBy5Mi6Qslb3oWavDLSh vifino@tschunk
|
|
||||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID0hWe+3ovnwlOSDgexq/jcfyBS/NLIb7lC0yTtOvKWL vifino@firestorm
|
|
||||||
|
@ -4,5 +4,3 @@ ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC8X6oRdLn7PckWIRL+Fgp46qN+fglQLBJIvPHJ2P27
|
|||||||
# pim's M1 macbookpro SeKEY
|
# pim's M1 macbookpro SeKEY
|
||||||
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKDP/hLZusPNfKTy3t9bbbOHyczX+UACc4rYstc3QEDBDfxBnCZcMKN5Mv10o+q/+ap7wyFhONlz/qcUhEMbI1k=
|
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKDP/hLZusPNfKTy3t9bbbOHyczX+UACc4rYstc3QEDBDfxBnCZcMKN5Mv10o+q/+ap7wyFhONlz/qcUhEMbI1k=
|
||||||
|
|
||||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBy+EhCiRTcHgltaagVozgnROBy5Mi6Qslb3oWavDLSh vifino@tschunk
|
|
||||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID0hWe+3ovnwlOSDgexq/jcfyBS/NLIb7lC0yTtOvKWL vifino@firestorm
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
echo " * Fixing permissions"
|
echo " * Fixing permissions"
|
||||||
chown -R root. /root/
|
chown -R root:root /root/
|
||||||
chown -R ipng. /home/ipng/
|
chown -R ipng:ipng /home/ipng/
|
||||||
|
|
||||||
[ -r /etc/rc.local ] && chmod 755 /etc/rc.local
|
[ -r /etc/rc.local ] && chmod 755 /etc/rc.local
|
254
build/bird/hvn0.lab.ipng.ch/vpp0-1/root/libvirt.xml
Normal file
254
build/bird/hvn0.lab.ipng.ch/vpp0-1/root/libvirt.xml
Normal file
@ -0,0 +1,254 @@
|
|||||||
|
<domain type='kvm'>
|
||||||
|
<name>vpp0-1</name>
|
||||||
|
<uuid>ce13980d-4aec-fed9-5d11-723e5971c333</uuid>
|
||||||
|
<metadata>
|
||||||
|
<libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
|
||||||
|
<libosinfo:os id="http://debian.org/debian/10"/>
|
||||||
|
</libosinfo:libosinfo>
|
||||||
|
</metadata>
|
||||||
|
<memory unit='KiB'>8388608</memory>
|
||||||
|
<currentMemory unit='KiB'>8388608</currentMemory>
|
||||||
|
<vcpu placement='static'>2</vcpu>
|
||||||
|
<resource>
|
||||||
|
<partition>/machine</partition>
|
||||||
|
</resource>
|
||||||
|
<os>
|
||||||
|
<type arch='x86_64' machine='pc-q35-5.2'>hvm</type>
|
||||||
|
<boot dev='hd'/>
|
||||||
|
</os>
|
||||||
|
<features>
|
||||||
|
<acpi/>
|
||||||
|
<apic/>
|
||||||
|
<vmport state='off'/>
|
||||||
|
</features>
|
||||||
|
<cpu mode='custom' match='exact' check='full'>
|
||||||
|
<model fallback='forbid'>SandyBridge-IBRS</model>
|
||||||
|
<vendor>Intel</vendor>
|
||||||
|
<feature policy='require' name='vme'/>
|
||||||
|
<feature policy='require' name='ss'/>
|
||||||
|
<feature policy='require' name='vmx'/>
|
||||||
|
<feature policy='require' name='pdcm'/>
|
||||||
|
<feature policy='require' name='pcid'/>
|
||||||
|
<feature policy='require' name='hypervisor'/>
|
||||||
|
<feature policy='require' name='arat'/>
|
||||||
|
<feature policy='require' name='tsc_adjust'/>
|
||||||
|
<feature policy='require' name='umip'/>
|
||||||
|
<feature policy='require' name='md-clear'/>
|
||||||
|
<feature policy='require' name='stibp'/>
|
||||||
|
<feature policy='require' name='arch-capabilities'/>
|
||||||
|
<feature policy='require' name='ssbd'/>
|
||||||
|
<feature policy='require' name='xsaveopt'/>
|
||||||
|
<feature policy='require' name='pdpe1gb'/>
|
||||||
|
<feature policy='require' name='ibpb'/>
|
||||||
|
<feature policy='require' name='amd-stibp'/>
|
||||||
|
<feature policy='require' name='amd-ssbd'/>
|
||||||
|
<feature policy='require' name='skip-l1dfl-vmentry'/>
|
||||||
|
<feature policy='require' name='pschange-mc-no'/>
|
||||||
|
</cpu>
|
||||||
|
<clock offset='utc'>
|
||||||
|
<timer name='rtc' tickpolicy='catchup'/>
|
||||||
|
<timer name='pit' tickpolicy='delay'/>
|
||||||
|
<timer name='hpet' present='no'/>
|
||||||
|
</clock>
|
||||||
|
<on_poweroff>destroy</on_poweroff>
|
||||||
|
<on_reboot>restart</on_reboot>
|
||||||
|
<on_crash>destroy</on_crash>
|
||||||
|
<pm>
|
||||||
|
<suspend-to-mem enabled='no'/>
|
||||||
|
<suspend-to-disk enabled='no'/>
|
||||||
|
</pm>
|
||||||
|
<devices>
|
||||||
|
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
||||||
|
<disk type='block' device='disk'>
|
||||||
|
<driver name='qemu' type='raw'/>
|
||||||
|
<source dev='/dev/zvol/vol0/vpp0-1'/>
|
||||||
|
<backingStore/>
|
||||||
|
<target dev='vda' bus='virtio'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
|
||||||
|
</disk>
|
||||||
|
<controller type='usb' index='0' model='qemu-xhci' ports='15'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='sata' index='0'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='0' model='pcie-root'/>
|
||||||
|
<controller type='pci' index='1' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='1' port='0x10'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='2' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='2' port='0x11'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='3' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='3' port='0x12'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='4' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='4' port='0x13'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='5' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='5' port='0x14'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='6' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='6' port='0x15'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x5'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='7' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='7' port='0x16'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x6'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='8' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='8' port='0x17'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x7'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='9' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='9' port='0x18'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0' multifunction='on'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='10' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='10' port='0x19'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x1'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='11' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='11' port='0x1a'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x2'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='12' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='12' port='0x1b'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x3'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='13' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='13' port='0x1c'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x4'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='14' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='14' port='0x1d'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x5'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='15' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='15' port='0x1e'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x6'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='16' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='16' port='0x1f'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x7'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='virtio-serial' index='0'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
|
||||||
|
</controller>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F0:01:10'/>
|
||||||
|
<source bridge='mgmt'/>
|
||||||
|
<target dev='vpp0-1-mgmt'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
|
||||||
|
</interface>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F0:11:10'/>
|
||||||
|
<source bridge='vpplan'/>
|
||||||
|
<virtualport type='openvswitch'>
|
||||||
|
</virtualport>
|
||||||
|
<target dev='vpp0-1-0'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<mtu size='9216'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x10' slot='0x00' function='0x0' multifunction='on'/>
|
||||||
|
</interface>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F0:11:11'/>
|
||||||
|
<source bridge='vpplan'/>
|
||||||
|
<virtualport type='openvswitch'>
|
||||||
|
</virtualport>
|
||||||
|
<target dev='vpp0-1-1'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<mtu size='9216'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x10' slot='0x00' function='0x1'/>
|
||||||
|
</interface>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F0:11:12'/>
|
||||||
|
<source bridge='vpplan'/>
|
||||||
|
<virtualport type='openvswitch'>
|
||||||
|
</virtualport>
|
||||||
|
<target dev='vpp0-1-2'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<mtu size='9216'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x10' slot='0x00' function='0x2'/>
|
||||||
|
</interface>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F0:11:13'/>
|
||||||
|
<source bridge='vpplan'/>
|
||||||
|
<virtualport type='openvswitch'>
|
||||||
|
</virtualport>
|
||||||
|
<target dev='vpp0-1-3'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<mtu size='9216'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x10' slot='0x00' function='0x3'/>
|
||||||
|
</interface>
|
||||||
|
<serial type='pty'>
|
||||||
|
<target type='isa-serial' port='0'>
|
||||||
|
<model name='isa-serial'/>
|
||||||
|
</target>
|
||||||
|
</serial>
|
||||||
|
<console type='pty'>
|
||||||
|
<target type='serial' port='0'/>
|
||||||
|
</console>
|
||||||
|
<channel type='unix'>
|
||||||
|
<target type='virtio' name='org.qemu.guest_agent.0'/>
|
||||||
|
<address type='virtio-serial' controller='0' bus='0' port='1'/>
|
||||||
|
</channel>
|
||||||
|
<channel type='spicevmc'>
|
||||||
|
<target type='virtio' name='com.redhat.spice.0'/>
|
||||||
|
<address type='virtio-serial' controller='0' bus='0' port='2'/>
|
||||||
|
</channel>
|
||||||
|
<input type='tablet' bus='usb'>
|
||||||
|
<address type='usb' bus='0' port='1'/>
|
||||||
|
</input>
|
||||||
|
<input type='mouse' bus='ps2'/>
|
||||||
|
<input type='keyboard' bus='ps2'/>
|
||||||
|
<graphics type='spice' autoport='yes' listen='127.0.0.1'>
|
||||||
|
<listen type='address' address='127.0.0.1'/>
|
||||||
|
<image compression='off'/>
|
||||||
|
</graphics>
|
||||||
|
<sound model='ich9'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x1b' function='0x0'/>
|
||||||
|
</sound>
|
||||||
|
<video>
|
||||||
|
<model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
|
||||||
|
</video>
|
||||||
|
<redirdev bus='usb' type='spicevmc'>
|
||||||
|
<address type='usb' bus='0' port='2'/>
|
||||||
|
</redirdev>
|
||||||
|
<redirdev bus='usb' type='spicevmc'>
|
||||||
|
<address type='usb' bus='0' port='3'/>
|
||||||
|
</redirdev>
|
||||||
|
<memballoon model='virtio'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
|
||||||
|
</memballoon>
|
||||||
|
<rng model='virtio'>
|
||||||
|
<backend model='random'>/dev/urandom</backend>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
|
||||||
|
</rng>
|
||||||
|
</devices>
|
||||||
|
<seclabel type='dynamic' model='apparmor' relabel='yes'/>
|
||||||
|
<seclabel type='dynamic' model='dac' relabel='yes'/>
|
||||||
|
</domain>
|
@ -17,4 +17,5 @@ protocol kernel kernel6 {
|
|||||||
include "core/static.conf";
|
include "core/static.conf";
|
||||||
include "core/bfd.conf";
|
include "core/bfd.conf";
|
||||||
include "core/ospf.conf";
|
include "core/ospf.conf";
|
||||||
|
# include "core/babel.conf";
|
||||||
include "manual.conf";
|
include "manual.conf";
|
||||||
|
13
build/bird/hvn0.lab.ipng.ch/vpp0-2/etc/bird/core/babel.conf
Normal file
13
build/bird/hvn0.lab.ipng.ch/vpp0-2/etc/bird/core/babel.conf
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
protocol babel {
|
||||||
|
interface "e0", "e1" {
|
||||||
|
type wired;
|
||||||
|
extended next hop on;
|
||||||
|
rtt cost 1000;
|
||||||
|
rtt min 5ms;
|
||||||
|
rtt max 30ms;
|
||||||
|
authentication mac permissive;
|
||||||
|
password "IPng loves bird";
|
||||||
|
};
|
||||||
|
ipv6 { import all; export all; };
|
||||||
|
ipv4 { import all; export all; };
|
||||||
|
}
|
@ -1,21 +1,17 @@
|
|||||||
protocol ospf v2 ospf4 {
|
protocol ospf v2 ospf4 {
|
||||||
ipv4 { export where (source = RTS_DEVICE || source = RTS_STATIC); import all; };
|
ipv4 { export where net ~ [ 192.168.10.0/24+, 0.0.0.0/0 ]; import where net ~ [ 192.168.10.0/24+, 0.0.0.0/0 ]; };
|
||||||
area 0 {
|
area 0 {
|
||||||
interface "loop0" { stub yes; };
|
interface "loop0" { stub yes; };
|
||||||
interface "e0" { type pointopoint; cost 5; bfd off; };
|
interface "e0" { type pointopoint; cost 5; bfd off; };
|
||||||
interface "e1" { type pointopoint; cost 5; bfd off; };
|
interface "e1" { type pointopoint; cost 5; bfd off; };
|
||||||
interface "e2" { type pointopoint; cost 5; bfd off; };
|
|
||||||
interface "e3" { type pointopoint; cost 5; bfd off; };
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
protocol ospf v3 ospf6 {
|
protocol ospf v3 ospf6 {
|
||||||
ipv6 { export where (source = RTS_DEVICE || source = RTS_STATIC); import all; };
|
ipv6 { export where net ~ [ 2001:678:d78:200::/60+, ::/0 ]; import where net ~ [ 2001:678:d78:200::/60+, ::/0]; };
|
||||||
area 0 {
|
area 0 {
|
||||||
interface "loop0" { stub yes; };
|
interface "loop0" { stub yes; };
|
||||||
interface "e0" { type pointopoint; cost 5; bfd off; };
|
interface "e0" { type pointopoint; cost 5; bfd off; };
|
||||||
interface "e1" { type pointopoint; cost 5; bfd off; };
|
interface "e1" { type pointopoint; cost 5; bfd off; };
|
||||||
interface "e2" { type pointopoint; cost 5; bfd off; };
|
|
||||||
interface "e3" { type pointopoint; cost 5; bfd off; };
|
|
||||||
};
|
};
|
||||||
}
|
}
|
@ -1,13 +1,11 @@
|
|||||||
protocol static static4 {
|
protocol static static4 {
|
||||||
ipv4 { export all; };
|
ipv4 { export all; };
|
||||||
# route 192.0.2.0/24 via 10.0.0.1;
|
|
||||||
route 192.168.10.0/24 unreachable;
|
route 192.168.10.0/24 unreachable;
|
||||||
|
# route 192.0.2.0/24 via 10.0.0.1;
|
||||||
}
|
}
|
||||||
|
|
||||||
protocol static static6 {
|
protocol static static6 {
|
||||||
ipv6 { export all; };
|
ipv6 { export all; };
|
||||||
# route 2001:db8:cafe::/48 via 2001:db8::1;;
|
|
||||||
route 2001:678:d78:200::/60 unreachable;
|
route 2001:678:d78:200::/60 unreachable;
|
||||||
|
# route 2001:db8:cafe::/48 via 2001:db8::1;
|
||||||
}
|
}
|
||||||
|
@ -7,7 +7,7 @@ network:
|
|||||||
accept-ra: false
|
accept-ra: false
|
||||||
dhcp4: false
|
dhcp4: false
|
||||||
mtu: 9000
|
mtu: 9000
|
||||||
addresses: [ 198.19.5.18/26, 2001:678:d78:50b::12/64 ]
|
addresses: [ 198.19.5.18/24, 2001:678:d78:50b::12/64 ]
|
||||||
routes:
|
routes:
|
||||||
- to: 0.0.0.0/0
|
- to: 0.0.0.0/0
|
||||||
via: 198.19.5.1
|
via: 198.19.5.1
|
||||||
|
@ -4,6 +4,7 @@ exec /etc/vpp/config/loopback.vpp
|
|||||||
exec /etc/vpp/config/interface.vpp
|
exec /etc/vpp/config/interface.vpp
|
||||||
exec /etc/vpp/config/lcp.vpp
|
exec /etc/vpp/config/lcp.vpp
|
||||||
exec /etc/vpp/config/mpls.vpp
|
exec /etc/vpp/config/mpls.vpp
|
||||||
|
exec /etc/vpp/config/sflow.vpp
|
||||||
|
|
||||||
comment { exec /etc/vpp/config/flowprobe.vpp }
|
comment { exec /etc/vpp/config/flowprobe.vpp }
|
||||||
|
|
||||||
|
@ -0,0 +1,8 @@
|
|||||||
|
sflow header-bytes 128
|
||||||
|
sflow sampling-rate 100
|
||||||
|
sflow polling-interval 10
|
||||||
|
|
||||||
|
sflow enable GigabitEthernet10/0/0
|
||||||
|
sflow enable GigabitEthernet10/0/1
|
||||||
|
sflow enable GigabitEthernet10/0/2
|
||||||
|
sflow enable GigabitEthernet10/0/3
|
@ -4,5 +4,3 @@ ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC8X6oRdLn7PckWIRL+Fgp46qN+fglQLBJIvPHJ2P27
|
|||||||
# pim's M1 macbookpro SeKEY
|
# pim's M1 macbookpro SeKEY
|
||||||
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKDP/hLZusPNfKTy3t9bbbOHyczX+UACc4rYstc3QEDBDfxBnCZcMKN5Mv10o+q/+ap7wyFhONlz/qcUhEMbI1k=
|
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKDP/hLZusPNfKTy3t9bbbOHyczX+UACc4rYstc3QEDBDfxBnCZcMKN5Mv10o+q/+ap7wyFhONlz/qcUhEMbI1k=
|
||||||
|
|
||||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBy+EhCiRTcHgltaagVozgnROBy5Mi6Qslb3oWavDLSh vifino@tschunk
|
|
||||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID0hWe+3ovnwlOSDgexq/jcfyBS/NLIb7lC0yTtOvKWL vifino@firestorm
|
|
||||||
|
@ -4,5 +4,3 @@ ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC8X6oRdLn7PckWIRL+Fgp46qN+fglQLBJIvPHJ2P27
|
|||||||
# pim's M1 macbookpro SeKEY
|
# pim's M1 macbookpro SeKEY
|
||||||
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKDP/hLZusPNfKTy3t9bbbOHyczX+UACc4rYstc3QEDBDfxBnCZcMKN5Mv10o+q/+ap7wyFhONlz/qcUhEMbI1k=
|
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKDP/hLZusPNfKTy3t9bbbOHyczX+UACc4rYstc3QEDBDfxBnCZcMKN5Mv10o+q/+ap7wyFhONlz/qcUhEMbI1k=
|
||||||
|
|
||||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBy+EhCiRTcHgltaagVozgnROBy5Mi6Qslb3oWavDLSh vifino@tschunk
|
|
||||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID0hWe+3ovnwlOSDgexq/jcfyBS/NLIb7lC0yTtOvKWL vifino@firestorm
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
echo " * Fixing permissions"
|
echo " * Fixing permissions"
|
||||||
chown -R root. /root/
|
chown -R root:root /root/
|
||||||
chown -R ipng. /home/ipng/
|
chown -R ipng:ipng /home/ipng/
|
||||||
|
|
||||||
[ -r /etc/rc.local ] && chmod 755 /etc/rc.local
|
[ -r /etc/rc.local ] && chmod 755 /etc/rc.local
|
254
build/bird/hvn0.lab.ipng.ch/vpp0-2/root/libvirt.xml
Normal file
254
build/bird/hvn0.lab.ipng.ch/vpp0-2/root/libvirt.xml
Normal file
@ -0,0 +1,254 @@
|
|||||||
|
<domain type='kvm'>
|
||||||
|
<name>vpp0-2</name>
|
||||||
|
<uuid>4df7e187-39a9-11f4-6bea-b0e5e2610ec9</uuid>
|
||||||
|
<metadata>
|
||||||
|
<libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
|
||||||
|
<libosinfo:os id="http://debian.org/debian/10"/>
|
||||||
|
</libosinfo:libosinfo>
|
||||||
|
</metadata>
|
||||||
|
<memory unit='KiB'>8388608</memory>
|
||||||
|
<currentMemory unit='KiB'>8388608</currentMemory>
|
||||||
|
<vcpu placement='static'>2</vcpu>
|
||||||
|
<resource>
|
||||||
|
<partition>/machine</partition>
|
||||||
|
</resource>
|
||||||
|
<os>
|
||||||
|
<type arch='x86_64' machine='pc-q35-5.2'>hvm</type>
|
||||||
|
<boot dev='hd'/>
|
||||||
|
</os>
|
||||||
|
<features>
|
||||||
|
<acpi/>
|
||||||
|
<apic/>
|
||||||
|
<vmport state='off'/>
|
||||||
|
</features>
|
||||||
|
<cpu mode='custom' match='exact' check='full'>
|
||||||
|
<model fallback='forbid'>SandyBridge-IBRS</model>
|
||||||
|
<vendor>Intel</vendor>
|
||||||
|
<feature policy='require' name='vme'/>
|
||||||
|
<feature policy='require' name='ss'/>
|
||||||
|
<feature policy='require' name='vmx'/>
|
||||||
|
<feature policy='require' name='pdcm'/>
|
||||||
|
<feature policy='require' name='pcid'/>
|
||||||
|
<feature policy='require' name='hypervisor'/>
|
||||||
|
<feature policy='require' name='arat'/>
|
||||||
|
<feature policy='require' name='tsc_adjust'/>
|
||||||
|
<feature policy='require' name='umip'/>
|
||||||
|
<feature policy='require' name='md-clear'/>
|
||||||
|
<feature policy='require' name='stibp'/>
|
||||||
|
<feature policy='require' name='arch-capabilities'/>
|
||||||
|
<feature policy='require' name='ssbd'/>
|
||||||
|
<feature policy='require' name='xsaveopt'/>
|
||||||
|
<feature policy='require' name='pdpe1gb'/>
|
||||||
|
<feature policy='require' name='ibpb'/>
|
||||||
|
<feature policy='require' name='amd-stibp'/>
|
||||||
|
<feature policy='require' name='amd-ssbd'/>
|
||||||
|
<feature policy='require' name='skip-l1dfl-vmentry'/>
|
||||||
|
<feature policy='require' name='pschange-mc-no'/>
|
||||||
|
</cpu>
|
||||||
|
<clock offset='utc'>
|
||||||
|
<timer name='rtc' tickpolicy='catchup'/>
|
||||||
|
<timer name='pit' tickpolicy='delay'/>
|
||||||
|
<timer name='hpet' present='no'/>
|
||||||
|
</clock>
|
||||||
|
<on_poweroff>destroy</on_poweroff>
|
||||||
|
<on_reboot>restart</on_reboot>
|
||||||
|
<on_crash>destroy</on_crash>
|
||||||
|
<pm>
|
||||||
|
<suspend-to-mem enabled='no'/>
|
||||||
|
<suspend-to-disk enabled='no'/>
|
||||||
|
</pm>
|
||||||
|
<devices>
|
||||||
|
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
||||||
|
<disk type='block' device='disk'>
|
||||||
|
<driver name='qemu' type='raw'/>
|
||||||
|
<source dev='/dev/zvol/vol0/vpp0-2'/>
|
||||||
|
<backingStore/>
|
||||||
|
<target dev='vda' bus='virtio'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
|
||||||
|
</disk>
|
||||||
|
<controller type='usb' index='0' model='qemu-xhci' ports='15'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='sata' index='0'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='0' model='pcie-root'/>
|
||||||
|
<controller type='pci' index='1' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='1' port='0x10'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='2' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='2' port='0x11'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='3' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='3' port='0x12'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='4' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='4' port='0x13'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='5' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='5' port='0x14'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='6' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='6' port='0x15'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x5'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='7' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='7' port='0x16'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x6'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='8' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='8' port='0x17'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x7'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='9' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='9' port='0x18'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0' multifunction='on'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='10' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='10' port='0x19'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x1'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='11' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='11' port='0x1a'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x2'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='12' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='12' port='0x1b'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x3'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='13' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='13' port='0x1c'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x4'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='14' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='14' port='0x1d'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x5'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='15' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='15' port='0x1e'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x6'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='16' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='16' port='0x1f'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x7'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='virtio-serial' index='0'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
|
||||||
|
</controller>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F0:01:20'/>
|
||||||
|
<source bridge='mgmt'/>
|
||||||
|
<target dev='vpp0-2-mgmt'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
|
||||||
|
</interface>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F0:11:20'/>
|
||||||
|
<source bridge='vpplan'/>
|
||||||
|
<virtualport type='openvswitch'>
|
||||||
|
</virtualport>
|
||||||
|
<target dev='vpp0-2-0'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<mtu size='9216'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x10' slot='0x00' function='0x0' multifunction='on'/>
|
||||||
|
</interface>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F0:11:21'/>
|
||||||
|
<source bridge='vpplan'/>
|
||||||
|
<virtualport type='openvswitch'>
|
||||||
|
</virtualport>
|
||||||
|
<target dev='vpp0-2-1'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<mtu size='9216'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x10' slot='0x00' function='0x1'/>
|
||||||
|
</interface>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F0:11:22'/>
|
||||||
|
<source bridge='vpplan'/>
|
||||||
|
<virtualport type='openvswitch'>
|
||||||
|
</virtualport>
|
||||||
|
<target dev='vpp0-2-2'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<mtu size='9216'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x10' slot='0x00' function='0x2'/>
|
||||||
|
</interface>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F0:11:23'/>
|
||||||
|
<source bridge='vpplan'/>
|
||||||
|
<virtualport type='openvswitch'>
|
||||||
|
</virtualport>
|
||||||
|
<target dev='vpp0-2-3'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<mtu size='9216'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x10' slot='0x00' function='0x3'/>
|
||||||
|
</interface>
|
||||||
|
<serial type='pty'>
|
||||||
|
<target type='isa-serial' port='0'>
|
||||||
|
<model name='isa-serial'/>
|
||||||
|
</target>
|
||||||
|
</serial>
|
||||||
|
<console type='pty'>
|
||||||
|
<target type='serial' port='0'/>
|
||||||
|
</console>
|
||||||
|
<channel type='unix'>
|
||||||
|
<target type='virtio' name='org.qemu.guest_agent.0'/>
|
||||||
|
<address type='virtio-serial' controller='0' bus='0' port='1'/>
|
||||||
|
</channel>
|
||||||
|
<channel type='spicevmc'>
|
||||||
|
<target type='virtio' name='com.redhat.spice.0'/>
|
||||||
|
<address type='virtio-serial' controller='0' bus='0' port='2'/>
|
||||||
|
</channel>
|
||||||
|
<input type='tablet' bus='usb'>
|
||||||
|
<address type='usb' bus='0' port='1'/>
|
||||||
|
</input>
|
||||||
|
<input type='mouse' bus='ps2'/>
|
||||||
|
<input type='keyboard' bus='ps2'/>
|
||||||
|
<graphics type='spice' autoport='yes' listen='127.0.0.1'>
|
||||||
|
<listen type='address' address='127.0.0.1'/>
|
||||||
|
<image compression='off'/>
|
||||||
|
</graphics>
|
||||||
|
<sound model='ich9'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x1b' function='0x0'/>
|
||||||
|
</sound>
|
||||||
|
<video>
|
||||||
|
<model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
|
||||||
|
</video>
|
||||||
|
<redirdev bus='usb' type='spicevmc'>
|
||||||
|
<address type='usb' bus='0' port='2'/>
|
||||||
|
</redirdev>
|
||||||
|
<redirdev bus='usb' type='spicevmc'>
|
||||||
|
<address type='usb' bus='0' port='3'/>
|
||||||
|
</redirdev>
|
||||||
|
<memballoon model='virtio'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
|
||||||
|
</memballoon>
|
||||||
|
<rng model='virtio'>
|
||||||
|
<backend model='random'>/dev/urandom</backend>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
|
||||||
|
</rng>
|
||||||
|
</devices>
|
||||||
|
<seclabel type='dynamic' model='apparmor' relabel='yes'/>
|
||||||
|
<seclabel type='dynamic' model='dac' relabel='yes'/>
|
||||||
|
</domain>
|
@ -17,4 +17,5 @@ protocol kernel kernel6 {
|
|||||||
include "core/static.conf";
|
include "core/static.conf";
|
||||||
include "core/bfd.conf";
|
include "core/bfd.conf";
|
||||||
include "core/ospf.conf";
|
include "core/ospf.conf";
|
||||||
|
# include "core/babel.conf";
|
||||||
include "manual.conf";
|
include "manual.conf";
|
||||||
|
13
build/bird/hvn0.lab.ipng.ch/vpp0-3/etc/bird/core/babel.conf
Normal file
13
build/bird/hvn0.lab.ipng.ch/vpp0-3/etc/bird/core/babel.conf
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
protocol babel {
|
||||||
|
interface "e0", "e1" {
|
||||||
|
type wired;
|
||||||
|
extended next hop on;
|
||||||
|
rtt cost 1000;
|
||||||
|
rtt min 5ms;
|
||||||
|
rtt max 30ms;
|
||||||
|
authentication mac permissive;
|
||||||
|
password "IPng loves bird";
|
||||||
|
};
|
||||||
|
ipv6 { import all; export all; };
|
||||||
|
ipv4 { import all; export all; };
|
||||||
|
}
|
@ -1,21 +1,17 @@
|
|||||||
protocol ospf v2 ospf4 {
|
protocol ospf v2 ospf4 {
|
||||||
ipv4 { export where (source = RTS_DEVICE || source = RTS_STATIC); import all; };
|
ipv4 { export where net ~ [ 192.168.10.0/24+, 0.0.0.0/0 ]; import where net ~ [ 192.168.10.0/24+, 0.0.0.0/0 ]; };
|
||||||
area 0 {
|
area 0 {
|
||||||
interface "loop0" { stub yes; };
|
interface "loop0" { stub yes; };
|
||||||
interface "e0" { type pointopoint; cost 5; bfd off; };
|
interface "e0" { type pointopoint; cost 5; bfd off; };
|
||||||
interface "e1" { type pointopoint; cost 5; bfd off; };
|
interface "e1" { type pointopoint; cost 5; bfd off; };
|
||||||
interface "e2" { type pointopoint; cost 5; bfd off; };
|
|
||||||
interface "e3" { type pointopoint; cost 5; bfd off; };
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
protocol ospf v3 ospf6 {
|
protocol ospf v3 ospf6 {
|
||||||
ipv6 { export where (source = RTS_DEVICE || source = RTS_STATIC); import all; };
|
ipv6 { export where net ~ [ 2001:678:d78:200::/60+, ::/0 ]; import where net ~ [ 2001:678:d78:200::/60+, ::/0]; };
|
||||||
area 0 {
|
area 0 {
|
||||||
interface "loop0" { stub yes; };
|
interface "loop0" { stub yes; };
|
||||||
interface "e0" { type pointopoint; cost 5; bfd off; };
|
interface "e0" { type pointopoint; cost 5; bfd off; };
|
||||||
interface "e1" { type pointopoint; cost 5; bfd off; };
|
interface "e1" { type pointopoint; cost 5; bfd off; };
|
||||||
interface "e2" { type pointopoint; cost 5; bfd off; };
|
|
||||||
interface "e3" { type pointopoint; cost 5; bfd off; };
|
|
||||||
};
|
};
|
||||||
}
|
}
|
@ -1,13 +1,11 @@
|
|||||||
protocol static static4 {
|
protocol static static4 {
|
||||||
ipv4 { export all; };
|
ipv4 { export all; };
|
||||||
# route 192.0.2.0/24 via 10.0.0.1;
|
|
||||||
route 192.168.10.0/24 unreachable;
|
route 192.168.10.0/24 unreachable;
|
||||||
|
# route 192.0.2.0/24 via 10.0.0.1;
|
||||||
}
|
}
|
||||||
|
|
||||||
protocol static static6 {
|
protocol static static6 {
|
||||||
ipv6 { export all; };
|
ipv6 { export all; };
|
||||||
# route 2001:db8:cafe::/48 via 2001:db8::1;;
|
|
||||||
route 2001:678:d78:200::/60 unreachable;
|
route 2001:678:d78:200::/60 unreachable;
|
||||||
|
# route 2001:db8:cafe::/48 via 2001:db8::1;
|
||||||
}
|
}
|
||||||
|
@ -7,7 +7,7 @@ network:
|
|||||||
accept-ra: false
|
accept-ra: false
|
||||||
dhcp4: false
|
dhcp4: false
|
||||||
mtu: 9000
|
mtu: 9000
|
||||||
addresses: [ 198.19.5.19/26, 2001:678:d78:50b::13/64 ]
|
addresses: [ 198.19.5.19/24, 2001:678:d78:50b::13/64 ]
|
||||||
routes:
|
routes:
|
||||||
- to: 0.0.0.0/0
|
- to: 0.0.0.0/0
|
||||||
via: 198.19.5.1
|
via: 198.19.5.1
|
||||||
|
@ -4,6 +4,7 @@ exec /etc/vpp/config/loopback.vpp
|
|||||||
exec /etc/vpp/config/interface.vpp
|
exec /etc/vpp/config/interface.vpp
|
||||||
exec /etc/vpp/config/lcp.vpp
|
exec /etc/vpp/config/lcp.vpp
|
||||||
exec /etc/vpp/config/mpls.vpp
|
exec /etc/vpp/config/mpls.vpp
|
||||||
|
exec /etc/vpp/config/sflow.vpp
|
||||||
|
|
||||||
comment { exec /etc/vpp/config/flowprobe.vpp }
|
comment { exec /etc/vpp/config/flowprobe.vpp }
|
||||||
|
|
||||||
|
@ -0,0 +1,8 @@
|
|||||||
|
sflow header-bytes 128
|
||||||
|
sflow sampling-rate 100
|
||||||
|
sflow polling-interval 10
|
||||||
|
|
||||||
|
sflow enable GigabitEthernet10/0/0
|
||||||
|
sflow enable GigabitEthernet10/0/1
|
||||||
|
sflow enable GigabitEthernet10/0/2
|
||||||
|
sflow enable GigabitEthernet10/0/3
|
@ -4,5 +4,3 @@ ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC8X6oRdLn7PckWIRL+Fgp46qN+fglQLBJIvPHJ2P27
|
|||||||
# pim's M1 macbookpro SeKEY
|
# pim's M1 macbookpro SeKEY
|
||||||
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKDP/hLZusPNfKTy3t9bbbOHyczX+UACc4rYstc3QEDBDfxBnCZcMKN5Mv10o+q/+ap7wyFhONlz/qcUhEMbI1k=
|
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKDP/hLZusPNfKTy3t9bbbOHyczX+UACc4rYstc3QEDBDfxBnCZcMKN5Mv10o+q/+ap7wyFhONlz/qcUhEMbI1k=
|
||||||
|
|
||||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBy+EhCiRTcHgltaagVozgnROBy5Mi6Qslb3oWavDLSh vifino@tschunk
|
|
||||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID0hWe+3ovnwlOSDgexq/jcfyBS/NLIb7lC0yTtOvKWL vifino@firestorm
|
|
||||||
|
@ -4,5 +4,3 @@ ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC8X6oRdLn7PckWIRL+Fgp46qN+fglQLBJIvPHJ2P27
|
|||||||
# pim's M1 macbookpro SeKEY
|
# pim's M1 macbookpro SeKEY
|
||||||
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKDP/hLZusPNfKTy3t9bbbOHyczX+UACc4rYstc3QEDBDfxBnCZcMKN5Mv10o+q/+ap7wyFhONlz/qcUhEMbI1k=
|
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKDP/hLZusPNfKTy3t9bbbOHyczX+UACc4rYstc3QEDBDfxBnCZcMKN5Mv10o+q/+ap7wyFhONlz/qcUhEMbI1k=
|
||||||
|
|
||||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBy+EhCiRTcHgltaagVozgnROBy5Mi6Qslb3oWavDLSh vifino@tschunk
|
|
||||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAID0hWe+3ovnwlOSDgexq/jcfyBS/NLIb7lC0yTtOvKWL vifino@firestorm
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
echo " * Fixing permissions"
|
echo " * Fixing permissions"
|
||||||
chown -R root. /root/
|
chown -R root:root /root/
|
||||||
chown -R ipng. /home/ipng/
|
chown -R ipng:ipng /home/ipng/
|
||||||
|
|
||||||
[ -r /etc/rc.local ] && chmod 755 /etc/rc.local
|
[ -r /etc/rc.local ] && chmod 755 /etc/rc.local
|
254
build/bird/hvn0.lab.ipng.ch/vpp0-3/root/libvirt.xml
Normal file
254
build/bird/hvn0.lab.ipng.ch/vpp0-3/root/libvirt.xml
Normal file
@ -0,0 +1,254 @@
|
|||||||
|
<domain type='kvm'>
|
||||||
|
<name>vpp0-3</name>
|
||||||
|
<uuid>004d15ad-f2aa-600f-43bb-b20858089492</uuid>
|
||||||
|
<metadata>
|
||||||
|
<libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
|
||||||
|
<libosinfo:os id="http://debian.org/debian/10"/>
|
||||||
|
</libosinfo:libosinfo>
|
||||||
|
</metadata>
|
||||||
|
<memory unit='KiB'>8388608</memory>
|
||||||
|
<currentMemory unit='KiB'>8388608</currentMemory>
|
||||||
|
<vcpu placement='static'>2</vcpu>
|
||||||
|
<resource>
|
||||||
|
<partition>/machine</partition>
|
||||||
|
</resource>
|
||||||
|
<os>
|
||||||
|
<type arch='x86_64' machine='pc-q35-5.2'>hvm</type>
|
||||||
|
<boot dev='hd'/>
|
||||||
|
</os>
|
||||||
|
<features>
|
||||||
|
<acpi/>
|
||||||
|
<apic/>
|
||||||
|
<vmport state='off'/>
|
||||||
|
</features>
|
||||||
|
<cpu mode='custom' match='exact' check='full'>
|
||||||
|
<model fallback='forbid'>SandyBridge-IBRS</model>
|
||||||
|
<vendor>Intel</vendor>
|
||||||
|
<feature policy='require' name='vme'/>
|
||||||
|
<feature policy='require' name='ss'/>
|
||||||
|
<feature policy='require' name='vmx'/>
|
||||||
|
<feature policy='require' name='pdcm'/>
|
||||||
|
<feature policy='require' name='pcid'/>
|
||||||
|
<feature policy='require' name='hypervisor'/>
|
||||||
|
<feature policy='require' name='arat'/>
|
||||||
|
<feature policy='require' name='tsc_adjust'/>
|
||||||
|
<feature policy='require' name='umip'/>
|
||||||
|
<feature policy='require' name='md-clear'/>
|
||||||
|
<feature policy='require' name='stibp'/>
|
||||||
|
<feature policy='require' name='arch-capabilities'/>
|
||||||
|
<feature policy='require' name='ssbd'/>
|
||||||
|
<feature policy='require' name='xsaveopt'/>
|
||||||
|
<feature policy='require' name='pdpe1gb'/>
|
||||||
|
<feature policy='require' name='ibpb'/>
|
||||||
|
<feature policy='require' name='amd-stibp'/>
|
||||||
|
<feature policy='require' name='amd-ssbd'/>
|
||||||
|
<feature policy='require' name='skip-l1dfl-vmentry'/>
|
||||||
|
<feature policy='require' name='pschange-mc-no'/>
|
||||||
|
</cpu>
|
||||||
|
<clock offset='utc'>
|
||||||
|
<timer name='rtc' tickpolicy='catchup'/>
|
||||||
|
<timer name='pit' tickpolicy='delay'/>
|
||||||
|
<timer name='hpet' present='no'/>
|
||||||
|
</clock>
|
||||||
|
<on_poweroff>destroy</on_poweroff>
|
||||||
|
<on_reboot>restart</on_reboot>
|
||||||
|
<on_crash>destroy</on_crash>
|
||||||
|
<pm>
|
||||||
|
<suspend-to-mem enabled='no'/>
|
||||||
|
<suspend-to-disk enabled='no'/>
|
||||||
|
</pm>
|
||||||
|
<devices>
|
||||||
|
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
||||||
|
<disk type='block' device='disk'>
|
||||||
|
<driver name='qemu' type='raw'/>
|
||||||
|
<source dev='/dev/zvol/vol0/vpp0-3'/>
|
||||||
|
<backingStore/>
|
||||||
|
<target dev='vda' bus='virtio'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
|
||||||
|
</disk>
|
||||||
|
<controller type='usb' index='0' model='qemu-xhci' ports='15'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='sata' index='0'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='0' model='pcie-root'/>
|
||||||
|
<controller type='pci' index='1' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='1' port='0x10'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='2' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='2' port='0x11'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='3' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='3' port='0x12'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='4' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='4' port='0x13'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='5' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='5' port='0x14'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='6' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='6' port='0x15'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x5'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='7' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='7' port='0x16'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x6'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='8' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='8' port='0x17'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x7'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='9' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='9' port='0x18'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0' multifunction='on'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='10' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='10' port='0x19'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x1'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='11' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='11' port='0x1a'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x2'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='12' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='12' port='0x1b'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x3'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='13' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='13' port='0x1c'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x4'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='14' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='14' port='0x1d'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x5'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='15' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='15' port='0x1e'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x6'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='16' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='16' port='0x1f'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x7'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='virtio-serial' index='0'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
|
||||||
|
</controller>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F0:01:30'/>
|
||||||
|
<source bridge='mgmt'/>
|
||||||
|
<target dev='vpp0-3-mgmt'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
|
||||||
|
</interface>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F0:11:30'/>
|
||||||
|
<source bridge='vpplan'/>
|
||||||
|
<virtualport type='openvswitch'>
|
||||||
|
</virtualport>
|
||||||
|
<target dev='vpp0-3-0'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<mtu size='9216'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x10' slot='0x00' function='0x0' multifunction='on'/>
|
||||||
|
</interface>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F0:11:31'/>
|
||||||
|
<source bridge='vpplan'/>
|
||||||
|
<virtualport type='openvswitch'>
|
||||||
|
</virtualport>
|
||||||
|
<target dev='vpp0-3-1'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<mtu size='9216'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x10' slot='0x00' function='0x1'/>
|
||||||
|
</interface>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F0:11:32'/>
|
||||||
|
<source bridge='vpplan'/>
|
||||||
|
<virtualport type='openvswitch'>
|
||||||
|
</virtualport>
|
||||||
|
<target dev='vpp0-3-2'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<mtu size='9216'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x10' slot='0x00' function='0x2'/>
|
||||||
|
</interface>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F0:11:33'/>
|
||||||
|
<source bridge='vpplan'/>
|
||||||
|
<virtualport type='openvswitch'>
|
||||||
|
</virtualport>
|
||||||
|
<target dev='vpp0-3-3'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<mtu size='9216'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x10' slot='0x00' function='0x3'/>
|
||||||
|
</interface>
|
||||||
|
<serial type='pty'>
|
||||||
|
<target type='isa-serial' port='0'>
|
||||||
|
<model name='isa-serial'/>
|
||||||
|
</target>
|
||||||
|
</serial>
|
||||||
|
<console type='pty'>
|
||||||
|
<target type='serial' port='0'/>
|
||||||
|
</console>
|
||||||
|
<channel type='unix'>
|
||||||
|
<target type='virtio' name='org.qemu.guest_agent.0'/>
|
||||||
|
<address type='virtio-serial' controller='0' bus='0' port='1'/>
|
||||||
|
</channel>
|
||||||
|
<channel type='spicevmc'>
|
||||||
|
<target type='virtio' name='com.redhat.spice.0'/>
|
||||||
|
<address type='virtio-serial' controller='0' bus='0' port='2'/>
|
||||||
|
</channel>
|
||||||
|
<input type='tablet' bus='usb'>
|
||||||
|
<address type='usb' bus='0' port='1'/>
|
||||||
|
</input>
|
||||||
|
<input type='mouse' bus='ps2'/>
|
||||||
|
<input type='keyboard' bus='ps2'/>
|
||||||
|
<graphics type='spice' autoport='yes' listen='127.0.0.1'>
|
||||||
|
<listen type='address' address='127.0.0.1'/>
|
||||||
|
<image compression='off'/>
|
||||||
|
</graphics>
|
||||||
|
<sound model='ich9'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x1b' function='0x0'/>
|
||||||
|
</sound>
|
||||||
|
<video>
|
||||||
|
<model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
|
||||||
|
</video>
|
||||||
|
<redirdev bus='usb' type='spicevmc'>
|
||||||
|
<address type='usb' bus='0' port='2'/>
|
||||||
|
</redirdev>
|
||||||
|
<redirdev bus='usb' type='spicevmc'>
|
||||||
|
<address type='usb' bus='0' port='3'/>
|
||||||
|
</redirdev>
|
||||||
|
<memballoon model='virtio'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
|
||||||
|
</memballoon>
|
||||||
|
<rng model='virtio'>
|
||||||
|
<backend model='random'>/dev/urandom</backend>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
|
||||||
|
</rng>
|
||||||
|
</devices>
|
||||||
|
<seclabel type='dynamic' model='apparmor' relabel='yes'/>
|
||||||
|
<seclabel type='dynamic' model='dac' relabel='yes'/>
|
||||||
|
</domain>
|
@ -7,7 +7,7 @@ network:
|
|||||||
accept-ra: false
|
accept-ra: false
|
||||||
dhcp4: false
|
dhcp4: false
|
||||||
mtu: 9000
|
mtu: 9000
|
||||||
addresses: [ 198.19.5.27/26, 2001:678:d78:50b::1b/64 ]
|
addresses: [ 198.19.5.27/24, 2001:678:d78:50b::1b/64 ]
|
||||||
routes:
|
routes:
|
||||||
- to: 0.0.0.0/0
|
- to: 0.0.0.0/0
|
||||||
via: 198.19.5.1
|
via: 198.19.5.1
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
echo " * Fixing permissions"
|
echo " * Fixing permissions"
|
||||||
chown -R root. /root/
|
chown -R root:root /root/
|
||||||
chown -R ipng. /home/ipng/
|
chown -R ipng:ipng /home/ipng/
|
||||||
|
|
||||||
[ -r /etc/rc.local ] && chmod 755 /etc/rc.local
|
[ -r /etc/rc.local ] && chmod 755 /etc/rc.local
|
254
build/bird/hvn1.lab.ipng.ch/host1-0/root/libvirt.xml
Normal file
254
build/bird/hvn1.lab.ipng.ch/host1-0/root/libvirt.xml
Normal file
@ -0,0 +1,254 @@
|
|||||||
|
<domain type='kvm'>
|
||||||
|
<name>host1-0</name>
|
||||||
|
<uuid>bb46a5ac-505c-062f-bea2-f79e2125ed0d</uuid>
|
||||||
|
<metadata>
|
||||||
|
<libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
|
||||||
|
<libosinfo:os id="http://debian.org/debian/10"/>
|
||||||
|
</libosinfo:libosinfo>
|
||||||
|
</metadata>
|
||||||
|
<memory unit='KiB'>8388608</memory>
|
||||||
|
<currentMemory unit='KiB'>8388608</currentMemory>
|
||||||
|
<vcpu placement='static'>2</vcpu>
|
||||||
|
<resource>
|
||||||
|
<partition>/machine</partition>
|
||||||
|
</resource>
|
||||||
|
<os>
|
||||||
|
<type arch='x86_64' machine='pc-q35-5.2'>hvm</type>
|
||||||
|
<boot dev='hd'/>
|
||||||
|
</os>
|
||||||
|
<features>
|
||||||
|
<acpi/>
|
||||||
|
<apic/>
|
||||||
|
<vmport state='off'/>
|
||||||
|
</features>
|
||||||
|
<cpu mode='custom' match='exact' check='full'>
|
||||||
|
<model fallback='forbid'>SandyBridge-IBRS</model>
|
||||||
|
<vendor>Intel</vendor>
|
||||||
|
<feature policy='require' name='vme'/>
|
||||||
|
<feature policy='require' name='ss'/>
|
||||||
|
<feature policy='require' name='vmx'/>
|
||||||
|
<feature policy='require' name='pdcm'/>
|
||||||
|
<feature policy='require' name='pcid'/>
|
||||||
|
<feature policy='require' name='hypervisor'/>
|
||||||
|
<feature policy='require' name='arat'/>
|
||||||
|
<feature policy='require' name='tsc_adjust'/>
|
||||||
|
<feature policy='require' name='umip'/>
|
||||||
|
<feature policy='require' name='md-clear'/>
|
||||||
|
<feature policy='require' name='stibp'/>
|
||||||
|
<feature policy='require' name='arch-capabilities'/>
|
||||||
|
<feature policy='require' name='ssbd'/>
|
||||||
|
<feature policy='require' name='xsaveopt'/>
|
||||||
|
<feature policy='require' name='pdpe1gb'/>
|
||||||
|
<feature policy='require' name='ibpb'/>
|
||||||
|
<feature policy='require' name='amd-stibp'/>
|
||||||
|
<feature policy='require' name='amd-ssbd'/>
|
||||||
|
<feature policy='require' name='skip-l1dfl-vmentry'/>
|
||||||
|
<feature policy='require' name='pschange-mc-no'/>
|
||||||
|
</cpu>
|
||||||
|
<clock offset='utc'>
|
||||||
|
<timer name='rtc' tickpolicy='catchup'/>
|
||||||
|
<timer name='pit' tickpolicy='delay'/>
|
||||||
|
<timer name='hpet' present='no'/>
|
||||||
|
</clock>
|
||||||
|
<on_poweroff>destroy</on_poweroff>
|
||||||
|
<on_reboot>restart</on_reboot>
|
||||||
|
<on_crash>destroy</on_crash>
|
||||||
|
<pm>
|
||||||
|
<suspend-to-mem enabled='no'/>
|
||||||
|
<suspend-to-disk enabled='no'/>
|
||||||
|
</pm>
|
||||||
|
<devices>
|
||||||
|
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
||||||
|
<disk type='block' device='disk'>
|
||||||
|
<driver name='qemu' type='raw'/>
|
||||||
|
<source dev='/dev/zvol/vol0/host1-0'/>
|
||||||
|
<backingStore/>
|
||||||
|
<target dev='vda' bus='virtio'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
|
||||||
|
</disk>
|
||||||
|
<controller type='usb' index='0' model='qemu-xhci' ports='15'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='sata' index='0'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='0' model='pcie-root'/>
|
||||||
|
<controller type='pci' index='1' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='1' port='0x10'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='2' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='2' port='0x11'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='3' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='3' port='0x12'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='4' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='4' port='0x13'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='5' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='5' port='0x14'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='6' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='6' port='0x15'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x5'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='7' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='7' port='0x16'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x6'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='8' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='8' port='0x17'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x7'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='9' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='9' port='0x18'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0' multifunction='on'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='10' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='10' port='0x19'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x1'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='11' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='11' port='0x1a'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x2'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='12' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='12' port='0x1b'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x3'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='13' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='13' port='0x1c'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x4'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='14' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='14' port='0x1d'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x5'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='15' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='15' port='0x1e'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x6'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='16' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='16' port='0x1f'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x7'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='virtio-serial' index='0'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
|
||||||
|
</controller>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F1:00:00'/>
|
||||||
|
<source bridge='mgmt'/>
|
||||||
|
<target dev='host1-0-mgmt'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
|
||||||
|
</interface>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F1:10:00'/>
|
||||||
|
<source bridge='vpplan'/>
|
||||||
|
<virtualport type='openvswitch'>
|
||||||
|
</virtualport>
|
||||||
|
<target dev='host1-0-0'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<mtu size='9216'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x10' slot='0x00' function='0x0' multifunction='on'/>
|
||||||
|
</interface>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F1:10:01'/>
|
||||||
|
<source bridge='vpplan'/>
|
||||||
|
<virtualport type='openvswitch'>
|
||||||
|
</virtualport>
|
||||||
|
<target dev='host1-0-1'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<mtu size='9216'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x10' slot='0x00' function='0x1'/>
|
||||||
|
</interface>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F1:10:02'/>
|
||||||
|
<source bridge='vpplan'/>
|
||||||
|
<virtualport type='openvswitch'>
|
||||||
|
</virtualport>
|
||||||
|
<target dev='host1-0-2'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<mtu size='9216'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x10' slot='0x00' function='0x2'/>
|
||||||
|
</interface>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F1:10:03'/>
|
||||||
|
<source bridge='vpplan'/>
|
||||||
|
<virtualport type='openvswitch'>
|
||||||
|
</virtualport>
|
||||||
|
<target dev='host1-0-3'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<mtu size='9216'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x10' slot='0x00' function='0x3'/>
|
||||||
|
</interface>
|
||||||
|
<serial type='pty'>
|
||||||
|
<target type='isa-serial' port='0'>
|
||||||
|
<model name='isa-serial'/>
|
||||||
|
</target>
|
||||||
|
</serial>
|
||||||
|
<console type='pty'>
|
||||||
|
<target type='serial' port='0'/>
|
||||||
|
</console>
|
||||||
|
<channel type='unix'>
|
||||||
|
<target type='virtio' name='org.qemu.guest_agent.0'/>
|
||||||
|
<address type='virtio-serial' controller='0' bus='0' port='1'/>
|
||||||
|
</channel>
|
||||||
|
<channel type='spicevmc'>
|
||||||
|
<target type='virtio' name='com.redhat.spice.0'/>
|
||||||
|
<address type='virtio-serial' controller='0' bus='0' port='2'/>
|
||||||
|
</channel>
|
||||||
|
<input type='tablet' bus='usb'>
|
||||||
|
<address type='usb' bus='0' port='1'/>
|
||||||
|
</input>
|
||||||
|
<input type='mouse' bus='ps2'/>
|
||||||
|
<input type='keyboard' bus='ps2'/>
|
||||||
|
<graphics type='spice' autoport='yes' listen='127.0.0.1'>
|
||||||
|
<listen type='address' address='127.0.0.1'/>
|
||||||
|
<image compression='off'/>
|
||||||
|
</graphics>
|
||||||
|
<sound model='ich9'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x1b' function='0x0'/>
|
||||||
|
</sound>
|
||||||
|
<video>
|
||||||
|
<model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
|
||||||
|
</video>
|
||||||
|
<redirdev bus='usb' type='spicevmc'>
|
||||||
|
<address type='usb' bus='0' port='2'/>
|
||||||
|
</redirdev>
|
||||||
|
<redirdev bus='usb' type='spicevmc'>
|
||||||
|
<address type='usb' bus='0' port='3'/>
|
||||||
|
</redirdev>
|
||||||
|
<memballoon model='virtio'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
|
||||||
|
</memballoon>
|
||||||
|
<rng model='virtio'>
|
||||||
|
<backend model='random'>/dev/urandom</backend>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
|
||||||
|
</rng>
|
||||||
|
</devices>
|
||||||
|
<seclabel type='dynamic' model='apparmor' relabel='yes'/>
|
||||||
|
<seclabel type='dynamic' model='dac' relabel='yes'/>
|
||||||
|
</domain>
|
@ -7,7 +7,7 @@ network:
|
|||||||
accept-ra: false
|
accept-ra: false
|
||||||
dhcp4: false
|
dhcp4: false
|
||||||
mtu: 9000
|
mtu: 9000
|
||||||
addresses: [ 198.19.5.28/26, 2001:678:d78:50b::1c/64 ]
|
addresses: [ 198.19.5.28/24, 2001:678:d78:50b::1c/64 ]
|
||||||
routes:
|
routes:
|
||||||
- to: 0.0.0.0/0
|
- to: 0.0.0.0/0
|
||||||
via: 198.19.5.1
|
via: 198.19.5.1
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
echo " * Fixing permissions"
|
echo " * Fixing permissions"
|
||||||
chown -R root. /root/
|
chown -R root:root /root/
|
||||||
chown -R ipng. /home/ipng/
|
chown -R ipng:ipng /home/ipng/
|
||||||
|
|
||||||
[ -r /etc/rc.local ] && chmod 755 /etc/rc.local
|
[ -r /etc/rc.local ] && chmod 755 /etc/rc.local
|
254
build/bird/hvn1.lab.ipng.ch/host1-1/root/libvirt.xml
Normal file
254
build/bird/hvn1.lab.ipng.ch/host1-1/root/libvirt.xml
Normal file
@ -0,0 +1,254 @@
|
|||||||
|
<domain type='kvm'>
|
||||||
|
<name>host1-1</name>
|
||||||
|
<uuid>527bc146-c93c-3ca4-c9aa-e51e586e5d44</uuid>
|
||||||
|
<metadata>
|
||||||
|
<libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
|
||||||
|
<libosinfo:os id="http://debian.org/debian/10"/>
|
||||||
|
</libosinfo:libosinfo>
|
||||||
|
</metadata>
|
||||||
|
<memory unit='KiB'>8388608</memory>
|
||||||
|
<currentMemory unit='KiB'>8388608</currentMemory>
|
||||||
|
<vcpu placement='static'>2</vcpu>
|
||||||
|
<resource>
|
||||||
|
<partition>/machine</partition>
|
||||||
|
</resource>
|
||||||
|
<os>
|
||||||
|
<type arch='x86_64' machine='pc-q35-5.2'>hvm</type>
|
||||||
|
<boot dev='hd'/>
|
||||||
|
</os>
|
||||||
|
<features>
|
||||||
|
<acpi/>
|
||||||
|
<apic/>
|
||||||
|
<vmport state='off'/>
|
||||||
|
</features>
|
||||||
|
<cpu mode='custom' match='exact' check='full'>
|
||||||
|
<model fallback='forbid'>SandyBridge-IBRS</model>
|
||||||
|
<vendor>Intel</vendor>
|
||||||
|
<feature policy='require' name='vme'/>
|
||||||
|
<feature policy='require' name='ss'/>
|
||||||
|
<feature policy='require' name='vmx'/>
|
||||||
|
<feature policy='require' name='pdcm'/>
|
||||||
|
<feature policy='require' name='pcid'/>
|
||||||
|
<feature policy='require' name='hypervisor'/>
|
||||||
|
<feature policy='require' name='arat'/>
|
||||||
|
<feature policy='require' name='tsc_adjust'/>
|
||||||
|
<feature policy='require' name='umip'/>
|
||||||
|
<feature policy='require' name='md-clear'/>
|
||||||
|
<feature policy='require' name='stibp'/>
|
||||||
|
<feature policy='require' name='arch-capabilities'/>
|
||||||
|
<feature policy='require' name='ssbd'/>
|
||||||
|
<feature policy='require' name='xsaveopt'/>
|
||||||
|
<feature policy='require' name='pdpe1gb'/>
|
||||||
|
<feature policy='require' name='ibpb'/>
|
||||||
|
<feature policy='require' name='amd-stibp'/>
|
||||||
|
<feature policy='require' name='amd-ssbd'/>
|
||||||
|
<feature policy='require' name='skip-l1dfl-vmentry'/>
|
||||||
|
<feature policy='require' name='pschange-mc-no'/>
|
||||||
|
</cpu>
|
||||||
|
<clock offset='utc'>
|
||||||
|
<timer name='rtc' tickpolicy='catchup'/>
|
||||||
|
<timer name='pit' tickpolicy='delay'/>
|
||||||
|
<timer name='hpet' present='no'/>
|
||||||
|
</clock>
|
||||||
|
<on_poweroff>destroy</on_poweroff>
|
||||||
|
<on_reboot>restart</on_reboot>
|
||||||
|
<on_crash>destroy</on_crash>
|
||||||
|
<pm>
|
||||||
|
<suspend-to-mem enabled='no'/>
|
||||||
|
<suspend-to-disk enabled='no'/>
|
||||||
|
</pm>
|
||||||
|
<devices>
|
||||||
|
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
||||||
|
<disk type='block' device='disk'>
|
||||||
|
<driver name='qemu' type='raw'/>
|
||||||
|
<source dev='/dev/zvol/vol0/host1-1'/>
|
||||||
|
<backingStore/>
|
||||||
|
<target dev='vda' bus='virtio'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
|
||||||
|
</disk>
|
||||||
|
<controller type='usb' index='0' model='qemu-xhci' ports='15'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='sata' index='0'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='0' model='pcie-root'/>
|
||||||
|
<controller type='pci' index='1' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='1' port='0x10'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='2' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='2' port='0x11'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='3' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='3' port='0x12'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='4' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='4' port='0x13'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='5' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='5' port='0x14'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='6' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='6' port='0x15'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x5'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='7' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='7' port='0x16'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x6'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='8' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='8' port='0x17'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x7'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='9' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='9' port='0x18'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0' multifunction='on'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='10' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='10' port='0x19'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x1'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='11' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='11' port='0x1a'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x2'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='12' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='12' port='0x1b'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x3'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='13' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='13' port='0x1c'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x4'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='14' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='14' port='0x1d'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x5'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='15' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='15' port='0x1e'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x6'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='16' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='16' port='0x1f'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x7'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='virtio-serial' index='0'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
|
||||||
|
</controller>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F1:00:10'/>
|
||||||
|
<source bridge='mgmt'/>
|
||||||
|
<target dev='host1-1-mgmt'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
|
||||||
|
</interface>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F1:10:10'/>
|
||||||
|
<source bridge='vpplan'/>
|
||||||
|
<virtualport type='openvswitch'>
|
||||||
|
</virtualport>
|
||||||
|
<target dev='host1-1-0'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<mtu size='9216'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x10' slot='0x00' function='0x0' multifunction='on'/>
|
||||||
|
</interface>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F1:10:11'/>
|
||||||
|
<source bridge='vpplan'/>
|
||||||
|
<virtualport type='openvswitch'>
|
||||||
|
</virtualport>
|
||||||
|
<target dev='host1-1-1'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<mtu size='9216'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x10' slot='0x00' function='0x1'/>
|
||||||
|
</interface>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F1:10:12'/>
|
||||||
|
<source bridge='vpplan'/>
|
||||||
|
<virtualport type='openvswitch'>
|
||||||
|
</virtualport>
|
||||||
|
<target dev='host1-1-2'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<mtu size='9216'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x10' slot='0x00' function='0x2'/>
|
||||||
|
</interface>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F1:10:13'/>
|
||||||
|
<source bridge='vpplan'/>
|
||||||
|
<virtualport type='openvswitch'>
|
||||||
|
</virtualport>
|
||||||
|
<target dev='host1-1-3'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<mtu size='9216'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x10' slot='0x00' function='0x3'/>
|
||||||
|
</interface>
|
||||||
|
<serial type='pty'>
|
||||||
|
<target type='isa-serial' port='0'>
|
||||||
|
<model name='isa-serial'/>
|
||||||
|
</target>
|
||||||
|
</serial>
|
||||||
|
<console type='pty'>
|
||||||
|
<target type='serial' port='0'/>
|
||||||
|
</console>
|
||||||
|
<channel type='unix'>
|
||||||
|
<target type='virtio' name='org.qemu.guest_agent.0'/>
|
||||||
|
<address type='virtio-serial' controller='0' bus='0' port='1'/>
|
||||||
|
</channel>
|
||||||
|
<channel type='spicevmc'>
|
||||||
|
<target type='virtio' name='com.redhat.spice.0'/>
|
||||||
|
<address type='virtio-serial' controller='0' bus='0' port='2'/>
|
||||||
|
</channel>
|
||||||
|
<input type='tablet' bus='usb'>
|
||||||
|
<address type='usb' bus='0' port='1'/>
|
||||||
|
</input>
|
||||||
|
<input type='mouse' bus='ps2'/>
|
||||||
|
<input type='keyboard' bus='ps2'/>
|
||||||
|
<graphics type='spice' autoport='yes' listen='127.0.0.1'>
|
||||||
|
<listen type='address' address='127.0.0.1'/>
|
||||||
|
<image compression='off'/>
|
||||||
|
</graphics>
|
||||||
|
<sound model='ich9'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x1b' function='0x0'/>
|
||||||
|
</sound>
|
||||||
|
<video>
|
||||||
|
<model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
|
||||||
|
</video>
|
||||||
|
<redirdev bus='usb' type='spicevmc'>
|
||||||
|
<address type='usb' bus='0' port='2'/>
|
||||||
|
</redirdev>
|
||||||
|
<redirdev bus='usb' type='spicevmc'>
|
||||||
|
<address type='usb' bus='0' port='3'/>
|
||||||
|
</redirdev>
|
||||||
|
<memballoon model='virtio'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
|
||||||
|
</memballoon>
|
||||||
|
<rng model='virtio'>
|
||||||
|
<backend model='random'>/dev/urandom</backend>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
|
||||||
|
</rng>
|
||||||
|
</devices>
|
||||||
|
<seclabel type='dynamic' model='apparmor' relabel='yes'/>
|
||||||
|
<seclabel type='dynamic' model='dac' relabel='yes'/>
|
||||||
|
</domain>
|
@ -7,7 +7,7 @@ network:
|
|||||||
accept-ra: false
|
accept-ra: false
|
||||||
dhcp4: false
|
dhcp4: false
|
||||||
mtu: 9000
|
mtu: 9000
|
||||||
addresses: [ 198.19.5.29/26, 2001:678:d78:50b::1d/64 ]
|
addresses: [ 198.19.5.29/24, 2001:678:d78:50b::1d/64 ]
|
||||||
routes:
|
routes:
|
||||||
- to: 0.0.0.0/0
|
- to: 0.0.0.0/0
|
||||||
via: 198.19.5.1
|
via: 198.19.5.1
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
echo " * Fixing permissions"
|
echo " * Fixing permissions"
|
||||||
chown -R root. /root/
|
chown -R root:root /root/
|
||||||
chown -R ipng. /home/ipng/
|
chown -R ipng:ipng /home/ipng/
|
||||||
|
|
||||||
[ -r /etc/rc.local ] && chmod 755 /etc/rc.local
|
[ -r /etc/rc.local ] && chmod 755 /etc/rc.local
|
254
build/bird/hvn1.lab.ipng.ch/tap1-0/root/libvirt.xml
Normal file
254
build/bird/hvn1.lab.ipng.ch/tap1-0/root/libvirt.xml
Normal file
@ -0,0 +1,254 @@
|
|||||||
|
<domain type='kvm'>
|
||||||
|
<name>tap1-0</name>
|
||||||
|
<uuid>57080cbb-93b0-5982-2984-74efa8d4c4ac</uuid>
|
||||||
|
<metadata>
|
||||||
|
<libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
|
||||||
|
<libosinfo:os id="http://debian.org/debian/10"/>
|
||||||
|
</libosinfo:libosinfo>
|
||||||
|
</metadata>
|
||||||
|
<memory unit='KiB'>8388608</memory>
|
||||||
|
<currentMemory unit='KiB'>8388608</currentMemory>
|
||||||
|
<vcpu placement='static'>2</vcpu>
|
||||||
|
<resource>
|
||||||
|
<partition>/machine</partition>
|
||||||
|
</resource>
|
||||||
|
<os>
|
||||||
|
<type arch='x86_64' machine='pc-q35-5.2'>hvm</type>
|
||||||
|
<boot dev='hd'/>
|
||||||
|
</os>
|
||||||
|
<features>
|
||||||
|
<acpi/>
|
||||||
|
<apic/>
|
||||||
|
<vmport state='off'/>
|
||||||
|
</features>
|
||||||
|
<cpu mode='custom' match='exact' check='full'>
|
||||||
|
<model fallback='forbid'>SandyBridge-IBRS</model>
|
||||||
|
<vendor>Intel</vendor>
|
||||||
|
<feature policy='require' name='vme'/>
|
||||||
|
<feature policy='require' name='ss'/>
|
||||||
|
<feature policy='require' name='vmx'/>
|
||||||
|
<feature policy='require' name='pdcm'/>
|
||||||
|
<feature policy='require' name='pcid'/>
|
||||||
|
<feature policy='require' name='hypervisor'/>
|
||||||
|
<feature policy='require' name='arat'/>
|
||||||
|
<feature policy='require' name='tsc_adjust'/>
|
||||||
|
<feature policy='require' name='umip'/>
|
||||||
|
<feature policy='require' name='md-clear'/>
|
||||||
|
<feature policy='require' name='stibp'/>
|
||||||
|
<feature policy='require' name='arch-capabilities'/>
|
||||||
|
<feature policy='require' name='ssbd'/>
|
||||||
|
<feature policy='require' name='xsaveopt'/>
|
||||||
|
<feature policy='require' name='pdpe1gb'/>
|
||||||
|
<feature policy='require' name='ibpb'/>
|
||||||
|
<feature policy='require' name='amd-stibp'/>
|
||||||
|
<feature policy='require' name='amd-ssbd'/>
|
||||||
|
<feature policy='require' name='skip-l1dfl-vmentry'/>
|
||||||
|
<feature policy='require' name='pschange-mc-no'/>
|
||||||
|
</cpu>
|
||||||
|
<clock offset='utc'>
|
||||||
|
<timer name='rtc' tickpolicy='catchup'/>
|
||||||
|
<timer name='pit' tickpolicy='delay'/>
|
||||||
|
<timer name='hpet' present='no'/>
|
||||||
|
</clock>
|
||||||
|
<on_poweroff>destroy</on_poweroff>
|
||||||
|
<on_reboot>restart</on_reboot>
|
||||||
|
<on_crash>destroy</on_crash>
|
||||||
|
<pm>
|
||||||
|
<suspend-to-mem enabled='no'/>
|
||||||
|
<suspend-to-disk enabled='no'/>
|
||||||
|
</pm>
|
||||||
|
<devices>
|
||||||
|
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
||||||
|
<disk type='block' device='disk'>
|
||||||
|
<driver name='qemu' type='raw'/>
|
||||||
|
<source dev='/dev/zvol/vol0/tap1-0'/>
|
||||||
|
<backingStore/>
|
||||||
|
<target dev='vda' bus='virtio'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
|
||||||
|
</disk>
|
||||||
|
<controller type='usb' index='0' model='qemu-xhci' ports='15'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='sata' index='0'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='0' model='pcie-root'/>
|
||||||
|
<controller type='pci' index='1' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='1' port='0x10'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='2' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='2' port='0x11'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='3' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='3' port='0x12'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='4' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='4' port='0x13'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='5' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='5' port='0x14'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='6' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='6' port='0x15'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x5'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='7' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='7' port='0x16'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x6'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='8' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='8' port='0x17'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x7'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='9' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='9' port='0x18'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0' multifunction='on'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='10' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='10' port='0x19'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x1'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='11' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='11' port='0x1a'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x2'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='12' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='12' port='0x1b'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x3'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='13' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='13' port='0x1c'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x4'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='14' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='14' port='0x1d'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x5'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='15' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='15' port='0x1e'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x6'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='16' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='16' port='0x1f'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x7'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='virtio-serial' index='0'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
|
||||||
|
</controller>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F1:02:00'/>
|
||||||
|
<source bridge='mgmt'/>
|
||||||
|
<target dev='tap1-0-mgmt'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
|
||||||
|
</interface>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F1:12:00'/>
|
||||||
|
<source bridge='vpplan'/>
|
||||||
|
<virtualport type='openvswitch'>
|
||||||
|
</virtualport>
|
||||||
|
<target dev='tap1-0-0'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<mtu size='9216'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x10' slot='0x00' function='0x0' multifunction='on'/>
|
||||||
|
</interface>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F1:12:01'/>
|
||||||
|
<source bridge='vpplan'/>
|
||||||
|
<virtualport type='openvswitch'>
|
||||||
|
</virtualport>
|
||||||
|
<target dev='tap1-0-1'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<mtu size='9216'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x10' slot='0x00' function='0x1'/>
|
||||||
|
</interface>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F1:12:02'/>
|
||||||
|
<source bridge='vpplan'/>
|
||||||
|
<virtualport type='openvswitch'>
|
||||||
|
</virtualport>
|
||||||
|
<target dev='tap1-0-2'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<mtu size='9216'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x10' slot='0x00' function='0x2'/>
|
||||||
|
</interface>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F1:12:03'/>
|
||||||
|
<source bridge='vpplan'/>
|
||||||
|
<virtualport type='openvswitch'>
|
||||||
|
</virtualport>
|
||||||
|
<target dev='tap1-0-3'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<mtu size='9216'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x10' slot='0x00' function='0x3'/>
|
||||||
|
</interface>
|
||||||
|
<serial type='pty'>
|
||||||
|
<target type='isa-serial' port='0'>
|
||||||
|
<model name='isa-serial'/>
|
||||||
|
</target>
|
||||||
|
</serial>
|
||||||
|
<console type='pty'>
|
||||||
|
<target type='serial' port='0'/>
|
||||||
|
</console>
|
||||||
|
<channel type='unix'>
|
||||||
|
<target type='virtio' name='org.qemu.guest_agent.0'/>
|
||||||
|
<address type='virtio-serial' controller='0' bus='0' port='1'/>
|
||||||
|
</channel>
|
||||||
|
<channel type='spicevmc'>
|
||||||
|
<target type='virtio' name='com.redhat.spice.0'/>
|
||||||
|
<address type='virtio-serial' controller='0' bus='0' port='2'/>
|
||||||
|
</channel>
|
||||||
|
<input type='tablet' bus='usb'>
|
||||||
|
<address type='usb' bus='0' port='1'/>
|
||||||
|
</input>
|
||||||
|
<input type='mouse' bus='ps2'/>
|
||||||
|
<input type='keyboard' bus='ps2'/>
|
||||||
|
<graphics type='spice' autoport='yes' listen='127.0.0.1'>
|
||||||
|
<listen type='address' address='127.0.0.1'/>
|
||||||
|
<image compression='off'/>
|
||||||
|
</graphics>
|
||||||
|
<sound model='ich9'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x1b' function='0x0'/>
|
||||||
|
</sound>
|
||||||
|
<video>
|
||||||
|
<model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
|
||||||
|
</video>
|
||||||
|
<redirdev bus='usb' type='spicevmc'>
|
||||||
|
<address type='usb' bus='0' port='2'/>
|
||||||
|
</redirdev>
|
||||||
|
<redirdev bus='usb' type='spicevmc'>
|
||||||
|
<address type='usb' bus='0' port='3'/>
|
||||||
|
</redirdev>
|
||||||
|
<memballoon model='virtio'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
|
||||||
|
</memballoon>
|
||||||
|
<rng model='virtio'>
|
||||||
|
<backend model='random'>/dev/urandom</backend>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
|
||||||
|
</rng>
|
||||||
|
</devices>
|
||||||
|
<seclabel type='dynamic' model='apparmor' relabel='yes'/>
|
||||||
|
<seclabel type='dynamic' model='dac' relabel='yes'/>
|
||||||
|
</domain>
|
@ -17,4 +17,5 @@ protocol kernel kernel6 {
|
|||||||
include "core/static.conf";
|
include "core/static.conf";
|
||||||
include "core/bfd.conf";
|
include "core/bfd.conf";
|
||||||
include "core/ospf.conf";
|
include "core/ospf.conf";
|
||||||
|
# include "core/babel.conf";
|
||||||
include "manual.conf";
|
include "manual.conf";
|
||||||
|
13
build/bird/hvn1.lab.ipng.ch/vpp1-0/etc/bird/core/babel.conf
Normal file
13
build/bird/hvn1.lab.ipng.ch/vpp1-0/etc/bird/core/babel.conf
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
protocol babel {
|
||||||
|
interface "e0", "e1" {
|
||||||
|
type wired;
|
||||||
|
extended next hop on;
|
||||||
|
rtt cost 1000;
|
||||||
|
rtt min 5ms;
|
||||||
|
rtt max 30ms;
|
||||||
|
authentication mac permissive;
|
||||||
|
password "IPng loves bird";
|
||||||
|
};
|
||||||
|
ipv6 { import all; export all; };
|
||||||
|
ipv4 { import all; export all; };
|
||||||
|
}
|
@ -1,21 +1,17 @@
|
|||||||
protocol ospf v2 ospf4 {
|
protocol ospf v2 ospf4 {
|
||||||
ipv4 { export where (source = RTS_DEVICE || source = RTS_STATIC); import all; };
|
ipv4 { export where net ~ [ 192.168.11.0/24+, 0.0.0.0/0 ]; import where net ~ [ 192.168.11.0/24+, 0.0.0.0/0 ]; };
|
||||||
area 0 {
|
area 0 {
|
||||||
interface "loop0" { stub yes; };
|
interface "loop0" { stub yes; };
|
||||||
interface "e0" { type pointopoint; cost 5; bfd off; };
|
interface "e0" { type pointopoint; cost 5; bfd off; };
|
||||||
interface "e1" { type pointopoint; cost 5; bfd off; };
|
interface "e1" { type pointopoint; cost 5; bfd off; };
|
||||||
interface "e2" { type pointopoint; cost 5; bfd off; };
|
|
||||||
interface "e3" { type pointopoint; cost 5; bfd off; };
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
protocol ospf v3 ospf6 {
|
protocol ospf v3 ospf6 {
|
||||||
ipv6 { export where (source = RTS_DEVICE || source = RTS_STATIC); import all; };
|
ipv6 { export where net ~ [ 2001:678:d78:210::/60+, ::/0 ]; import where net ~ [ 2001:678:d78:210::/60+, ::/0]; };
|
||||||
area 0 {
|
area 0 {
|
||||||
interface "loop0" { stub yes; };
|
interface "loop0" { stub yes; };
|
||||||
interface "e0" { type pointopoint; cost 5; bfd off; };
|
interface "e0" { type pointopoint; cost 5; bfd off; };
|
||||||
interface "e1" { type pointopoint; cost 5; bfd off; };
|
interface "e1" { type pointopoint; cost 5; bfd off; };
|
||||||
interface "e2" { type pointopoint; cost 5; bfd off; };
|
|
||||||
interface "e3" { type pointopoint; cost 5; bfd off; };
|
|
||||||
};
|
};
|
||||||
}
|
}
|
@ -1,15 +1,11 @@
|
|||||||
protocol static static4 {
|
protocol static static4 {
|
||||||
ipv4 { export all; };
|
ipv4 { export all; };
|
||||||
# route 192.0.2.0/24 via 10.0.0.1;
|
|
||||||
route 192.168.11.0/24 unreachable;
|
route 192.168.11.0/24 unreachable;
|
||||||
|
# route 192.0.2.0/24 via 10.0.0.1;
|
||||||
route 0.0.0.0/0 via 192.168.11.4;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protocol static static6 {
|
protocol static static6 {
|
||||||
ipv6 { export all; };
|
ipv6 { export all; };
|
||||||
# route 2001:db8:cafe::/48 via 2001:db8::1;;
|
|
||||||
route 2001:678:d78:210::/60 unreachable;
|
route 2001:678:d78:210::/60 unreachable;
|
||||||
|
# route 2001:db8:cafe::/48 via 2001:db8::1;
|
||||||
route ::/0 via 2001:678:d78:211::ffff;
|
|
||||||
}
|
}
|
||||||
|
@ -7,7 +7,7 @@ network:
|
|||||||
accept-ra: false
|
accept-ra: false
|
||||||
dhcp4: false
|
dhcp4: false
|
||||||
mtu: 9000
|
mtu: 9000
|
||||||
addresses: [ 198.19.5.23/26, 2001:678:d78:50b::17/64 ]
|
addresses: [ 198.19.5.23/24, 2001:678:d78:50b::17/64 ]
|
||||||
routes:
|
routes:
|
||||||
- to: 0.0.0.0/0
|
- to: 0.0.0.0/0
|
||||||
via: 198.19.5.1
|
via: 198.19.5.1
|
||||||
|
@ -4,6 +4,7 @@ exec /etc/vpp/config/loopback.vpp
|
|||||||
exec /etc/vpp/config/interface.vpp
|
exec /etc/vpp/config/interface.vpp
|
||||||
exec /etc/vpp/config/lcp.vpp
|
exec /etc/vpp/config/lcp.vpp
|
||||||
exec /etc/vpp/config/mpls.vpp
|
exec /etc/vpp/config/mpls.vpp
|
||||||
|
exec /etc/vpp/config/sflow.vpp
|
||||||
|
|
||||||
comment { exec /etc/vpp/config/flowprobe.vpp }
|
comment { exec /etc/vpp/config/flowprobe.vpp }
|
||||||
|
|
||||||
|
@ -0,0 +1,8 @@
|
|||||||
|
sflow header-bytes 128
|
||||||
|
sflow sampling-rate 100
|
||||||
|
sflow polling-interval 10
|
||||||
|
|
||||||
|
sflow enable GigabitEthernet10/0/0
|
||||||
|
sflow enable GigabitEthernet10/0/1
|
||||||
|
sflow enable GigabitEthernet10/0/2
|
||||||
|
sflow enable GigabitEthernet10/0/3
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
echo " * Fixing permissions"
|
echo " * Fixing permissions"
|
||||||
chown -R root. /root/
|
chown -R root:root /root/
|
||||||
chown -R ipng. /home/ipng/
|
chown -R ipng:ipng /home/ipng/
|
||||||
|
|
||||||
[ -r /etc/rc.local ] && chmod 755 /etc/rc.local
|
[ -r /etc/rc.local ] && chmod 755 /etc/rc.local
|
254
build/bird/hvn1.lab.ipng.ch/vpp1-0/root/libvirt.xml
Normal file
254
build/bird/hvn1.lab.ipng.ch/vpp1-0/root/libvirt.xml
Normal file
@ -0,0 +1,254 @@
|
|||||||
|
<domain type='kvm'>
|
||||||
|
<name>vpp1-0</name>
|
||||||
|
<uuid>ec39998b-c84e-d620-6d0d-1d0a06a8eac8</uuid>
|
||||||
|
<metadata>
|
||||||
|
<libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
|
||||||
|
<libosinfo:os id="http://debian.org/debian/10"/>
|
||||||
|
</libosinfo:libosinfo>
|
||||||
|
</metadata>
|
||||||
|
<memory unit='KiB'>8388608</memory>
|
||||||
|
<currentMemory unit='KiB'>8388608</currentMemory>
|
||||||
|
<vcpu placement='static'>2</vcpu>
|
||||||
|
<resource>
|
||||||
|
<partition>/machine</partition>
|
||||||
|
</resource>
|
||||||
|
<os>
|
||||||
|
<type arch='x86_64' machine='pc-q35-5.2'>hvm</type>
|
||||||
|
<boot dev='hd'/>
|
||||||
|
</os>
|
||||||
|
<features>
|
||||||
|
<acpi/>
|
||||||
|
<apic/>
|
||||||
|
<vmport state='off'/>
|
||||||
|
</features>
|
||||||
|
<cpu mode='custom' match='exact' check='full'>
|
||||||
|
<model fallback='forbid'>SandyBridge-IBRS</model>
|
||||||
|
<vendor>Intel</vendor>
|
||||||
|
<feature policy='require' name='vme'/>
|
||||||
|
<feature policy='require' name='ss'/>
|
||||||
|
<feature policy='require' name='vmx'/>
|
||||||
|
<feature policy='require' name='pdcm'/>
|
||||||
|
<feature policy='require' name='pcid'/>
|
||||||
|
<feature policy='require' name='hypervisor'/>
|
||||||
|
<feature policy='require' name='arat'/>
|
||||||
|
<feature policy='require' name='tsc_adjust'/>
|
||||||
|
<feature policy='require' name='umip'/>
|
||||||
|
<feature policy='require' name='md-clear'/>
|
||||||
|
<feature policy='require' name='stibp'/>
|
||||||
|
<feature policy='require' name='arch-capabilities'/>
|
||||||
|
<feature policy='require' name='ssbd'/>
|
||||||
|
<feature policy='require' name='xsaveopt'/>
|
||||||
|
<feature policy='require' name='pdpe1gb'/>
|
||||||
|
<feature policy='require' name='ibpb'/>
|
||||||
|
<feature policy='require' name='amd-stibp'/>
|
||||||
|
<feature policy='require' name='amd-ssbd'/>
|
||||||
|
<feature policy='require' name='skip-l1dfl-vmentry'/>
|
||||||
|
<feature policy='require' name='pschange-mc-no'/>
|
||||||
|
</cpu>
|
||||||
|
<clock offset='utc'>
|
||||||
|
<timer name='rtc' tickpolicy='catchup'/>
|
||||||
|
<timer name='pit' tickpolicy='delay'/>
|
||||||
|
<timer name='hpet' present='no'/>
|
||||||
|
</clock>
|
||||||
|
<on_poweroff>destroy</on_poweroff>
|
||||||
|
<on_reboot>restart</on_reboot>
|
||||||
|
<on_crash>destroy</on_crash>
|
||||||
|
<pm>
|
||||||
|
<suspend-to-mem enabled='no'/>
|
||||||
|
<suspend-to-disk enabled='no'/>
|
||||||
|
</pm>
|
||||||
|
<devices>
|
||||||
|
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
||||||
|
<disk type='block' device='disk'>
|
||||||
|
<driver name='qemu' type='raw'/>
|
||||||
|
<source dev='/dev/zvol/vol0/vpp1-0'/>
|
||||||
|
<backingStore/>
|
||||||
|
<target dev='vda' bus='virtio'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
|
||||||
|
</disk>
|
||||||
|
<controller type='usb' index='0' model='qemu-xhci' ports='15'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='sata' index='0'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='0' model='pcie-root'/>
|
||||||
|
<controller type='pci' index='1' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='1' port='0x10'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='2' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='2' port='0x11'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='3' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='3' port='0x12'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='4' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='4' port='0x13'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='5' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='5' port='0x14'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='6' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='6' port='0x15'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x5'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='7' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='7' port='0x16'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x6'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='8' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='8' port='0x17'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x7'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='9' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='9' port='0x18'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0' multifunction='on'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='10' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='10' port='0x19'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x1'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='11' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='11' port='0x1a'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x2'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='12' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='12' port='0x1b'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x3'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='13' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='13' port='0x1c'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x4'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='14' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='14' port='0x1d'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x5'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='15' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='15' port='0x1e'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x6'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='16' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='16' port='0x1f'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x7'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='virtio-serial' index='0'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
|
||||||
|
</controller>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F1:01:00'/>
|
||||||
|
<source bridge='mgmt'/>
|
||||||
|
<target dev='vpp1-0-mgmt'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
|
||||||
|
</interface>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F1:11:00'/>
|
||||||
|
<source bridge='vpplan'/>
|
||||||
|
<virtualport type='openvswitch'>
|
||||||
|
</virtualport>
|
||||||
|
<target dev='vpp1-0-0'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<mtu size='9216'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x10' slot='0x00' function='0x0' multifunction='on'/>
|
||||||
|
</interface>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F1:11:01'/>
|
||||||
|
<source bridge='vpplan'/>
|
||||||
|
<virtualport type='openvswitch'>
|
||||||
|
</virtualport>
|
||||||
|
<target dev='vpp1-0-1'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<mtu size='9216'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x10' slot='0x00' function='0x1'/>
|
||||||
|
</interface>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F1:11:02'/>
|
||||||
|
<source bridge='vpplan'/>
|
||||||
|
<virtualport type='openvswitch'>
|
||||||
|
</virtualport>
|
||||||
|
<target dev='vpp1-0-2'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<mtu size='9216'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x10' slot='0x00' function='0x2'/>
|
||||||
|
</interface>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F1:11:03'/>
|
||||||
|
<source bridge='vpplan'/>
|
||||||
|
<virtualport type='openvswitch'>
|
||||||
|
</virtualport>
|
||||||
|
<target dev='vpp1-0-3'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<mtu size='9216'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x10' slot='0x00' function='0x3'/>
|
||||||
|
</interface>
|
||||||
|
<serial type='pty'>
|
||||||
|
<target type='isa-serial' port='0'>
|
||||||
|
<model name='isa-serial'/>
|
||||||
|
</target>
|
||||||
|
</serial>
|
||||||
|
<console type='pty'>
|
||||||
|
<target type='serial' port='0'/>
|
||||||
|
</console>
|
||||||
|
<channel type='unix'>
|
||||||
|
<target type='virtio' name='org.qemu.guest_agent.0'/>
|
||||||
|
<address type='virtio-serial' controller='0' bus='0' port='1'/>
|
||||||
|
</channel>
|
||||||
|
<channel type='spicevmc'>
|
||||||
|
<target type='virtio' name='com.redhat.spice.0'/>
|
||||||
|
<address type='virtio-serial' controller='0' bus='0' port='2'/>
|
||||||
|
</channel>
|
||||||
|
<input type='tablet' bus='usb'>
|
||||||
|
<address type='usb' bus='0' port='1'/>
|
||||||
|
</input>
|
||||||
|
<input type='mouse' bus='ps2'/>
|
||||||
|
<input type='keyboard' bus='ps2'/>
|
||||||
|
<graphics type='spice' autoport='yes' listen='127.0.0.1'>
|
||||||
|
<listen type='address' address='127.0.0.1'/>
|
||||||
|
<image compression='off'/>
|
||||||
|
</graphics>
|
||||||
|
<sound model='ich9'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x1b' function='0x0'/>
|
||||||
|
</sound>
|
||||||
|
<video>
|
||||||
|
<model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
|
||||||
|
</video>
|
||||||
|
<redirdev bus='usb' type='spicevmc'>
|
||||||
|
<address type='usb' bus='0' port='2'/>
|
||||||
|
</redirdev>
|
||||||
|
<redirdev bus='usb' type='spicevmc'>
|
||||||
|
<address type='usb' bus='0' port='3'/>
|
||||||
|
</redirdev>
|
||||||
|
<memballoon model='virtio'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
|
||||||
|
</memballoon>
|
||||||
|
<rng model='virtio'>
|
||||||
|
<backend model='random'>/dev/urandom</backend>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
|
||||||
|
</rng>
|
||||||
|
</devices>
|
||||||
|
<seclabel type='dynamic' model='apparmor' relabel='yes'/>
|
||||||
|
<seclabel type='dynamic' model='dac' relabel='yes'/>
|
||||||
|
</domain>
|
@ -17,4 +17,5 @@ protocol kernel kernel6 {
|
|||||||
include "core/static.conf";
|
include "core/static.conf";
|
||||||
include "core/bfd.conf";
|
include "core/bfd.conf";
|
||||||
include "core/ospf.conf";
|
include "core/ospf.conf";
|
||||||
|
# include "core/babel.conf";
|
||||||
include "manual.conf";
|
include "manual.conf";
|
||||||
|
13
build/bird/hvn1.lab.ipng.ch/vpp1-1/etc/bird/core/babel.conf
Normal file
13
build/bird/hvn1.lab.ipng.ch/vpp1-1/etc/bird/core/babel.conf
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
protocol babel {
|
||||||
|
interface "e0", "e1" {
|
||||||
|
type wired;
|
||||||
|
extended next hop on;
|
||||||
|
rtt cost 1000;
|
||||||
|
rtt min 5ms;
|
||||||
|
rtt max 30ms;
|
||||||
|
authentication mac permissive;
|
||||||
|
password "IPng loves bird";
|
||||||
|
};
|
||||||
|
ipv6 { import all; export all; };
|
||||||
|
ipv4 { import all; export all; };
|
||||||
|
}
|
@ -1,21 +1,17 @@
|
|||||||
protocol ospf v2 ospf4 {
|
protocol ospf v2 ospf4 {
|
||||||
ipv4 { export where (source = RTS_DEVICE || source = RTS_STATIC); import all; };
|
ipv4 { export where net ~ [ 192.168.11.0/24+, 0.0.0.0/0 ]; import where net ~ [ 192.168.11.0/24+, 0.0.0.0/0 ]; };
|
||||||
area 0 {
|
area 0 {
|
||||||
interface "loop0" { stub yes; };
|
interface "loop0" { stub yes; };
|
||||||
interface "e0" { type pointopoint; cost 5; bfd off; };
|
interface "e0" { type pointopoint; cost 5; bfd off; };
|
||||||
interface "e1" { type pointopoint; cost 5; bfd off; };
|
interface "e1" { type pointopoint; cost 5; bfd off; };
|
||||||
interface "e2" { type pointopoint; cost 5; bfd off; };
|
|
||||||
interface "e3" { type pointopoint; cost 5; bfd off; };
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
protocol ospf v3 ospf6 {
|
protocol ospf v3 ospf6 {
|
||||||
ipv6 { export where (source = RTS_DEVICE || source = RTS_STATIC); import all; };
|
ipv6 { export where net ~ [ 2001:678:d78:210::/60+, ::/0 ]; import where net ~ [ 2001:678:d78:210::/60+, ::/0]; };
|
||||||
area 0 {
|
area 0 {
|
||||||
interface "loop0" { stub yes; };
|
interface "loop0" { stub yes; };
|
||||||
interface "e0" { type pointopoint; cost 5; bfd off; };
|
interface "e0" { type pointopoint; cost 5; bfd off; };
|
||||||
interface "e1" { type pointopoint; cost 5; bfd off; };
|
interface "e1" { type pointopoint; cost 5; bfd off; };
|
||||||
interface "e2" { type pointopoint; cost 5; bfd off; };
|
|
||||||
interface "e3" { type pointopoint; cost 5; bfd off; };
|
|
||||||
};
|
};
|
||||||
}
|
}
|
@ -1,13 +1,11 @@
|
|||||||
protocol static static4 {
|
protocol static static4 {
|
||||||
ipv4 { export all; };
|
ipv4 { export all; };
|
||||||
# route 192.0.2.0/24 via 10.0.0.1;
|
|
||||||
route 192.168.11.0/24 unreachable;
|
route 192.168.11.0/24 unreachable;
|
||||||
|
# route 192.0.2.0/24 via 10.0.0.1;
|
||||||
}
|
}
|
||||||
|
|
||||||
protocol static static6 {
|
protocol static static6 {
|
||||||
ipv6 { export all; };
|
ipv6 { export all; };
|
||||||
# route 2001:db8:cafe::/48 via 2001:db8::1;;
|
|
||||||
route 2001:678:d78:210::/60 unreachable;
|
route 2001:678:d78:210::/60 unreachable;
|
||||||
|
# route 2001:db8:cafe::/48 via 2001:db8::1;
|
||||||
}
|
}
|
||||||
|
@ -7,7 +7,7 @@ network:
|
|||||||
accept-ra: false
|
accept-ra: false
|
||||||
dhcp4: false
|
dhcp4: false
|
||||||
mtu: 9000
|
mtu: 9000
|
||||||
addresses: [ 198.19.5.24/26, 2001:678:d78:50b::18/64 ]
|
addresses: [ 198.19.5.24/24, 2001:678:d78:50b::18/64 ]
|
||||||
routes:
|
routes:
|
||||||
- to: 0.0.0.0/0
|
- to: 0.0.0.0/0
|
||||||
via: 198.19.5.1
|
via: 198.19.5.1
|
||||||
|
@ -4,6 +4,7 @@ exec /etc/vpp/config/loopback.vpp
|
|||||||
exec /etc/vpp/config/interface.vpp
|
exec /etc/vpp/config/interface.vpp
|
||||||
exec /etc/vpp/config/lcp.vpp
|
exec /etc/vpp/config/lcp.vpp
|
||||||
exec /etc/vpp/config/mpls.vpp
|
exec /etc/vpp/config/mpls.vpp
|
||||||
|
exec /etc/vpp/config/sflow.vpp
|
||||||
|
|
||||||
comment { exec /etc/vpp/config/flowprobe.vpp }
|
comment { exec /etc/vpp/config/flowprobe.vpp }
|
||||||
|
|
||||||
|
@ -0,0 +1,8 @@
|
|||||||
|
sflow header-bytes 128
|
||||||
|
sflow sampling-rate 100
|
||||||
|
sflow polling-interval 10
|
||||||
|
|
||||||
|
sflow enable GigabitEthernet10/0/0
|
||||||
|
sflow enable GigabitEthernet10/0/1
|
||||||
|
sflow enable GigabitEthernet10/0/2
|
||||||
|
sflow enable GigabitEthernet10/0/3
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
echo " * Fixing permissions"
|
echo " * Fixing permissions"
|
||||||
chown -R root. /root/
|
chown -R root:root /root/
|
||||||
chown -R ipng. /home/ipng/
|
chown -R ipng:ipng /home/ipng/
|
||||||
|
|
||||||
[ -r /etc/rc.local ] && chmod 755 /etc/rc.local
|
[ -r /etc/rc.local ] && chmod 755 /etc/rc.local
|
254
build/bird/hvn1.lab.ipng.ch/vpp1-1/root/libvirt.xml
Normal file
254
build/bird/hvn1.lab.ipng.ch/vpp1-1/root/libvirt.xml
Normal file
@ -0,0 +1,254 @@
|
|||||||
|
<domain type='kvm'>
|
||||||
|
<name>vpp1-1</name>
|
||||||
|
<uuid>a6f6c1ad-b1db-27f7-c51d-6174879673ab</uuid>
|
||||||
|
<metadata>
|
||||||
|
<libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
|
||||||
|
<libosinfo:os id="http://debian.org/debian/10"/>
|
||||||
|
</libosinfo:libosinfo>
|
||||||
|
</metadata>
|
||||||
|
<memory unit='KiB'>8388608</memory>
|
||||||
|
<currentMemory unit='KiB'>8388608</currentMemory>
|
||||||
|
<vcpu placement='static'>2</vcpu>
|
||||||
|
<resource>
|
||||||
|
<partition>/machine</partition>
|
||||||
|
</resource>
|
||||||
|
<os>
|
||||||
|
<type arch='x86_64' machine='pc-q35-5.2'>hvm</type>
|
||||||
|
<boot dev='hd'/>
|
||||||
|
</os>
|
||||||
|
<features>
|
||||||
|
<acpi/>
|
||||||
|
<apic/>
|
||||||
|
<vmport state='off'/>
|
||||||
|
</features>
|
||||||
|
<cpu mode='custom' match='exact' check='full'>
|
||||||
|
<model fallback='forbid'>SandyBridge-IBRS</model>
|
||||||
|
<vendor>Intel</vendor>
|
||||||
|
<feature policy='require' name='vme'/>
|
||||||
|
<feature policy='require' name='ss'/>
|
||||||
|
<feature policy='require' name='vmx'/>
|
||||||
|
<feature policy='require' name='pdcm'/>
|
||||||
|
<feature policy='require' name='pcid'/>
|
||||||
|
<feature policy='require' name='hypervisor'/>
|
||||||
|
<feature policy='require' name='arat'/>
|
||||||
|
<feature policy='require' name='tsc_adjust'/>
|
||||||
|
<feature policy='require' name='umip'/>
|
||||||
|
<feature policy='require' name='md-clear'/>
|
||||||
|
<feature policy='require' name='stibp'/>
|
||||||
|
<feature policy='require' name='arch-capabilities'/>
|
||||||
|
<feature policy='require' name='ssbd'/>
|
||||||
|
<feature policy='require' name='xsaveopt'/>
|
||||||
|
<feature policy='require' name='pdpe1gb'/>
|
||||||
|
<feature policy='require' name='ibpb'/>
|
||||||
|
<feature policy='require' name='amd-stibp'/>
|
||||||
|
<feature policy='require' name='amd-ssbd'/>
|
||||||
|
<feature policy='require' name='skip-l1dfl-vmentry'/>
|
||||||
|
<feature policy='require' name='pschange-mc-no'/>
|
||||||
|
</cpu>
|
||||||
|
<clock offset='utc'>
|
||||||
|
<timer name='rtc' tickpolicy='catchup'/>
|
||||||
|
<timer name='pit' tickpolicy='delay'/>
|
||||||
|
<timer name='hpet' present='no'/>
|
||||||
|
</clock>
|
||||||
|
<on_poweroff>destroy</on_poweroff>
|
||||||
|
<on_reboot>restart</on_reboot>
|
||||||
|
<on_crash>destroy</on_crash>
|
||||||
|
<pm>
|
||||||
|
<suspend-to-mem enabled='no'/>
|
||||||
|
<suspend-to-disk enabled='no'/>
|
||||||
|
</pm>
|
||||||
|
<devices>
|
||||||
|
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
||||||
|
<disk type='block' device='disk'>
|
||||||
|
<driver name='qemu' type='raw'/>
|
||||||
|
<source dev='/dev/zvol/vol0/vpp1-1'/>
|
||||||
|
<backingStore/>
|
||||||
|
<target dev='vda' bus='virtio'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
|
||||||
|
</disk>
|
||||||
|
<controller type='usb' index='0' model='qemu-xhci' ports='15'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='sata' index='0'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='0' model='pcie-root'/>
|
||||||
|
<controller type='pci' index='1' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='1' port='0x10'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='2' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='2' port='0x11'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='3' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='3' port='0x12'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='4' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='4' port='0x13'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='5' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='5' port='0x14'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='6' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='6' port='0x15'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x5'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='7' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='7' port='0x16'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x6'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='8' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='8' port='0x17'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x7'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='9' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='9' port='0x18'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0' multifunction='on'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='10' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='10' port='0x19'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x1'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='11' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='11' port='0x1a'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x2'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='12' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='12' port='0x1b'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x3'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='13' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='13' port='0x1c'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x4'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='14' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='14' port='0x1d'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x5'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='15' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='15' port='0x1e'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x6'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='16' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='16' port='0x1f'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x7'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='virtio-serial' index='0'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
|
||||||
|
</controller>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F1:01:10'/>
|
||||||
|
<source bridge='mgmt'/>
|
||||||
|
<target dev='vpp1-1-mgmt'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
|
||||||
|
</interface>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F1:11:10'/>
|
||||||
|
<source bridge='vpplan'/>
|
||||||
|
<virtualport type='openvswitch'>
|
||||||
|
</virtualport>
|
||||||
|
<target dev='vpp1-1-0'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<mtu size='9216'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x10' slot='0x00' function='0x0' multifunction='on'/>
|
||||||
|
</interface>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F1:11:11'/>
|
||||||
|
<source bridge='vpplan'/>
|
||||||
|
<virtualport type='openvswitch'>
|
||||||
|
</virtualport>
|
||||||
|
<target dev='vpp1-1-1'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<mtu size='9216'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x10' slot='0x00' function='0x1'/>
|
||||||
|
</interface>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F1:11:12'/>
|
||||||
|
<source bridge='vpplan'/>
|
||||||
|
<virtualport type='openvswitch'>
|
||||||
|
</virtualport>
|
||||||
|
<target dev='vpp1-1-2'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<mtu size='9216'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x10' slot='0x00' function='0x2'/>
|
||||||
|
</interface>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F1:11:13'/>
|
||||||
|
<source bridge='vpplan'/>
|
||||||
|
<virtualport type='openvswitch'>
|
||||||
|
</virtualport>
|
||||||
|
<target dev='vpp1-1-3'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<mtu size='9216'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x10' slot='0x00' function='0x3'/>
|
||||||
|
</interface>
|
||||||
|
<serial type='pty'>
|
||||||
|
<target type='isa-serial' port='0'>
|
||||||
|
<model name='isa-serial'/>
|
||||||
|
</target>
|
||||||
|
</serial>
|
||||||
|
<console type='pty'>
|
||||||
|
<target type='serial' port='0'/>
|
||||||
|
</console>
|
||||||
|
<channel type='unix'>
|
||||||
|
<target type='virtio' name='org.qemu.guest_agent.0'/>
|
||||||
|
<address type='virtio-serial' controller='0' bus='0' port='1'/>
|
||||||
|
</channel>
|
||||||
|
<channel type='spicevmc'>
|
||||||
|
<target type='virtio' name='com.redhat.spice.0'/>
|
||||||
|
<address type='virtio-serial' controller='0' bus='0' port='2'/>
|
||||||
|
</channel>
|
||||||
|
<input type='tablet' bus='usb'>
|
||||||
|
<address type='usb' bus='0' port='1'/>
|
||||||
|
</input>
|
||||||
|
<input type='mouse' bus='ps2'/>
|
||||||
|
<input type='keyboard' bus='ps2'/>
|
||||||
|
<graphics type='spice' autoport='yes' listen='127.0.0.1'>
|
||||||
|
<listen type='address' address='127.0.0.1'/>
|
||||||
|
<image compression='off'/>
|
||||||
|
</graphics>
|
||||||
|
<sound model='ich9'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x1b' function='0x0'/>
|
||||||
|
</sound>
|
||||||
|
<video>
|
||||||
|
<model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
|
||||||
|
</video>
|
||||||
|
<redirdev bus='usb' type='spicevmc'>
|
||||||
|
<address type='usb' bus='0' port='2'/>
|
||||||
|
</redirdev>
|
||||||
|
<redirdev bus='usb' type='spicevmc'>
|
||||||
|
<address type='usb' bus='0' port='3'/>
|
||||||
|
</redirdev>
|
||||||
|
<memballoon model='virtio'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
|
||||||
|
</memballoon>
|
||||||
|
<rng model='virtio'>
|
||||||
|
<backend model='random'>/dev/urandom</backend>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
|
||||||
|
</rng>
|
||||||
|
</devices>
|
||||||
|
<seclabel type='dynamic' model='apparmor' relabel='yes'/>
|
||||||
|
<seclabel type='dynamic' model='dac' relabel='yes'/>
|
||||||
|
</domain>
|
@ -17,4 +17,5 @@ protocol kernel kernel6 {
|
|||||||
include "core/static.conf";
|
include "core/static.conf";
|
||||||
include "core/bfd.conf";
|
include "core/bfd.conf";
|
||||||
include "core/ospf.conf";
|
include "core/ospf.conf";
|
||||||
|
# include "core/babel.conf";
|
||||||
include "manual.conf";
|
include "manual.conf";
|
||||||
|
13
build/bird/hvn1.lab.ipng.ch/vpp1-2/etc/bird/core/babel.conf
Normal file
13
build/bird/hvn1.lab.ipng.ch/vpp1-2/etc/bird/core/babel.conf
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
protocol babel {
|
||||||
|
interface "e0", "e1" {
|
||||||
|
type wired;
|
||||||
|
extended next hop on;
|
||||||
|
rtt cost 1000;
|
||||||
|
rtt min 5ms;
|
||||||
|
rtt max 30ms;
|
||||||
|
authentication mac permissive;
|
||||||
|
password "IPng loves bird";
|
||||||
|
};
|
||||||
|
ipv6 { import all; export all; };
|
||||||
|
ipv4 { import all; export all; };
|
||||||
|
}
|
@ -1,21 +1,17 @@
|
|||||||
protocol ospf v2 ospf4 {
|
protocol ospf v2 ospf4 {
|
||||||
ipv4 { export where (source = RTS_DEVICE || source = RTS_STATIC); import all; };
|
ipv4 { export where net ~ [ 192.168.11.0/24+, 0.0.0.0/0 ]; import where net ~ [ 192.168.11.0/24+, 0.0.0.0/0 ]; };
|
||||||
area 0 {
|
area 0 {
|
||||||
interface "loop0" { stub yes; };
|
interface "loop0" { stub yes; };
|
||||||
interface "e0" { type pointopoint; cost 5; bfd off; };
|
interface "e0" { type pointopoint; cost 5; bfd off; };
|
||||||
interface "e1" { type pointopoint; cost 5; bfd off; };
|
interface "e1" { type pointopoint; cost 5; bfd off; };
|
||||||
interface "e2" { type pointopoint; cost 5; bfd off; };
|
|
||||||
interface "e3" { type pointopoint; cost 5; bfd off; };
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
protocol ospf v3 ospf6 {
|
protocol ospf v3 ospf6 {
|
||||||
ipv6 { export where (source = RTS_DEVICE || source = RTS_STATIC); import all; };
|
ipv6 { export where net ~ [ 2001:678:d78:210::/60+, ::/0 ]; import where net ~ [ 2001:678:d78:210::/60+, ::/0]; };
|
||||||
area 0 {
|
area 0 {
|
||||||
interface "loop0" { stub yes; };
|
interface "loop0" { stub yes; };
|
||||||
interface "e0" { type pointopoint; cost 5; bfd off; };
|
interface "e0" { type pointopoint; cost 5; bfd off; };
|
||||||
interface "e1" { type pointopoint; cost 5; bfd off; };
|
interface "e1" { type pointopoint; cost 5; bfd off; };
|
||||||
interface "e2" { type pointopoint; cost 5; bfd off; };
|
|
||||||
interface "e3" { type pointopoint; cost 5; bfd off; };
|
|
||||||
};
|
};
|
||||||
}
|
}
|
@ -1,13 +1,11 @@
|
|||||||
protocol static static4 {
|
protocol static static4 {
|
||||||
ipv4 { export all; };
|
ipv4 { export all; };
|
||||||
# route 192.0.2.0/24 via 10.0.0.1;
|
|
||||||
route 192.168.11.0/24 unreachable;
|
route 192.168.11.0/24 unreachable;
|
||||||
|
# route 192.0.2.0/24 via 10.0.0.1;
|
||||||
}
|
}
|
||||||
|
|
||||||
protocol static static6 {
|
protocol static static6 {
|
||||||
ipv6 { export all; };
|
ipv6 { export all; };
|
||||||
# route 2001:db8:cafe::/48 via 2001:db8::1;;
|
|
||||||
route 2001:678:d78:210::/60 unreachable;
|
route 2001:678:d78:210::/60 unreachable;
|
||||||
|
# route 2001:db8:cafe::/48 via 2001:db8::1;
|
||||||
}
|
}
|
||||||
|
@ -7,7 +7,7 @@ network:
|
|||||||
accept-ra: false
|
accept-ra: false
|
||||||
dhcp4: false
|
dhcp4: false
|
||||||
mtu: 9000
|
mtu: 9000
|
||||||
addresses: [ 198.19.5.25/26, 2001:678:d78:50b::19/64 ]
|
addresses: [ 198.19.5.25/24, 2001:678:d78:50b::19/64 ]
|
||||||
routes:
|
routes:
|
||||||
- to: 0.0.0.0/0
|
- to: 0.0.0.0/0
|
||||||
via: 198.19.5.1
|
via: 198.19.5.1
|
||||||
|
@ -4,6 +4,7 @@ exec /etc/vpp/config/loopback.vpp
|
|||||||
exec /etc/vpp/config/interface.vpp
|
exec /etc/vpp/config/interface.vpp
|
||||||
exec /etc/vpp/config/lcp.vpp
|
exec /etc/vpp/config/lcp.vpp
|
||||||
exec /etc/vpp/config/mpls.vpp
|
exec /etc/vpp/config/mpls.vpp
|
||||||
|
exec /etc/vpp/config/sflow.vpp
|
||||||
|
|
||||||
comment { exec /etc/vpp/config/flowprobe.vpp }
|
comment { exec /etc/vpp/config/flowprobe.vpp }
|
||||||
|
|
||||||
|
@ -0,0 +1,8 @@
|
|||||||
|
sflow header-bytes 128
|
||||||
|
sflow sampling-rate 100
|
||||||
|
sflow polling-interval 10
|
||||||
|
|
||||||
|
sflow enable GigabitEthernet10/0/0
|
||||||
|
sflow enable GigabitEthernet10/0/1
|
||||||
|
sflow enable GigabitEthernet10/0/2
|
||||||
|
sflow enable GigabitEthernet10/0/3
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
echo " * Fixing permissions"
|
echo " * Fixing permissions"
|
||||||
chown -R root. /root/
|
chown -R root:root /root/
|
||||||
chown -R ipng. /home/ipng/
|
chown -R ipng:ipng /home/ipng/
|
||||||
|
|
||||||
[ -r /etc/rc.local ] && chmod 755 /etc/rc.local
|
[ -r /etc/rc.local ] && chmod 755 /etc/rc.local
|
254
build/bird/hvn1.lab.ipng.ch/vpp1-2/root/libvirt.xml
Normal file
254
build/bird/hvn1.lab.ipng.ch/vpp1-2/root/libvirt.xml
Normal file
@ -0,0 +1,254 @@
|
|||||||
|
<domain type='kvm'>
|
||||||
|
<name>vpp1-2</name>
|
||||||
|
<uuid>7f50c5bf-ce91-91f4-aaae-cb61c5a40fe3</uuid>
|
||||||
|
<metadata>
|
||||||
|
<libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
|
||||||
|
<libosinfo:os id="http://debian.org/debian/10"/>
|
||||||
|
</libosinfo:libosinfo>
|
||||||
|
</metadata>
|
||||||
|
<memory unit='KiB'>8388608</memory>
|
||||||
|
<currentMemory unit='KiB'>8388608</currentMemory>
|
||||||
|
<vcpu placement='static'>2</vcpu>
|
||||||
|
<resource>
|
||||||
|
<partition>/machine</partition>
|
||||||
|
</resource>
|
||||||
|
<os>
|
||||||
|
<type arch='x86_64' machine='pc-q35-5.2'>hvm</type>
|
||||||
|
<boot dev='hd'/>
|
||||||
|
</os>
|
||||||
|
<features>
|
||||||
|
<acpi/>
|
||||||
|
<apic/>
|
||||||
|
<vmport state='off'/>
|
||||||
|
</features>
|
||||||
|
<cpu mode='custom' match='exact' check='full'>
|
||||||
|
<model fallback='forbid'>SandyBridge-IBRS</model>
|
||||||
|
<vendor>Intel</vendor>
|
||||||
|
<feature policy='require' name='vme'/>
|
||||||
|
<feature policy='require' name='ss'/>
|
||||||
|
<feature policy='require' name='vmx'/>
|
||||||
|
<feature policy='require' name='pdcm'/>
|
||||||
|
<feature policy='require' name='pcid'/>
|
||||||
|
<feature policy='require' name='hypervisor'/>
|
||||||
|
<feature policy='require' name='arat'/>
|
||||||
|
<feature policy='require' name='tsc_adjust'/>
|
||||||
|
<feature policy='require' name='umip'/>
|
||||||
|
<feature policy='require' name='md-clear'/>
|
||||||
|
<feature policy='require' name='stibp'/>
|
||||||
|
<feature policy='require' name='arch-capabilities'/>
|
||||||
|
<feature policy='require' name='ssbd'/>
|
||||||
|
<feature policy='require' name='xsaveopt'/>
|
||||||
|
<feature policy='require' name='pdpe1gb'/>
|
||||||
|
<feature policy='require' name='ibpb'/>
|
||||||
|
<feature policy='require' name='amd-stibp'/>
|
||||||
|
<feature policy='require' name='amd-ssbd'/>
|
||||||
|
<feature policy='require' name='skip-l1dfl-vmentry'/>
|
||||||
|
<feature policy='require' name='pschange-mc-no'/>
|
||||||
|
</cpu>
|
||||||
|
<clock offset='utc'>
|
||||||
|
<timer name='rtc' tickpolicy='catchup'/>
|
||||||
|
<timer name='pit' tickpolicy='delay'/>
|
||||||
|
<timer name='hpet' present='no'/>
|
||||||
|
</clock>
|
||||||
|
<on_poweroff>destroy</on_poweroff>
|
||||||
|
<on_reboot>restart</on_reboot>
|
||||||
|
<on_crash>destroy</on_crash>
|
||||||
|
<pm>
|
||||||
|
<suspend-to-mem enabled='no'/>
|
||||||
|
<suspend-to-disk enabled='no'/>
|
||||||
|
</pm>
|
||||||
|
<devices>
|
||||||
|
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
||||||
|
<disk type='block' device='disk'>
|
||||||
|
<driver name='qemu' type='raw'/>
|
||||||
|
<source dev='/dev/zvol/vol0/vpp1-2'/>
|
||||||
|
<backingStore/>
|
||||||
|
<target dev='vda' bus='virtio'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
|
||||||
|
</disk>
|
||||||
|
<controller type='usb' index='0' model='qemu-xhci' ports='15'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='sata' index='0'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='0' model='pcie-root'/>
|
||||||
|
<controller type='pci' index='1' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='1' port='0x10'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='2' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='2' port='0x11'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='3' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='3' port='0x12'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='4' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='4' port='0x13'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='5' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='5' port='0x14'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='6' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='6' port='0x15'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x5'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='7' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='7' port='0x16'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x6'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='8' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='8' port='0x17'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x7'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='9' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='9' port='0x18'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0' multifunction='on'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='10' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='10' port='0x19'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x1'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='11' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='11' port='0x1a'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x2'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='12' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='12' port='0x1b'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x3'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='13' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='13' port='0x1c'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x4'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='14' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='14' port='0x1d'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x5'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='15' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='15' port='0x1e'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x6'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='16' model='pcie-root-port'>
|
||||||
|
<model name='pcie-root-port'/>
|
||||||
|
<target chassis='16' port='0x1f'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x7'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='virtio-serial' index='0'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
|
||||||
|
</controller>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F1:01:20'/>
|
||||||
|
<source bridge='mgmt'/>
|
||||||
|
<target dev='vpp1-2-mgmt'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
|
||||||
|
</interface>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F1:11:20'/>
|
||||||
|
<source bridge='vpplan'/>
|
||||||
|
<virtualport type='openvswitch'>
|
||||||
|
</virtualport>
|
||||||
|
<target dev='vpp1-2-0'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<mtu size='9216'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x10' slot='0x00' function='0x0' multifunction='on'/>
|
||||||
|
</interface>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F1:11:21'/>
|
||||||
|
<source bridge='vpplan'/>
|
||||||
|
<virtualport type='openvswitch'>
|
||||||
|
</virtualport>
|
||||||
|
<target dev='vpp1-2-1'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<mtu size='9216'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x10' slot='0x00' function='0x1'/>
|
||||||
|
</interface>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F1:11:22'/>
|
||||||
|
<source bridge='vpplan'/>
|
||||||
|
<virtualport type='openvswitch'>
|
||||||
|
</virtualport>
|
||||||
|
<target dev='vpp1-2-2'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<mtu size='9216'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x10' slot='0x00' function='0x2'/>
|
||||||
|
</interface>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='52:54:00:F1:11:23'/>
|
||||||
|
<source bridge='vpplan'/>
|
||||||
|
<virtualport type='openvswitch'>
|
||||||
|
</virtualport>
|
||||||
|
<target dev='vpp1-2-3'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
<mtu size='9216'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x10' slot='0x00' function='0x3'/>
|
||||||
|
</interface>
|
||||||
|
<serial type='pty'>
|
||||||
|
<target type='isa-serial' port='0'>
|
||||||
|
<model name='isa-serial'/>
|
||||||
|
</target>
|
||||||
|
</serial>
|
||||||
|
<console type='pty'>
|
||||||
|
<target type='serial' port='0'/>
|
||||||
|
</console>
|
||||||
|
<channel type='unix'>
|
||||||
|
<target type='virtio' name='org.qemu.guest_agent.0'/>
|
||||||
|
<address type='virtio-serial' controller='0' bus='0' port='1'/>
|
||||||
|
</channel>
|
||||||
|
<channel type='spicevmc'>
|
||||||
|
<target type='virtio' name='com.redhat.spice.0'/>
|
||||||
|
<address type='virtio-serial' controller='0' bus='0' port='2'/>
|
||||||
|
</channel>
|
||||||
|
<input type='tablet' bus='usb'>
|
||||||
|
<address type='usb' bus='0' port='1'/>
|
||||||
|
</input>
|
||||||
|
<input type='mouse' bus='ps2'/>
|
||||||
|
<input type='keyboard' bus='ps2'/>
|
||||||
|
<graphics type='spice' autoport='yes' listen='127.0.0.1'>
|
||||||
|
<listen type='address' address='127.0.0.1'/>
|
||||||
|
<image compression='off'/>
|
||||||
|
</graphics>
|
||||||
|
<sound model='ich9'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x1b' function='0x0'/>
|
||||||
|
</sound>
|
||||||
|
<video>
|
||||||
|
<model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
|
||||||
|
</video>
|
||||||
|
<redirdev bus='usb' type='spicevmc'>
|
||||||
|
<address type='usb' bus='0' port='2'/>
|
||||||
|
</redirdev>
|
||||||
|
<redirdev bus='usb' type='spicevmc'>
|
||||||
|
<address type='usb' bus='0' port='3'/>
|
||||||
|
</redirdev>
|
||||||
|
<memballoon model='virtio'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
|
||||||
|
</memballoon>
|
||||||
|
<rng model='virtio'>
|
||||||
|
<backend model='random'>/dev/urandom</backend>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
|
||||||
|
</rng>
|
||||||
|
</devices>
|
||||||
|
<seclabel type='dynamic' model='apparmor' relabel='yes'/>
|
||||||
|
<seclabel type='dynamic' model='dac' relabel='yes'/>
|
||||||
|
</domain>
|
@ -17,4 +17,5 @@ protocol kernel kernel6 {
|
|||||||
include "core/static.conf";
|
include "core/static.conf";
|
||||||
include "core/bfd.conf";
|
include "core/bfd.conf";
|
||||||
include "core/ospf.conf";
|
include "core/ospf.conf";
|
||||||
|
# include "core/babel.conf";
|
||||||
include "manual.conf";
|
include "manual.conf";
|
||||||
|
13
build/bird/hvn1.lab.ipng.ch/vpp1-3/etc/bird/core/babel.conf
Normal file
13
build/bird/hvn1.lab.ipng.ch/vpp1-3/etc/bird/core/babel.conf
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
protocol babel {
|
||||||
|
interface "e0", "e1" {
|
||||||
|
type wired;
|
||||||
|
extended next hop on;
|
||||||
|
rtt cost 1000;
|
||||||
|
rtt min 5ms;
|
||||||
|
rtt max 30ms;
|
||||||
|
authentication mac permissive;
|
||||||
|
password "IPng loves bird";
|
||||||
|
};
|
||||||
|
ipv6 { import all; export all; };
|
||||||
|
ipv4 { import all; export all; };
|
||||||
|
}
|
@ -1,21 +1,17 @@
|
|||||||
protocol ospf v2 ospf4 {
|
protocol ospf v2 ospf4 {
|
||||||
ipv4 { export where (source = RTS_DEVICE || source = RTS_STATIC); import all; };
|
ipv4 { export where net ~ [ 192.168.11.0/24+, 0.0.0.0/0 ]; import where net ~ [ 192.168.11.0/24+, 0.0.0.0/0 ]; };
|
||||||
area 0 {
|
area 0 {
|
||||||
interface "loop0" { stub yes; };
|
interface "loop0" { stub yes; };
|
||||||
interface "e0" { type pointopoint; cost 5; bfd off; };
|
interface "e0" { type pointopoint; cost 5; bfd off; };
|
||||||
interface "e1" { type pointopoint; cost 5; bfd off; };
|
interface "e1" { type pointopoint; cost 5; bfd off; };
|
||||||
interface "e2" { type pointopoint; cost 5; bfd off; };
|
|
||||||
interface "e3" { type pointopoint; cost 5; bfd off; };
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
protocol ospf v3 ospf6 {
|
protocol ospf v3 ospf6 {
|
||||||
ipv6 { export where (source = RTS_DEVICE || source = RTS_STATIC); import all; };
|
ipv6 { export where net ~ [ 2001:678:d78:210::/60+, ::/0 ]; import where net ~ [ 2001:678:d78:210::/60+, ::/0]; };
|
||||||
area 0 {
|
area 0 {
|
||||||
interface "loop0" { stub yes; };
|
interface "loop0" { stub yes; };
|
||||||
interface "e0" { type pointopoint; cost 5; bfd off; };
|
interface "e0" { type pointopoint; cost 5; bfd off; };
|
||||||
interface "e1" { type pointopoint; cost 5; bfd off; };
|
interface "e1" { type pointopoint; cost 5; bfd off; };
|
||||||
interface "e2" { type pointopoint; cost 5; bfd off; };
|
|
||||||
interface "e3" { type pointopoint; cost 5; bfd off; };
|
|
||||||
};
|
};
|
||||||
}
|
}
|
@ -1,13 +1,11 @@
|
|||||||
protocol static static4 {
|
protocol static static4 {
|
||||||
ipv4 { export all; };
|
ipv4 { export all; };
|
||||||
# route 192.0.2.0/24 via 10.0.0.1;
|
|
||||||
route 192.168.11.0/24 unreachable;
|
route 192.168.11.0/24 unreachable;
|
||||||
|
# route 192.0.2.0/24 via 10.0.0.1;
|
||||||
}
|
}
|
||||||
|
|
||||||
protocol static static6 {
|
protocol static static6 {
|
||||||
ipv6 { export all; };
|
ipv6 { export all; };
|
||||||
# route 2001:db8:cafe::/48 via 2001:db8::1;;
|
|
||||||
route 2001:678:d78:210::/60 unreachable;
|
route 2001:678:d78:210::/60 unreachable;
|
||||||
|
# route 2001:db8:cafe::/48 via 2001:db8::1;
|
||||||
}
|
}
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user