diff --git a/build/bird/hvn0.lab.ipng.ch/host0-0/etc/rc.local b/build/bird/hvn0.lab.ipng.ch/host0-0/etc/rc.local new file mode 100644 index 0000000..4241b33 --- /dev/null +++ b/build/bird/hvn0.lab.ipng.ch/host0-0/etc/rc.local @@ -0,0 +1,5 @@ +#!/bin/sh + +for port in 0 1 2 3; do + ip link set enp16s0f${port} up mtu 1500 alias "vpp0-${port}:Gi10/0/2" +done diff --git a/build/bird/hvn0.lab.ipng.ch/host0-0/root/lab-build/disable-vpp b/build/bird/hvn0.lab.ipng.ch/host0-0/root/lab-build/disable-vpp index 3d56a99..f9bda5d 100644 --- a/build/bird/hvn0.lab.ipng.ch/host0-0/root/lab-build/disable-vpp +++ b/build/bird/hvn0.lab.ipng.ch/host0-0/root/lab-build/disable-vpp @@ -4,4 +4,4 @@ echo " * Disabling VPP, Bird and FRR" for i in vpp vppcfg bird-dataplane frr; do rm -f /etc/systemd/system/multi-user.target.wants/${i}.service ln -sf /dev/null /etc/systemd/system/${i}.service -done \ No newline at end of file +done diff --git a/build/bird/hvn0.lab.ipng.ch/host0-0/root/lab-build/rc-local-perms b/build/bird/hvn0.lab.ipng.ch/host0-0/root/lab-build/rc-local-perms new file mode 100644 index 0000000..ce5b509 --- /dev/null +++ b/build/bird/hvn0.lab.ipng.ch/host0-0/root/lab-build/rc-local-perms @@ -0,0 +1,4 @@ +#!/bin/sh + +echo "* Fixing permissions of rc.local" +chmod 755 /etc/rc.local diff --git a/build/bird/hvn0.lab.ipng.ch/host0-1/etc/rc.local b/build/bird/hvn0.lab.ipng.ch/host0-1/etc/rc.local new file mode 100644 index 0000000..a3784ee --- /dev/null +++ b/build/bird/hvn0.lab.ipng.ch/host0-1/etc/rc.local @@ -0,0 +1,5 @@ +#!/bin/sh + +for port in 0 1 2 3; do + ip link set enp16s0f${port} up mtu 1500 alias "vpp0-${port}:Gi10/0/3" +done diff --git a/build/bird/hvn0.lab.ipng.ch/host0-1/root/lab-build/disable-vpp b/build/bird/hvn0.lab.ipng.ch/host0-1/root/lab-build/disable-vpp index 3d56a99..f9bda5d 100644 --- a/build/bird/hvn0.lab.ipng.ch/host0-1/root/lab-build/disable-vpp +++ b/build/bird/hvn0.lab.ipng.ch/host0-1/root/lab-build/disable-vpp @@ -4,4 +4,4 @@ echo " * Disabling VPP, Bird and FRR" for i in vpp vppcfg bird-dataplane frr; do rm -f /etc/systemd/system/multi-user.target.wants/${i}.service ln -sf /dev/null /etc/systemd/system/${i}.service -done \ No newline at end of file +done diff --git a/build/bird/hvn0.lab.ipng.ch/host0-1/root/lab-build/rc-local-perms b/build/bird/hvn0.lab.ipng.ch/host0-1/root/lab-build/rc-local-perms new file mode 100644 index 0000000..ce5b509 --- /dev/null +++ b/build/bird/hvn0.lab.ipng.ch/host0-1/root/lab-build/rc-local-perms @@ -0,0 +1,4 @@ +#!/bin/sh + +echo "* Fixing permissions of rc.local" +chmod 755 /etc/rc.local diff --git a/build/bird/hvn0.lab.ipng.ch/tap0-0/root/lab-build/disable-vpp b/build/bird/hvn0.lab.ipng.ch/tap0-0/root/lab-build/disable-vpp index 3d56a99..f9bda5d 100644 --- a/build/bird/hvn0.lab.ipng.ch/tap0-0/root/lab-build/disable-vpp +++ b/build/bird/hvn0.lab.ipng.ch/tap0-0/root/lab-build/disable-vpp @@ -4,4 +4,4 @@ echo " * Disabling VPP, Bird and FRR" for i in vpp vppcfg bird-dataplane frr; do rm -f /etc/systemd/system/multi-user.target.wants/${i}.service ln -sf /dev/null /etc/systemd/system/${i}.service -done \ No newline at end of file +done diff --git a/build/bird/hvn1.lab.ipng.ch/host1-0/etc/rc.local b/build/bird/hvn1.lab.ipng.ch/host1-0/etc/rc.local new file mode 100644 index 0000000..bd03662 --- /dev/null +++ b/build/bird/hvn1.lab.ipng.ch/host1-0/etc/rc.local @@ -0,0 +1,5 @@ +#!/bin/sh + +for port in 0 1 2 3; do + ip link set enp16s0f${port} up mtu 1500 alias "vpp1-${port}:Gi10/0/2" +done diff --git a/build/bird/hvn1.lab.ipng.ch/host1-0/root/lab-build/disable-vpp b/build/bird/hvn1.lab.ipng.ch/host1-0/root/lab-build/disable-vpp index 3d56a99..f9bda5d 100644 --- a/build/bird/hvn1.lab.ipng.ch/host1-0/root/lab-build/disable-vpp +++ b/build/bird/hvn1.lab.ipng.ch/host1-0/root/lab-build/disable-vpp @@ -4,4 +4,4 @@ echo " * Disabling VPP, Bird and FRR" for i in vpp vppcfg bird-dataplane frr; do rm -f /etc/systemd/system/multi-user.target.wants/${i}.service ln -sf /dev/null /etc/systemd/system/${i}.service -done \ No newline at end of file +done diff --git a/build/bird/hvn1.lab.ipng.ch/host1-0/root/lab-build/rc-local-perms b/build/bird/hvn1.lab.ipng.ch/host1-0/root/lab-build/rc-local-perms new file mode 100644 index 0000000..ce5b509 --- /dev/null +++ b/build/bird/hvn1.lab.ipng.ch/host1-0/root/lab-build/rc-local-perms @@ -0,0 +1,4 @@ +#!/bin/sh + +echo "* Fixing permissions of rc.local" +chmod 755 /etc/rc.local diff --git a/build/bird/hvn1.lab.ipng.ch/host1-1/etc/rc.local b/build/bird/hvn1.lab.ipng.ch/host1-1/etc/rc.local new file mode 100644 index 0000000..f16a00d --- /dev/null +++ b/build/bird/hvn1.lab.ipng.ch/host1-1/etc/rc.local @@ -0,0 +1,5 @@ +#!/bin/sh + +for port in 0 1 2 3; do + ip link set enp16s0f${port} up mtu 1500 alias "vpp1-${port}:Gi10/0/3" +done diff --git a/build/bird/hvn1.lab.ipng.ch/host1-1/root/lab-build/disable-vpp b/build/bird/hvn1.lab.ipng.ch/host1-1/root/lab-build/disable-vpp index 3d56a99..f9bda5d 100644 --- a/build/bird/hvn1.lab.ipng.ch/host1-1/root/lab-build/disable-vpp +++ b/build/bird/hvn1.lab.ipng.ch/host1-1/root/lab-build/disable-vpp @@ -4,4 +4,4 @@ echo " * Disabling VPP, Bird and FRR" for i in vpp vppcfg bird-dataplane frr; do rm -f /etc/systemd/system/multi-user.target.wants/${i}.service ln -sf /dev/null /etc/systemd/system/${i}.service -done \ No newline at end of file +done diff --git a/build/bird/hvn1.lab.ipng.ch/host1-1/root/lab-build/rc-local-perms b/build/bird/hvn1.lab.ipng.ch/host1-1/root/lab-build/rc-local-perms new file mode 100644 index 0000000..ce5b509 --- /dev/null +++ b/build/bird/hvn1.lab.ipng.ch/host1-1/root/lab-build/rc-local-perms @@ -0,0 +1,4 @@ +#!/bin/sh + +echo "* Fixing permissions of rc.local" +chmod 755 /etc/rc.local diff --git a/build/bird/hvn1.lab.ipng.ch/tap1-0/root/lab-build/disable-vpp b/build/bird/hvn1.lab.ipng.ch/tap1-0/root/lab-build/disable-vpp index 3d56a99..f9bda5d 100644 --- a/build/bird/hvn1.lab.ipng.ch/tap1-0/root/lab-build/disable-vpp +++ b/build/bird/hvn1.lab.ipng.ch/tap1-0/root/lab-build/disable-vpp @@ -4,4 +4,4 @@ echo " * Disabling VPP, Bird and FRR" for i in vpp vppcfg bird-dataplane frr; do rm -f /etc/systemd/system/multi-user.target.wants/${i}.service ln -sf /dev/null /etc/systemd/system/${i}.service -done \ No newline at end of file +done diff --git a/build/frr/hvn0.lab.ipng.ch/host0-0/etc/rc.local b/build/frr/hvn0.lab.ipng.ch/host0-0/etc/rc.local new file mode 100644 index 0000000..4241b33 --- /dev/null +++ b/build/frr/hvn0.lab.ipng.ch/host0-0/etc/rc.local @@ -0,0 +1,5 @@ +#!/bin/sh + +for port in 0 1 2 3; do + ip link set enp16s0f${port} up mtu 1500 alias "vpp0-${port}:Gi10/0/2" +done diff --git a/build/frr/hvn0.lab.ipng.ch/host0-0/root/lab-build/disable-vpp b/build/frr/hvn0.lab.ipng.ch/host0-0/root/lab-build/disable-vpp index 3d56a99..f9bda5d 100644 --- a/build/frr/hvn0.lab.ipng.ch/host0-0/root/lab-build/disable-vpp +++ b/build/frr/hvn0.lab.ipng.ch/host0-0/root/lab-build/disable-vpp @@ -4,4 +4,4 @@ echo " * Disabling VPP, Bird and FRR" for i in vpp vppcfg bird-dataplane frr; do rm -f /etc/systemd/system/multi-user.target.wants/${i}.service ln -sf /dev/null /etc/systemd/system/${i}.service -done \ No newline at end of file +done diff --git a/build/frr/hvn0.lab.ipng.ch/host0-0/root/lab-build/rc-local-perms b/build/frr/hvn0.lab.ipng.ch/host0-0/root/lab-build/rc-local-perms new file mode 100644 index 0000000..ce5b509 --- /dev/null +++ b/build/frr/hvn0.lab.ipng.ch/host0-0/root/lab-build/rc-local-perms @@ -0,0 +1,4 @@ +#!/bin/sh + +echo "* Fixing permissions of rc.local" +chmod 755 /etc/rc.local diff --git a/build/frr/hvn0.lab.ipng.ch/host0-1/etc/rc.local b/build/frr/hvn0.lab.ipng.ch/host0-1/etc/rc.local new file mode 100644 index 0000000..a3784ee --- /dev/null +++ b/build/frr/hvn0.lab.ipng.ch/host0-1/etc/rc.local @@ -0,0 +1,5 @@ +#!/bin/sh + +for port in 0 1 2 3; do + ip link set enp16s0f${port} up mtu 1500 alias "vpp0-${port}:Gi10/0/3" +done diff --git a/build/frr/hvn0.lab.ipng.ch/host0-1/root/lab-build/disable-vpp b/build/frr/hvn0.lab.ipng.ch/host0-1/root/lab-build/disable-vpp index 3d56a99..f9bda5d 100644 --- a/build/frr/hvn0.lab.ipng.ch/host0-1/root/lab-build/disable-vpp +++ b/build/frr/hvn0.lab.ipng.ch/host0-1/root/lab-build/disable-vpp @@ -4,4 +4,4 @@ echo " * Disabling VPP, Bird and FRR" for i in vpp vppcfg bird-dataplane frr; do rm -f /etc/systemd/system/multi-user.target.wants/${i}.service ln -sf /dev/null /etc/systemd/system/${i}.service -done \ No newline at end of file +done diff --git a/build/frr/hvn0.lab.ipng.ch/host0-1/root/lab-build/rc-local-perms b/build/frr/hvn0.lab.ipng.ch/host0-1/root/lab-build/rc-local-perms new file mode 100644 index 0000000..ce5b509 --- /dev/null +++ b/build/frr/hvn0.lab.ipng.ch/host0-1/root/lab-build/rc-local-perms @@ -0,0 +1,4 @@ +#!/bin/sh + +echo "* Fixing permissions of rc.local" +chmod 755 /etc/rc.local diff --git a/build/frr/hvn0.lab.ipng.ch/tap0-0/root/lab-build/disable-vpp b/build/frr/hvn0.lab.ipng.ch/tap0-0/root/lab-build/disable-vpp index 3d56a99..f9bda5d 100644 --- a/build/frr/hvn0.lab.ipng.ch/tap0-0/root/lab-build/disable-vpp +++ b/build/frr/hvn0.lab.ipng.ch/tap0-0/root/lab-build/disable-vpp @@ -4,4 +4,4 @@ echo " * Disabling VPP, Bird and FRR" for i in vpp vppcfg bird-dataplane frr; do rm -f /etc/systemd/system/multi-user.target.wants/${i}.service ln -sf /dev/null /etc/systemd/system/${i}.service -done \ No newline at end of file +done diff --git a/build/frr/hvn1.lab.ipng.ch/host1-0/etc/rc.local b/build/frr/hvn1.lab.ipng.ch/host1-0/etc/rc.local new file mode 100644 index 0000000..bd03662 --- /dev/null +++ b/build/frr/hvn1.lab.ipng.ch/host1-0/etc/rc.local @@ -0,0 +1,5 @@ +#!/bin/sh + +for port in 0 1 2 3; do + ip link set enp16s0f${port} up mtu 1500 alias "vpp1-${port}:Gi10/0/2" +done diff --git a/build/frr/hvn1.lab.ipng.ch/host1-0/root/lab-build/disable-vpp b/build/frr/hvn1.lab.ipng.ch/host1-0/root/lab-build/disable-vpp index 3d56a99..f9bda5d 100644 --- a/build/frr/hvn1.lab.ipng.ch/host1-0/root/lab-build/disable-vpp +++ b/build/frr/hvn1.lab.ipng.ch/host1-0/root/lab-build/disable-vpp @@ -4,4 +4,4 @@ echo " * Disabling VPP, Bird and FRR" for i in vpp vppcfg bird-dataplane frr; do rm -f /etc/systemd/system/multi-user.target.wants/${i}.service ln -sf /dev/null /etc/systemd/system/${i}.service -done \ No newline at end of file +done diff --git a/build/frr/hvn1.lab.ipng.ch/host1-0/root/lab-build/rc-local-perms b/build/frr/hvn1.lab.ipng.ch/host1-0/root/lab-build/rc-local-perms new file mode 100644 index 0000000..ce5b509 --- /dev/null +++ b/build/frr/hvn1.lab.ipng.ch/host1-0/root/lab-build/rc-local-perms @@ -0,0 +1,4 @@ +#!/bin/sh + +echo "* Fixing permissions of rc.local" +chmod 755 /etc/rc.local diff --git a/build/frr/hvn1.lab.ipng.ch/host1-1/etc/rc.local b/build/frr/hvn1.lab.ipng.ch/host1-1/etc/rc.local new file mode 100644 index 0000000..f16a00d --- /dev/null +++ b/build/frr/hvn1.lab.ipng.ch/host1-1/etc/rc.local @@ -0,0 +1,5 @@ +#!/bin/sh + +for port in 0 1 2 3; do + ip link set enp16s0f${port} up mtu 1500 alias "vpp1-${port}:Gi10/0/3" +done diff --git a/build/frr/hvn1.lab.ipng.ch/host1-1/root/lab-build/disable-vpp b/build/frr/hvn1.lab.ipng.ch/host1-1/root/lab-build/disable-vpp index 3d56a99..f9bda5d 100644 --- a/build/frr/hvn1.lab.ipng.ch/host1-1/root/lab-build/disable-vpp +++ b/build/frr/hvn1.lab.ipng.ch/host1-1/root/lab-build/disable-vpp @@ -4,4 +4,4 @@ echo " * Disabling VPP, Bird and FRR" for i in vpp vppcfg bird-dataplane frr; do rm -f /etc/systemd/system/multi-user.target.wants/${i}.service ln -sf /dev/null /etc/systemd/system/${i}.service -done \ No newline at end of file +done diff --git a/build/frr/hvn1.lab.ipng.ch/host1-1/root/lab-build/rc-local-perms b/build/frr/hvn1.lab.ipng.ch/host1-1/root/lab-build/rc-local-perms new file mode 100644 index 0000000..ce5b509 --- /dev/null +++ b/build/frr/hvn1.lab.ipng.ch/host1-1/root/lab-build/rc-local-perms @@ -0,0 +1,4 @@ +#!/bin/sh + +echo "* Fixing permissions of rc.local" +chmod 755 /etc/rc.local diff --git a/build/frr/hvn1.lab.ipng.ch/tap1-0/root/lab-build/disable-vpp b/build/frr/hvn1.lab.ipng.ch/tap1-0/root/lab-build/disable-vpp index 3d56a99..f9bda5d 100644 --- a/build/frr/hvn1.lab.ipng.ch/tap1-0/root/lab-build/disable-vpp +++ b/build/frr/hvn1.lab.ipng.ch/tap1-0/root/lab-build/disable-vpp @@ -4,4 +4,4 @@ echo " * Disabling VPP, Bird and FRR" for i in vpp vppcfg bird-dataplane frr; do rm -f /etc/systemd/system/multi-user.target.wants/${i}.service ln -sf /dev/null /etc/systemd/system/${i}.service -done \ No newline at end of file +done diff --git a/overlays/_common/host/etc/rc.local.j2 b/overlays/_common/host/etc/rc.local.j2 new file mode 100644 index 0000000..eb879c7 --- /dev/null +++ b/overlays/_common/host/etc/rc.local.j2 @@ -0,0 +1,6 @@ +#!/bin/sh + +for port in 0 1 2 3; do + ip link set enp16s0f${port} up mtu 1500 alias "vpp{{lab.id}}-${port}:Gi10/0/{{ 2 + node.id }}" +done + diff --git a/overlays/_common/host/root/lab-build/rc-local-perms b/overlays/_common/host/root/lab-build/rc-local-perms new file mode 100644 index 0000000..cc19a13 --- /dev/null +++ b/overlays/_common/host/root/lab-build/rc-local-perms @@ -0,0 +1,5 @@ +#!/bin/sh + +echo "* Fixing permissions of rc.local" +chmod 755 /etc/rc.local + diff --git a/overlays/_common/tap/root/lab-build/disable-vpp b/overlays/_common/tap/root/lab-build/disable-vpp index f9bda5d..edf17fd 100644 --- a/overlays/_common/tap/root/lab-build/disable-vpp +++ b/overlays/_common/tap/root/lab-build/disable-vpp @@ -5,3 +5,4 @@ for i in vpp vppcfg bird-dataplane frr; do rm -f /etc/systemd/system/multi-user.target.wants/${i}.service ln -sf /dev/null /etc/systemd/system/${i}.service done +