diff --git a/build/default/hvn0.lab.ipng.ch/host0-0/etc/motd b/build/default/hvn0.lab.ipng.ch/host0-0/etc/motd new file mode 100644 index 0000000..56a5416 --- /dev/null +++ b/build/default/hvn0.lab.ipng.ch/host0-0/etc/motd @@ -0,0 +1,27 @@ + -*%%= + =%@@@@@: + :%@@@@@@@* + :*@@@@@@@@@@ .=+- + :=*#%@@@@@@@@@@@@@+ .+@@@@# + .+@@@@@@@@@@@@@@@@@@@@##@@@@@@@= + +@@@@@@@@@@@%*+@@@@@@@@@@@@@@@@@* + =@@@@@@@@@#=: *@@@@%#*+*@@@@@@@# + -%@@@@@@@*- ::. :*@@@@@@@@@ + =%@@@@@@@+ *@@@@@@@@@@@* + :*@@@@@@@@+ %@@@@@@@@@@@@@@+. + -*@@@@@@@@@+ +%@@@@@@@@@@@@@@@*. + .-+%@@@@@@@@@#- =@@@@@@@@@@@@@@@+ + :=*%@@@@@@@@%*=: @@@@@@@@@@@@@@@@# + :+#@@@@@@@#*+-: :*%@@@@@@%%@@@@@@@@@@@@@@@@@# + .=#@@%#*+=-. :##%%@@@@@@@@@@@@@@@@@@@@@@@@@# + .-=-: ..:-=+*#%@@@@@@@@@@@@@@- + ..::--==++***##%%%%@@@@@@@@@@@@@@@@%%%##***+==-::. .-=*#@@@@@@@@* + .:=+*#%%%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#*+-: :=+#@@@% + ..:--=+**#%@@@@@@@@@@@@@@@@@@@@@@%#*##%@@@@@@@@@@@@@@@#+-. .-+- + .:=+*#%@@@@@@@@@@@@@@@@#+=:..-=+#%@@@@@@@@@@@@#+-. + .:=+#%@@@@@@@@@@@@@@@#+-. :-+#@@@@@@@@@@@%= + https://ipng.ch/ :-+#@@@@@@@@@@@@@@@#+-. .-+*%@%*-. + IPng Networks GmbH :=*%@@@@@@@@@@@@@%*- + :=*%@@@@@@@#+-. +Restricted access. Authorized users only. :=+-. +All connections are monitored and recorded. Contact for details. diff --git a/build/default/hvn0.lab.ipng.ch/host0-0/root/lab-build/disable-vpp b/build/default/hvn0.lab.ipng.ch/host0-0/root/lab-build/disable-vpp new file mode 100644 index 0000000..3d56a99 --- /dev/null +++ b/build/default/hvn0.lab.ipng.ch/host0-0/root/lab-build/disable-vpp @@ -0,0 +1,7 @@ +#!/bin/sh + +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 diff --git a/build/default/hvn0.lab.ipng.ch/host0-0/root/lab-build/perms b/build/default/hvn0.lab.ipng.ch/host0-0/root/lab-build/perms new file mode 100644 index 0000000..93e0c65 --- /dev/null +++ b/build/default/hvn0.lab.ipng.ch/host0-0/root/lab-build/perms @@ -0,0 +1,7 @@ +#!/bin/bash + +echo " * Fixing permissions" +chown -R root. /root/ +chown -R ipng. /home/ipng/ + +[ -r /etc/rc.local ] && chmod 755 /etc/rc.local \ No newline at end of file diff --git a/build/default/hvn0.lab.ipng.ch/host0-1/etc/motd b/build/default/hvn0.lab.ipng.ch/host0-1/etc/motd new file mode 100644 index 0000000..56a5416 --- /dev/null +++ b/build/default/hvn0.lab.ipng.ch/host0-1/etc/motd @@ -0,0 +1,27 @@ + -*%%= + =%@@@@@: + :%@@@@@@@* + :*@@@@@@@@@@ .=+- + :=*#%@@@@@@@@@@@@@+ .+@@@@# + .+@@@@@@@@@@@@@@@@@@@@##@@@@@@@= + +@@@@@@@@@@@%*+@@@@@@@@@@@@@@@@@* + =@@@@@@@@@#=: *@@@@%#*+*@@@@@@@# + -%@@@@@@@*- ::. :*@@@@@@@@@ + =%@@@@@@@+ *@@@@@@@@@@@* + :*@@@@@@@@+ %@@@@@@@@@@@@@@+. + -*@@@@@@@@@+ +%@@@@@@@@@@@@@@@*. + .-+%@@@@@@@@@#- =@@@@@@@@@@@@@@@+ + :=*%@@@@@@@@%*=: @@@@@@@@@@@@@@@@# + :+#@@@@@@@#*+-: :*%@@@@@@%%@@@@@@@@@@@@@@@@@# + .=#@@%#*+=-. :##%%@@@@@@@@@@@@@@@@@@@@@@@@@# + .-=-: ..:-=+*#%@@@@@@@@@@@@@@- + ..::--==++***##%%%%@@@@@@@@@@@@@@@@%%%##***+==-::. .-=*#@@@@@@@@* + .:=+*#%%%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#*+-: :=+#@@@% + ..:--=+**#%@@@@@@@@@@@@@@@@@@@@@@%#*##%@@@@@@@@@@@@@@@#+-. .-+- + .:=+*#%@@@@@@@@@@@@@@@@#+=:..-=+#%@@@@@@@@@@@@#+-. + .:=+#%@@@@@@@@@@@@@@@#+-. :-+#@@@@@@@@@@@%= + https://ipng.ch/ :-+#@@@@@@@@@@@@@@@#+-. .-+*%@%*-. + IPng Networks GmbH :=*%@@@@@@@@@@@@@%*- + :=*%@@@@@@@#+-. +Restricted access. Authorized users only. :=+-. +All connections are monitored and recorded. Contact for details. diff --git a/build/default/hvn0.lab.ipng.ch/host0-1/root/lab-build/disable-vpp b/build/default/hvn0.lab.ipng.ch/host0-1/root/lab-build/disable-vpp new file mode 100644 index 0000000..3d56a99 --- /dev/null +++ b/build/default/hvn0.lab.ipng.ch/host0-1/root/lab-build/disable-vpp @@ -0,0 +1,7 @@ +#!/bin/sh + +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 diff --git a/build/default/hvn0.lab.ipng.ch/host0-1/root/lab-build/perms b/build/default/hvn0.lab.ipng.ch/host0-1/root/lab-build/perms new file mode 100644 index 0000000..93e0c65 --- /dev/null +++ b/build/default/hvn0.lab.ipng.ch/host0-1/root/lab-build/perms @@ -0,0 +1,7 @@ +#!/bin/bash + +echo " * Fixing permissions" +chown -R root. /root/ +chown -R ipng. /home/ipng/ + +[ -r /etc/rc.local ] && chmod 755 /etc/rc.local \ No newline at end of file diff --git a/build/default/hvn0.lab.ipng.ch/tap0-0/etc/motd b/build/default/hvn0.lab.ipng.ch/tap0-0/etc/motd new file mode 100644 index 0000000..56a5416 --- /dev/null +++ b/build/default/hvn0.lab.ipng.ch/tap0-0/etc/motd @@ -0,0 +1,27 @@ + -*%%= + =%@@@@@: + :%@@@@@@@* + :*@@@@@@@@@@ .=+- + :=*#%@@@@@@@@@@@@@+ .+@@@@# + .+@@@@@@@@@@@@@@@@@@@@##@@@@@@@= + +@@@@@@@@@@@%*+@@@@@@@@@@@@@@@@@* + =@@@@@@@@@#=: *@@@@%#*+*@@@@@@@# + -%@@@@@@@*- ::. :*@@@@@@@@@ + =%@@@@@@@+ *@@@@@@@@@@@* + :*@@@@@@@@+ %@@@@@@@@@@@@@@+. + -*@@@@@@@@@+ +%@@@@@@@@@@@@@@@*. + .-+%@@@@@@@@@#- =@@@@@@@@@@@@@@@+ + :=*%@@@@@@@@%*=: @@@@@@@@@@@@@@@@# + :+#@@@@@@@#*+-: :*%@@@@@@%%@@@@@@@@@@@@@@@@@# + .=#@@%#*+=-. :##%%@@@@@@@@@@@@@@@@@@@@@@@@@# + .-=-: ..:-=+*#%@@@@@@@@@@@@@@- + ..::--==++***##%%%%@@@@@@@@@@@@@@@@%%%##***+==-::. .-=*#@@@@@@@@* + .:=+*#%%%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#*+-: :=+#@@@% + ..:--=+**#%@@@@@@@@@@@@@@@@@@@@@@%#*##%@@@@@@@@@@@@@@@#+-. .-+- + .:=+*#%@@@@@@@@@@@@@@@@#+=:..-=+#%@@@@@@@@@@@@#+-. + .:=+#%@@@@@@@@@@@@@@@#+-. :-+#@@@@@@@@@@@%= + https://ipng.ch/ :-+#@@@@@@@@@@@@@@@#+-. .-+*%@%*-. + IPng Networks GmbH :=*%@@@@@@@@@@@@@%*- + :=*%@@@@@@@#+-. +Restricted access. Authorized users only. :=+-. +All connections are monitored and recorded. Contact for details. diff --git a/build/default/hvn0.lab.ipng.ch/tap0-0/etc/rc.local b/build/default/hvn0.lab.ipng.ch/tap0-0/etc/rc.local new file mode 100644 index 0000000..08e364f --- /dev/null +++ b/build/default/hvn0.lab.ipng.ch/tap0-0/etc/rc.local @@ -0,0 +1,4 @@ +#!/bin/sh + +ip link set enp16s0f0 alias mirror-rx mtu 9216 up +ip link set enp16s0f1 alias mirror-tx mtu 9216 up \ No newline at end of file diff --git a/build/default/hvn0.lab.ipng.ch/tap0-0/root/lab-build/disable-vpp b/build/default/hvn0.lab.ipng.ch/tap0-0/root/lab-build/disable-vpp new file mode 100644 index 0000000..3d56a99 --- /dev/null +++ b/build/default/hvn0.lab.ipng.ch/tap0-0/root/lab-build/disable-vpp @@ -0,0 +1,7 @@ +#!/bin/sh + +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 diff --git a/build/default/hvn0.lab.ipng.ch/tap0-0/root/lab-build/perms b/build/default/hvn0.lab.ipng.ch/tap0-0/root/lab-build/perms new file mode 100644 index 0000000..93e0c65 --- /dev/null +++ b/build/default/hvn0.lab.ipng.ch/tap0-0/root/lab-build/perms @@ -0,0 +1,7 @@ +#!/bin/bash + +echo " * Fixing permissions" +chown -R root. /root/ +chown -R ipng. /home/ipng/ + +[ -r /etc/rc.local ] && chmod 755 /etc/rc.local \ No newline at end of file diff --git a/build/default/hvn0.lab.ipng.ch/vpp0-0/etc/motd b/build/default/hvn0.lab.ipng.ch/vpp0-0/etc/motd new file mode 100644 index 0000000..56a5416 --- /dev/null +++ b/build/default/hvn0.lab.ipng.ch/vpp0-0/etc/motd @@ -0,0 +1,27 @@ + -*%%= + =%@@@@@: + :%@@@@@@@* + :*@@@@@@@@@@ .=+- + :=*#%@@@@@@@@@@@@@+ .+@@@@# + .+@@@@@@@@@@@@@@@@@@@@##@@@@@@@= + +@@@@@@@@@@@%*+@@@@@@@@@@@@@@@@@* + =@@@@@@@@@#=: *@@@@%#*+*@@@@@@@# + -%@@@@@@@*- ::. :*@@@@@@@@@ + =%@@@@@@@+ *@@@@@@@@@@@* + :*@@@@@@@@+ %@@@@@@@@@@@@@@+. + -*@@@@@@@@@+ +%@@@@@@@@@@@@@@@*. + .-+%@@@@@@@@@#- =@@@@@@@@@@@@@@@+ + :=*%@@@@@@@@%*=: @@@@@@@@@@@@@@@@# + :+#@@@@@@@#*+-: :*%@@@@@@%%@@@@@@@@@@@@@@@@@# + .=#@@%#*+=-. :##%%@@@@@@@@@@@@@@@@@@@@@@@@@# + .-=-: ..:-=+*#%@@@@@@@@@@@@@@- + ..::--==++***##%%%%@@@@@@@@@@@@@@@@%%%##***+==-::. .-=*#@@@@@@@@* + .:=+*#%%%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#*+-: :=+#@@@% + ..:--=+**#%@@@@@@@@@@@@@@@@@@@@@@%#*##%@@@@@@@@@@@@@@@#+-. .-+- + .:=+*#%@@@@@@@@@@@@@@@@#+=:..-=+#%@@@@@@@@@@@@#+-. + .:=+#%@@@@@@@@@@@@@@@#+-. :-+#@@@@@@@@@@@%= + https://ipng.ch/ :-+#@@@@@@@@@@@@@@@#+-. .-+*%@%*-. + IPng Networks GmbH :=*%@@@@@@@@@@@@@%*- + :=*%@@@@@@@#+-. +Restricted access. Authorized users only. :=+-. +All connections are monitored and recorded. Contact for details. diff --git a/build/default/hvn0.lab.ipng.ch/vpp0-0/root/lab-build/perms b/build/default/hvn0.lab.ipng.ch/vpp0-0/root/lab-build/perms new file mode 100644 index 0000000..93e0c65 --- /dev/null +++ b/build/default/hvn0.lab.ipng.ch/vpp0-0/root/lab-build/perms @@ -0,0 +1,7 @@ +#!/bin/bash + +echo " * Fixing permissions" +chown -R root. /root/ +chown -R ipng. /home/ipng/ + +[ -r /etc/rc.local ] && chmod 755 /etc/rc.local \ No newline at end of file diff --git a/build/default/hvn0.lab.ipng.ch/vpp0-1/etc/motd b/build/default/hvn0.lab.ipng.ch/vpp0-1/etc/motd new file mode 100644 index 0000000..56a5416 --- /dev/null +++ b/build/default/hvn0.lab.ipng.ch/vpp0-1/etc/motd @@ -0,0 +1,27 @@ + -*%%= + =%@@@@@: + :%@@@@@@@* + :*@@@@@@@@@@ .=+- + :=*#%@@@@@@@@@@@@@+ .+@@@@# + .+@@@@@@@@@@@@@@@@@@@@##@@@@@@@= + +@@@@@@@@@@@%*+@@@@@@@@@@@@@@@@@* + =@@@@@@@@@#=: *@@@@%#*+*@@@@@@@# + -%@@@@@@@*- ::. :*@@@@@@@@@ + =%@@@@@@@+ *@@@@@@@@@@@* + :*@@@@@@@@+ %@@@@@@@@@@@@@@+. + -*@@@@@@@@@+ +%@@@@@@@@@@@@@@@*. + .-+%@@@@@@@@@#- =@@@@@@@@@@@@@@@+ + :=*%@@@@@@@@%*=: @@@@@@@@@@@@@@@@# + :+#@@@@@@@#*+-: :*%@@@@@@%%@@@@@@@@@@@@@@@@@# + .=#@@%#*+=-. :##%%@@@@@@@@@@@@@@@@@@@@@@@@@# + .-=-: ..:-=+*#%@@@@@@@@@@@@@@- + ..::--==++***##%%%%@@@@@@@@@@@@@@@@%%%##***+==-::. .-=*#@@@@@@@@* + .:=+*#%%%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#*+-: :=+#@@@% + ..:--=+**#%@@@@@@@@@@@@@@@@@@@@@@%#*##%@@@@@@@@@@@@@@@#+-. .-+- + .:=+*#%@@@@@@@@@@@@@@@@#+=:..-=+#%@@@@@@@@@@@@#+-. + .:=+#%@@@@@@@@@@@@@@@#+-. :-+#@@@@@@@@@@@%= + https://ipng.ch/ :-+#@@@@@@@@@@@@@@@#+-. .-+*%@%*-. + IPng Networks GmbH :=*%@@@@@@@@@@@@@%*- + :=*%@@@@@@@#+-. +Restricted access. Authorized users only. :=+-. +All connections are monitored and recorded. Contact for details. diff --git a/build/default/hvn0.lab.ipng.ch/vpp0-1/root/lab-build/perms b/build/default/hvn0.lab.ipng.ch/vpp0-1/root/lab-build/perms new file mode 100644 index 0000000..93e0c65 --- /dev/null +++ b/build/default/hvn0.lab.ipng.ch/vpp0-1/root/lab-build/perms @@ -0,0 +1,7 @@ +#!/bin/bash + +echo " * Fixing permissions" +chown -R root. /root/ +chown -R ipng. /home/ipng/ + +[ -r /etc/rc.local ] && chmod 755 /etc/rc.local \ No newline at end of file diff --git a/build/default/hvn0.lab.ipng.ch/vpp0-2/etc/motd b/build/default/hvn0.lab.ipng.ch/vpp0-2/etc/motd new file mode 100644 index 0000000..56a5416 --- /dev/null +++ b/build/default/hvn0.lab.ipng.ch/vpp0-2/etc/motd @@ -0,0 +1,27 @@ + -*%%= + =%@@@@@: + :%@@@@@@@* + :*@@@@@@@@@@ .=+- + :=*#%@@@@@@@@@@@@@+ .+@@@@# + .+@@@@@@@@@@@@@@@@@@@@##@@@@@@@= + +@@@@@@@@@@@%*+@@@@@@@@@@@@@@@@@* + =@@@@@@@@@#=: *@@@@%#*+*@@@@@@@# + -%@@@@@@@*- ::. :*@@@@@@@@@ + =%@@@@@@@+ *@@@@@@@@@@@* + :*@@@@@@@@+ %@@@@@@@@@@@@@@+. + -*@@@@@@@@@+ +%@@@@@@@@@@@@@@@*. + .-+%@@@@@@@@@#- =@@@@@@@@@@@@@@@+ + :=*%@@@@@@@@%*=: @@@@@@@@@@@@@@@@# + :+#@@@@@@@#*+-: :*%@@@@@@%%@@@@@@@@@@@@@@@@@# + .=#@@%#*+=-. :##%%@@@@@@@@@@@@@@@@@@@@@@@@@# + .-=-: ..:-=+*#%@@@@@@@@@@@@@@- + ..::--==++***##%%%%@@@@@@@@@@@@@@@@%%%##***+==-::. .-=*#@@@@@@@@* + .:=+*#%%%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#*+-: :=+#@@@% + ..:--=+**#%@@@@@@@@@@@@@@@@@@@@@@%#*##%@@@@@@@@@@@@@@@#+-. .-+- + .:=+*#%@@@@@@@@@@@@@@@@#+=:..-=+#%@@@@@@@@@@@@#+-. + .:=+#%@@@@@@@@@@@@@@@#+-. :-+#@@@@@@@@@@@%= + https://ipng.ch/ :-+#@@@@@@@@@@@@@@@#+-. .-+*%@%*-. + IPng Networks GmbH :=*%@@@@@@@@@@@@@%*- + :=*%@@@@@@@#+-. +Restricted access. Authorized users only. :=+-. +All connections are monitored and recorded. Contact for details. diff --git a/build/default/hvn0.lab.ipng.ch/vpp0-2/root/lab-build/perms b/build/default/hvn0.lab.ipng.ch/vpp0-2/root/lab-build/perms new file mode 100644 index 0000000..93e0c65 --- /dev/null +++ b/build/default/hvn0.lab.ipng.ch/vpp0-2/root/lab-build/perms @@ -0,0 +1,7 @@ +#!/bin/bash + +echo " * Fixing permissions" +chown -R root. /root/ +chown -R ipng. /home/ipng/ + +[ -r /etc/rc.local ] && chmod 755 /etc/rc.local \ No newline at end of file diff --git a/build/default/hvn0.lab.ipng.ch/vpp0-3/etc/motd b/build/default/hvn0.lab.ipng.ch/vpp0-3/etc/motd new file mode 100644 index 0000000..56a5416 --- /dev/null +++ b/build/default/hvn0.lab.ipng.ch/vpp0-3/etc/motd @@ -0,0 +1,27 @@ + -*%%= + =%@@@@@: + :%@@@@@@@* + :*@@@@@@@@@@ .=+- + :=*#%@@@@@@@@@@@@@+ .+@@@@# + .+@@@@@@@@@@@@@@@@@@@@##@@@@@@@= + +@@@@@@@@@@@%*+@@@@@@@@@@@@@@@@@* + =@@@@@@@@@#=: *@@@@%#*+*@@@@@@@# + -%@@@@@@@*- ::. :*@@@@@@@@@ + =%@@@@@@@+ *@@@@@@@@@@@* + :*@@@@@@@@+ %@@@@@@@@@@@@@@+. + -*@@@@@@@@@+ +%@@@@@@@@@@@@@@@*. + .-+%@@@@@@@@@#- =@@@@@@@@@@@@@@@+ + :=*%@@@@@@@@%*=: @@@@@@@@@@@@@@@@# + :+#@@@@@@@#*+-: :*%@@@@@@%%@@@@@@@@@@@@@@@@@# + .=#@@%#*+=-. :##%%@@@@@@@@@@@@@@@@@@@@@@@@@# + .-=-: ..:-=+*#%@@@@@@@@@@@@@@- + ..::--==++***##%%%%@@@@@@@@@@@@@@@@%%%##***+==-::. .-=*#@@@@@@@@* + .:=+*#%%%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#*+-: :=+#@@@% + ..:--=+**#%@@@@@@@@@@@@@@@@@@@@@@%#*##%@@@@@@@@@@@@@@@#+-. .-+- + .:=+*#%@@@@@@@@@@@@@@@@#+=:..-=+#%@@@@@@@@@@@@#+-. + .:=+#%@@@@@@@@@@@@@@@#+-. :-+#@@@@@@@@@@@%= + https://ipng.ch/ :-+#@@@@@@@@@@@@@@@#+-. .-+*%@%*-. + IPng Networks GmbH :=*%@@@@@@@@@@@@@%*- + :=*%@@@@@@@#+-. +Restricted access. Authorized users only. :=+-. +All connections are monitored and recorded. Contact for details. diff --git a/build/default/hvn0.lab.ipng.ch/vpp0-3/root/lab-build/perms b/build/default/hvn0.lab.ipng.ch/vpp0-3/root/lab-build/perms new file mode 100644 index 0000000..93e0c65 --- /dev/null +++ b/build/default/hvn0.lab.ipng.ch/vpp0-3/root/lab-build/perms @@ -0,0 +1,7 @@ +#!/bin/bash + +echo " * Fixing permissions" +chown -R root. /root/ +chown -R ipng. /home/ipng/ + +[ -r /etc/rc.local ] && chmod 755 /etc/rc.local \ No newline at end of file diff --git a/build/default/hvn1.lab.ipng.ch/host1-0/etc/motd b/build/default/hvn1.lab.ipng.ch/host1-0/etc/motd new file mode 100644 index 0000000..56a5416 --- /dev/null +++ b/build/default/hvn1.lab.ipng.ch/host1-0/etc/motd @@ -0,0 +1,27 @@ + -*%%= + =%@@@@@: + :%@@@@@@@* + :*@@@@@@@@@@ .=+- + :=*#%@@@@@@@@@@@@@+ .+@@@@# + .+@@@@@@@@@@@@@@@@@@@@##@@@@@@@= + +@@@@@@@@@@@%*+@@@@@@@@@@@@@@@@@* + =@@@@@@@@@#=: *@@@@%#*+*@@@@@@@# + -%@@@@@@@*- ::. :*@@@@@@@@@ + =%@@@@@@@+ *@@@@@@@@@@@* + :*@@@@@@@@+ %@@@@@@@@@@@@@@+. + -*@@@@@@@@@+ +%@@@@@@@@@@@@@@@*. + .-+%@@@@@@@@@#- =@@@@@@@@@@@@@@@+ + :=*%@@@@@@@@%*=: @@@@@@@@@@@@@@@@# + :+#@@@@@@@#*+-: :*%@@@@@@%%@@@@@@@@@@@@@@@@@# + .=#@@%#*+=-. :##%%@@@@@@@@@@@@@@@@@@@@@@@@@# + .-=-: ..:-=+*#%@@@@@@@@@@@@@@- + ..::--==++***##%%%%@@@@@@@@@@@@@@@@%%%##***+==-::. .-=*#@@@@@@@@* + .:=+*#%%%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#*+-: :=+#@@@% + ..:--=+**#%@@@@@@@@@@@@@@@@@@@@@@%#*##%@@@@@@@@@@@@@@@#+-. .-+- + .:=+*#%@@@@@@@@@@@@@@@@#+=:..-=+#%@@@@@@@@@@@@#+-. + .:=+#%@@@@@@@@@@@@@@@#+-. :-+#@@@@@@@@@@@%= + https://ipng.ch/ :-+#@@@@@@@@@@@@@@@#+-. .-+*%@%*-. + IPng Networks GmbH :=*%@@@@@@@@@@@@@%*- + :=*%@@@@@@@#+-. +Restricted access. Authorized users only. :=+-. +All connections are monitored and recorded. Contact for details. diff --git a/build/default/hvn1.lab.ipng.ch/host1-0/root/lab-build/disable-vpp b/build/default/hvn1.lab.ipng.ch/host1-0/root/lab-build/disable-vpp index a33b2ad..3d56a99 100644 --- a/build/default/hvn1.lab.ipng.ch/host1-0/root/lab-build/disable-vpp +++ b/build/default/hvn1.lab.ipng.ch/host1-0/root/lab-build/disable-vpp @@ -2,5 +2,6 @@ echo " * Disabling VPP, Bird and FRR" for i in vpp vppcfg bird-dataplane frr; do - ln -sf /dev/null /etc/systemd/system/multi-user.target.wants/${i}.service + 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 diff --git a/build/default/hvn1.lab.ipng.ch/host1-0/root/lab-build/perms b/build/default/hvn1.lab.ipng.ch/host1-0/root/lab-build/perms index beb167f..93e0c65 100644 --- a/build/default/hvn1.lab.ipng.ch/host1-0/root/lab-build/perms +++ b/build/default/hvn1.lab.ipng.ch/host1-0/root/lab-build/perms @@ -3,3 +3,5 @@ echo " * Fixing permissions" chown -R root. /root/ chown -R ipng. /home/ipng/ + +[ -r /etc/rc.local ] && chmod 755 /etc/rc.local \ No newline at end of file diff --git a/build/default/hvn1.lab.ipng.ch/host1-1/etc/motd b/build/default/hvn1.lab.ipng.ch/host1-1/etc/motd new file mode 100644 index 0000000..56a5416 --- /dev/null +++ b/build/default/hvn1.lab.ipng.ch/host1-1/etc/motd @@ -0,0 +1,27 @@ + -*%%= + =%@@@@@: + :%@@@@@@@* + :*@@@@@@@@@@ .=+- + :=*#%@@@@@@@@@@@@@+ .+@@@@# + .+@@@@@@@@@@@@@@@@@@@@##@@@@@@@= + +@@@@@@@@@@@%*+@@@@@@@@@@@@@@@@@* + =@@@@@@@@@#=: *@@@@%#*+*@@@@@@@# + -%@@@@@@@*- ::. :*@@@@@@@@@ + =%@@@@@@@+ *@@@@@@@@@@@* + :*@@@@@@@@+ %@@@@@@@@@@@@@@+. + -*@@@@@@@@@+ +%@@@@@@@@@@@@@@@*. + .-+%@@@@@@@@@#- =@@@@@@@@@@@@@@@+ + :=*%@@@@@@@@%*=: @@@@@@@@@@@@@@@@# + :+#@@@@@@@#*+-: :*%@@@@@@%%@@@@@@@@@@@@@@@@@# + .=#@@%#*+=-. :##%%@@@@@@@@@@@@@@@@@@@@@@@@@# + .-=-: ..:-=+*#%@@@@@@@@@@@@@@- + ..::--==++***##%%%%@@@@@@@@@@@@@@@@%%%##***+==-::. .-=*#@@@@@@@@* + .:=+*#%%%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#*+-: :=+#@@@% + ..:--=+**#%@@@@@@@@@@@@@@@@@@@@@@%#*##%@@@@@@@@@@@@@@@#+-. .-+- + .:=+*#%@@@@@@@@@@@@@@@@#+=:..-=+#%@@@@@@@@@@@@#+-. + .:=+#%@@@@@@@@@@@@@@@#+-. :-+#@@@@@@@@@@@%= + https://ipng.ch/ :-+#@@@@@@@@@@@@@@@#+-. .-+*%@%*-. + IPng Networks GmbH :=*%@@@@@@@@@@@@@%*- + :=*%@@@@@@@#+-. +Restricted access. Authorized users only. :=+-. +All connections are monitored and recorded. Contact for details. diff --git a/build/default/hvn1.lab.ipng.ch/host1-1/root/lab-build/disable-vpp b/build/default/hvn1.lab.ipng.ch/host1-1/root/lab-build/disable-vpp index a33b2ad..3d56a99 100644 --- a/build/default/hvn1.lab.ipng.ch/host1-1/root/lab-build/disable-vpp +++ b/build/default/hvn1.lab.ipng.ch/host1-1/root/lab-build/disable-vpp @@ -2,5 +2,6 @@ echo " * Disabling VPP, Bird and FRR" for i in vpp vppcfg bird-dataplane frr; do - ln -sf /dev/null /etc/systemd/system/multi-user.target.wants/${i}.service + 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 diff --git a/build/default/hvn1.lab.ipng.ch/host1-1/root/lab-build/perms b/build/default/hvn1.lab.ipng.ch/host1-1/root/lab-build/perms index beb167f..93e0c65 100644 --- a/build/default/hvn1.lab.ipng.ch/host1-1/root/lab-build/perms +++ b/build/default/hvn1.lab.ipng.ch/host1-1/root/lab-build/perms @@ -3,3 +3,5 @@ echo " * Fixing permissions" chown -R root. /root/ chown -R ipng. /home/ipng/ + +[ -r /etc/rc.local ] && chmod 755 /etc/rc.local \ No newline at end of file diff --git a/build/default/hvn1.lab.ipng.ch/tap1-0/etc/motd b/build/default/hvn1.lab.ipng.ch/tap1-0/etc/motd new file mode 100644 index 0000000..56a5416 --- /dev/null +++ b/build/default/hvn1.lab.ipng.ch/tap1-0/etc/motd @@ -0,0 +1,27 @@ + -*%%= + =%@@@@@: + :%@@@@@@@* + :*@@@@@@@@@@ .=+- + :=*#%@@@@@@@@@@@@@+ .+@@@@# + .+@@@@@@@@@@@@@@@@@@@@##@@@@@@@= + +@@@@@@@@@@@%*+@@@@@@@@@@@@@@@@@* + =@@@@@@@@@#=: *@@@@%#*+*@@@@@@@# + -%@@@@@@@*- ::. :*@@@@@@@@@ + =%@@@@@@@+ *@@@@@@@@@@@* + :*@@@@@@@@+ %@@@@@@@@@@@@@@+. + -*@@@@@@@@@+ +%@@@@@@@@@@@@@@@*. + .-+%@@@@@@@@@#- =@@@@@@@@@@@@@@@+ + :=*%@@@@@@@@%*=: @@@@@@@@@@@@@@@@# + :+#@@@@@@@#*+-: :*%@@@@@@%%@@@@@@@@@@@@@@@@@# + .=#@@%#*+=-. :##%%@@@@@@@@@@@@@@@@@@@@@@@@@# + .-=-: ..:-=+*#%@@@@@@@@@@@@@@- + ..::--==++***##%%%%@@@@@@@@@@@@@@@@%%%##***+==-::. .-=*#@@@@@@@@* + .:=+*#%%%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#*+-: :=+#@@@% + ..:--=+**#%@@@@@@@@@@@@@@@@@@@@@@%#*##%@@@@@@@@@@@@@@@#+-. .-+- + .:=+*#%@@@@@@@@@@@@@@@@#+=:..-=+#%@@@@@@@@@@@@#+-. + .:=+#%@@@@@@@@@@@@@@@#+-. :-+#@@@@@@@@@@@%= + https://ipng.ch/ :-+#@@@@@@@@@@@@@@@#+-. .-+*%@%*-. + IPng Networks GmbH :=*%@@@@@@@@@@@@@%*- + :=*%@@@@@@@#+-. +Restricted access. Authorized users only. :=+-. +All connections are monitored and recorded. Contact for details. diff --git a/build/default/hvn1.lab.ipng.ch/tap1-0/etc/rc.local b/build/default/hvn1.lab.ipng.ch/tap1-0/etc/rc.local new file mode 100644 index 0000000..08e364f --- /dev/null +++ b/build/default/hvn1.lab.ipng.ch/tap1-0/etc/rc.local @@ -0,0 +1,4 @@ +#!/bin/sh + +ip link set enp16s0f0 alias mirror-rx mtu 9216 up +ip link set enp16s0f1 alias mirror-tx mtu 9216 up \ No newline at end of file diff --git a/build/default/hvn1.lab.ipng.ch/tap1-0/root/lab-build/disable-vpp b/build/default/hvn1.lab.ipng.ch/tap1-0/root/lab-build/disable-vpp new file mode 100644 index 0000000..3d56a99 --- /dev/null +++ b/build/default/hvn1.lab.ipng.ch/tap1-0/root/lab-build/disable-vpp @@ -0,0 +1,7 @@ +#!/bin/sh + +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 diff --git a/build/default/hvn1.lab.ipng.ch/tap1-0/root/lab-build/perms b/build/default/hvn1.lab.ipng.ch/tap1-0/root/lab-build/perms index beb167f..93e0c65 100644 --- a/build/default/hvn1.lab.ipng.ch/tap1-0/root/lab-build/perms +++ b/build/default/hvn1.lab.ipng.ch/tap1-0/root/lab-build/perms @@ -3,3 +3,5 @@ echo " * Fixing permissions" chown -R root. /root/ chown -R ipng. /home/ipng/ + +[ -r /etc/rc.local ] && chmod 755 /etc/rc.local \ No newline at end of file diff --git a/build/default/hvn1.lab.ipng.ch/vpp1-0/etc/motd b/build/default/hvn1.lab.ipng.ch/vpp1-0/etc/motd new file mode 100644 index 0000000..56a5416 --- /dev/null +++ b/build/default/hvn1.lab.ipng.ch/vpp1-0/etc/motd @@ -0,0 +1,27 @@ + -*%%= + =%@@@@@: + :%@@@@@@@* + :*@@@@@@@@@@ .=+- + :=*#%@@@@@@@@@@@@@+ .+@@@@# + .+@@@@@@@@@@@@@@@@@@@@##@@@@@@@= + +@@@@@@@@@@@%*+@@@@@@@@@@@@@@@@@* + =@@@@@@@@@#=: *@@@@%#*+*@@@@@@@# + -%@@@@@@@*- ::. :*@@@@@@@@@ + =%@@@@@@@+ *@@@@@@@@@@@* + :*@@@@@@@@+ %@@@@@@@@@@@@@@+. + -*@@@@@@@@@+ +%@@@@@@@@@@@@@@@*. + .-+%@@@@@@@@@#- =@@@@@@@@@@@@@@@+ + :=*%@@@@@@@@%*=: @@@@@@@@@@@@@@@@# + :+#@@@@@@@#*+-: :*%@@@@@@%%@@@@@@@@@@@@@@@@@# + .=#@@%#*+=-. :##%%@@@@@@@@@@@@@@@@@@@@@@@@@# + .-=-: ..:-=+*#%@@@@@@@@@@@@@@- + ..::--==++***##%%%%@@@@@@@@@@@@@@@@%%%##***+==-::. .-=*#@@@@@@@@* + .:=+*#%%%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#*+-: :=+#@@@% + ..:--=+**#%@@@@@@@@@@@@@@@@@@@@@@%#*##%@@@@@@@@@@@@@@@#+-. .-+- + .:=+*#%@@@@@@@@@@@@@@@@#+=:..-=+#%@@@@@@@@@@@@#+-. + .:=+#%@@@@@@@@@@@@@@@#+-. :-+#@@@@@@@@@@@%= + https://ipng.ch/ :-+#@@@@@@@@@@@@@@@#+-. .-+*%@%*-. + IPng Networks GmbH :=*%@@@@@@@@@@@@@%*- + :=*%@@@@@@@#+-. +Restricted access. Authorized users only. :=+-. +All connections are monitored and recorded. Contact for details. diff --git a/build/default/hvn1.lab.ipng.ch/vpp1-0/root/lab-build/perms b/build/default/hvn1.lab.ipng.ch/vpp1-0/root/lab-build/perms index beb167f..93e0c65 100644 --- a/build/default/hvn1.lab.ipng.ch/vpp1-0/root/lab-build/perms +++ b/build/default/hvn1.lab.ipng.ch/vpp1-0/root/lab-build/perms @@ -3,3 +3,5 @@ echo " * Fixing permissions" chown -R root. /root/ chown -R ipng. /home/ipng/ + +[ -r /etc/rc.local ] && chmod 755 /etc/rc.local \ No newline at end of file diff --git a/build/default/hvn1.lab.ipng.ch/vpp1-1/etc/motd b/build/default/hvn1.lab.ipng.ch/vpp1-1/etc/motd new file mode 100644 index 0000000..56a5416 --- /dev/null +++ b/build/default/hvn1.lab.ipng.ch/vpp1-1/etc/motd @@ -0,0 +1,27 @@ + -*%%= + =%@@@@@: + :%@@@@@@@* + :*@@@@@@@@@@ .=+- + :=*#%@@@@@@@@@@@@@+ .+@@@@# + .+@@@@@@@@@@@@@@@@@@@@##@@@@@@@= + +@@@@@@@@@@@%*+@@@@@@@@@@@@@@@@@* + =@@@@@@@@@#=: *@@@@%#*+*@@@@@@@# + -%@@@@@@@*- ::. :*@@@@@@@@@ + =%@@@@@@@+ *@@@@@@@@@@@* + :*@@@@@@@@+ %@@@@@@@@@@@@@@+. + -*@@@@@@@@@+ +%@@@@@@@@@@@@@@@*. + .-+%@@@@@@@@@#- =@@@@@@@@@@@@@@@+ + :=*%@@@@@@@@%*=: @@@@@@@@@@@@@@@@# + :+#@@@@@@@#*+-: :*%@@@@@@%%@@@@@@@@@@@@@@@@@# + .=#@@%#*+=-. :##%%@@@@@@@@@@@@@@@@@@@@@@@@@# + .-=-: ..:-=+*#%@@@@@@@@@@@@@@- + ..::--==++***##%%%%@@@@@@@@@@@@@@@@%%%##***+==-::. .-=*#@@@@@@@@* + .:=+*#%%%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#*+-: :=+#@@@% + ..:--=+**#%@@@@@@@@@@@@@@@@@@@@@@%#*##%@@@@@@@@@@@@@@@#+-. .-+- + .:=+*#%@@@@@@@@@@@@@@@@#+=:..-=+#%@@@@@@@@@@@@#+-. + .:=+#%@@@@@@@@@@@@@@@#+-. :-+#@@@@@@@@@@@%= + https://ipng.ch/ :-+#@@@@@@@@@@@@@@@#+-. .-+*%@%*-. + IPng Networks GmbH :=*%@@@@@@@@@@@@@%*- + :=*%@@@@@@@#+-. +Restricted access. Authorized users only. :=+-. +All connections are monitored and recorded. Contact for details. diff --git a/build/default/hvn1.lab.ipng.ch/vpp1-1/root/lab-build/perms b/build/default/hvn1.lab.ipng.ch/vpp1-1/root/lab-build/perms index beb167f..93e0c65 100644 --- a/build/default/hvn1.lab.ipng.ch/vpp1-1/root/lab-build/perms +++ b/build/default/hvn1.lab.ipng.ch/vpp1-1/root/lab-build/perms @@ -3,3 +3,5 @@ echo " * Fixing permissions" chown -R root. /root/ chown -R ipng. /home/ipng/ + +[ -r /etc/rc.local ] && chmod 755 /etc/rc.local \ No newline at end of file diff --git a/build/default/hvn1.lab.ipng.ch/vpp1-2/etc/motd b/build/default/hvn1.lab.ipng.ch/vpp1-2/etc/motd new file mode 100644 index 0000000..56a5416 --- /dev/null +++ b/build/default/hvn1.lab.ipng.ch/vpp1-2/etc/motd @@ -0,0 +1,27 @@ + -*%%= + =%@@@@@: + :%@@@@@@@* + :*@@@@@@@@@@ .=+- + :=*#%@@@@@@@@@@@@@+ .+@@@@# + .+@@@@@@@@@@@@@@@@@@@@##@@@@@@@= + +@@@@@@@@@@@%*+@@@@@@@@@@@@@@@@@* + =@@@@@@@@@#=: *@@@@%#*+*@@@@@@@# + -%@@@@@@@*- ::. :*@@@@@@@@@ + =%@@@@@@@+ *@@@@@@@@@@@* + :*@@@@@@@@+ %@@@@@@@@@@@@@@+. + -*@@@@@@@@@+ +%@@@@@@@@@@@@@@@*. + .-+%@@@@@@@@@#- =@@@@@@@@@@@@@@@+ + :=*%@@@@@@@@%*=: @@@@@@@@@@@@@@@@# + :+#@@@@@@@#*+-: :*%@@@@@@%%@@@@@@@@@@@@@@@@@# + .=#@@%#*+=-. :##%%@@@@@@@@@@@@@@@@@@@@@@@@@# + .-=-: ..:-=+*#%@@@@@@@@@@@@@@- + ..::--==++***##%%%%@@@@@@@@@@@@@@@@%%%##***+==-::. .-=*#@@@@@@@@* + .:=+*#%%%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#*+-: :=+#@@@% + ..:--=+**#%@@@@@@@@@@@@@@@@@@@@@@%#*##%@@@@@@@@@@@@@@@#+-. .-+- + .:=+*#%@@@@@@@@@@@@@@@@#+=:..-=+#%@@@@@@@@@@@@#+-. + .:=+#%@@@@@@@@@@@@@@@#+-. :-+#@@@@@@@@@@@%= + https://ipng.ch/ :-+#@@@@@@@@@@@@@@@#+-. .-+*%@%*-. + IPng Networks GmbH :=*%@@@@@@@@@@@@@%*- + :=*%@@@@@@@#+-. +Restricted access. Authorized users only. :=+-. +All connections are monitored and recorded. Contact for details. diff --git a/build/default/hvn1.lab.ipng.ch/vpp1-2/root/lab-build/perms b/build/default/hvn1.lab.ipng.ch/vpp1-2/root/lab-build/perms index beb167f..93e0c65 100644 --- a/build/default/hvn1.lab.ipng.ch/vpp1-2/root/lab-build/perms +++ b/build/default/hvn1.lab.ipng.ch/vpp1-2/root/lab-build/perms @@ -3,3 +3,5 @@ echo " * Fixing permissions" chown -R root. /root/ chown -R ipng. /home/ipng/ + +[ -r /etc/rc.local ] && chmod 755 /etc/rc.local \ No newline at end of file diff --git a/build/default/hvn1.lab.ipng.ch/vpp1-3/etc/motd b/build/default/hvn1.lab.ipng.ch/vpp1-3/etc/motd new file mode 100644 index 0000000..56a5416 --- /dev/null +++ b/build/default/hvn1.lab.ipng.ch/vpp1-3/etc/motd @@ -0,0 +1,27 @@ + -*%%= + =%@@@@@: + :%@@@@@@@* + :*@@@@@@@@@@ .=+- + :=*#%@@@@@@@@@@@@@+ .+@@@@# + .+@@@@@@@@@@@@@@@@@@@@##@@@@@@@= + +@@@@@@@@@@@%*+@@@@@@@@@@@@@@@@@* + =@@@@@@@@@#=: *@@@@%#*+*@@@@@@@# + -%@@@@@@@*- ::. :*@@@@@@@@@ + =%@@@@@@@+ *@@@@@@@@@@@* + :*@@@@@@@@+ %@@@@@@@@@@@@@@+. + -*@@@@@@@@@+ +%@@@@@@@@@@@@@@@*. + .-+%@@@@@@@@@#- =@@@@@@@@@@@@@@@+ + :=*%@@@@@@@@%*=: @@@@@@@@@@@@@@@@# + :+#@@@@@@@#*+-: :*%@@@@@@%%@@@@@@@@@@@@@@@@@# + .=#@@%#*+=-. :##%%@@@@@@@@@@@@@@@@@@@@@@@@@# + .-=-: ..:-=+*#%@@@@@@@@@@@@@@- + ..::--==++***##%%%%@@@@@@@@@@@@@@@@%%%##***+==-::. .-=*#@@@@@@@@* + .:=+*#%%%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#*+-: :=+#@@@% + ..:--=+**#%@@@@@@@@@@@@@@@@@@@@@@%#*##%@@@@@@@@@@@@@@@#+-. .-+- + .:=+*#%@@@@@@@@@@@@@@@@#+=:..-=+#%@@@@@@@@@@@@#+-. + .:=+#%@@@@@@@@@@@@@@@#+-. :-+#@@@@@@@@@@@%= + https://ipng.ch/ :-+#@@@@@@@@@@@@@@@#+-. .-+*%@%*-. + IPng Networks GmbH :=*%@@@@@@@@@@@@@%*- + :=*%@@@@@@@#+-. +Restricted access. Authorized users only. :=+-. +All connections are monitored and recorded. Contact for details. diff --git a/build/default/hvn1.lab.ipng.ch/vpp1-3/root/lab-build/perms b/build/default/hvn1.lab.ipng.ch/vpp1-3/root/lab-build/perms index beb167f..93e0c65 100644 --- a/build/default/hvn1.lab.ipng.ch/vpp1-3/root/lab-build/perms +++ b/build/default/hvn1.lab.ipng.ch/vpp1-3/root/lab-build/perms @@ -3,3 +3,5 @@ echo " * Fixing permissions" chown -R root. /root/ chown -R ipng. /home/ipng/ + +[ -r /etc/rc.local ] && chmod 755 /etc/rc.local \ No newline at end of file diff --git a/build/default/hvn2.lab.ipng.ch/host2-0/etc/motd b/build/default/hvn2.lab.ipng.ch/host2-0/etc/motd new file mode 100644 index 0000000..56a5416 --- /dev/null +++ b/build/default/hvn2.lab.ipng.ch/host2-0/etc/motd @@ -0,0 +1,27 @@ + -*%%= + =%@@@@@: + :%@@@@@@@* + :*@@@@@@@@@@ .=+- + :=*#%@@@@@@@@@@@@@+ .+@@@@# + .+@@@@@@@@@@@@@@@@@@@@##@@@@@@@= + +@@@@@@@@@@@%*+@@@@@@@@@@@@@@@@@* + =@@@@@@@@@#=: *@@@@%#*+*@@@@@@@# + -%@@@@@@@*- ::. :*@@@@@@@@@ + =%@@@@@@@+ *@@@@@@@@@@@* + :*@@@@@@@@+ %@@@@@@@@@@@@@@+. + -*@@@@@@@@@+ +%@@@@@@@@@@@@@@@*. + .-+%@@@@@@@@@#- =@@@@@@@@@@@@@@@+ + :=*%@@@@@@@@%*=: @@@@@@@@@@@@@@@@# + :+#@@@@@@@#*+-: :*%@@@@@@%%@@@@@@@@@@@@@@@@@# + .=#@@%#*+=-. :##%%@@@@@@@@@@@@@@@@@@@@@@@@@# + .-=-: ..:-=+*#%@@@@@@@@@@@@@@- + ..::--==++***##%%%%@@@@@@@@@@@@@@@@%%%##***+==-::. .-=*#@@@@@@@@* + .:=+*#%%%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#*+-: :=+#@@@% + ..:--=+**#%@@@@@@@@@@@@@@@@@@@@@@%#*##%@@@@@@@@@@@@@@@#+-. .-+- + .:=+*#%@@@@@@@@@@@@@@@@#+=:..-=+#%@@@@@@@@@@@@#+-. + .:=+#%@@@@@@@@@@@@@@@#+-. :-+#@@@@@@@@@@@%= + https://ipng.ch/ :-+#@@@@@@@@@@@@@@@#+-. .-+*%@%*-. + IPng Networks GmbH :=*%@@@@@@@@@@@@@%*- + :=*%@@@@@@@#+-. +Restricted access. Authorized users only. :=+-. +All connections are monitored and recorded. Contact for details. diff --git a/build/default/hvn2.lab.ipng.ch/host2-0/root/lab-build/disable-vpp b/build/default/hvn2.lab.ipng.ch/host2-0/root/lab-build/disable-vpp new file mode 100644 index 0000000..3d56a99 --- /dev/null +++ b/build/default/hvn2.lab.ipng.ch/host2-0/root/lab-build/disable-vpp @@ -0,0 +1,7 @@ +#!/bin/sh + +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 diff --git a/build/default/hvn2.lab.ipng.ch/host2-0/root/lab-build/perms b/build/default/hvn2.lab.ipng.ch/host2-0/root/lab-build/perms new file mode 100644 index 0000000..93e0c65 --- /dev/null +++ b/build/default/hvn2.lab.ipng.ch/host2-0/root/lab-build/perms @@ -0,0 +1,7 @@ +#!/bin/bash + +echo " * Fixing permissions" +chown -R root. /root/ +chown -R ipng. /home/ipng/ + +[ -r /etc/rc.local ] && chmod 755 /etc/rc.local \ No newline at end of file diff --git a/build/default/hvn2.lab.ipng.ch/host2-1/etc/motd b/build/default/hvn2.lab.ipng.ch/host2-1/etc/motd new file mode 100644 index 0000000..56a5416 --- /dev/null +++ b/build/default/hvn2.lab.ipng.ch/host2-1/etc/motd @@ -0,0 +1,27 @@ + -*%%= + =%@@@@@: + :%@@@@@@@* + :*@@@@@@@@@@ .=+- + :=*#%@@@@@@@@@@@@@+ .+@@@@# + .+@@@@@@@@@@@@@@@@@@@@##@@@@@@@= + +@@@@@@@@@@@%*+@@@@@@@@@@@@@@@@@* + =@@@@@@@@@#=: *@@@@%#*+*@@@@@@@# + -%@@@@@@@*- ::. :*@@@@@@@@@ + =%@@@@@@@+ *@@@@@@@@@@@* + :*@@@@@@@@+ %@@@@@@@@@@@@@@+. + -*@@@@@@@@@+ +%@@@@@@@@@@@@@@@*. + .-+%@@@@@@@@@#- =@@@@@@@@@@@@@@@+ + :=*%@@@@@@@@%*=: @@@@@@@@@@@@@@@@# + :+#@@@@@@@#*+-: :*%@@@@@@%%@@@@@@@@@@@@@@@@@# + .=#@@%#*+=-. :##%%@@@@@@@@@@@@@@@@@@@@@@@@@# + .-=-: ..:-=+*#%@@@@@@@@@@@@@@- + ..::--==++***##%%%%@@@@@@@@@@@@@@@@%%%##***+==-::. .-=*#@@@@@@@@* + .:=+*#%%%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#*+-: :=+#@@@% + ..:--=+**#%@@@@@@@@@@@@@@@@@@@@@@%#*##%@@@@@@@@@@@@@@@#+-. .-+- + .:=+*#%@@@@@@@@@@@@@@@@#+=:..-=+#%@@@@@@@@@@@@#+-. + .:=+#%@@@@@@@@@@@@@@@#+-. :-+#@@@@@@@@@@@%= + https://ipng.ch/ :-+#@@@@@@@@@@@@@@@#+-. .-+*%@%*-. + IPng Networks GmbH :=*%@@@@@@@@@@@@@%*- + :=*%@@@@@@@#+-. +Restricted access. Authorized users only. :=+-. +All connections are monitored and recorded. Contact for details. diff --git a/build/default/hvn2.lab.ipng.ch/host2-1/root/lab-build/disable-vpp b/build/default/hvn2.lab.ipng.ch/host2-1/root/lab-build/disable-vpp new file mode 100644 index 0000000..3d56a99 --- /dev/null +++ b/build/default/hvn2.lab.ipng.ch/host2-1/root/lab-build/disable-vpp @@ -0,0 +1,7 @@ +#!/bin/sh + +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 diff --git a/build/default/hvn2.lab.ipng.ch/host2-1/root/lab-build/perms b/build/default/hvn2.lab.ipng.ch/host2-1/root/lab-build/perms new file mode 100644 index 0000000..93e0c65 --- /dev/null +++ b/build/default/hvn2.lab.ipng.ch/host2-1/root/lab-build/perms @@ -0,0 +1,7 @@ +#!/bin/bash + +echo " * Fixing permissions" +chown -R root. /root/ +chown -R ipng. /home/ipng/ + +[ -r /etc/rc.local ] && chmod 755 /etc/rc.local \ No newline at end of file diff --git a/build/default/hvn2.lab.ipng.ch/tap2-0/etc/motd b/build/default/hvn2.lab.ipng.ch/tap2-0/etc/motd new file mode 100644 index 0000000..56a5416 --- /dev/null +++ b/build/default/hvn2.lab.ipng.ch/tap2-0/etc/motd @@ -0,0 +1,27 @@ + -*%%= + =%@@@@@: + :%@@@@@@@* + :*@@@@@@@@@@ .=+- + :=*#%@@@@@@@@@@@@@+ .+@@@@# + .+@@@@@@@@@@@@@@@@@@@@##@@@@@@@= + +@@@@@@@@@@@%*+@@@@@@@@@@@@@@@@@* + =@@@@@@@@@#=: *@@@@%#*+*@@@@@@@# + -%@@@@@@@*- ::. :*@@@@@@@@@ + =%@@@@@@@+ *@@@@@@@@@@@* + :*@@@@@@@@+ %@@@@@@@@@@@@@@+. + -*@@@@@@@@@+ +%@@@@@@@@@@@@@@@*. + .-+%@@@@@@@@@#- =@@@@@@@@@@@@@@@+ + :=*%@@@@@@@@%*=: @@@@@@@@@@@@@@@@# + :+#@@@@@@@#*+-: :*%@@@@@@%%@@@@@@@@@@@@@@@@@# + .=#@@%#*+=-. :##%%@@@@@@@@@@@@@@@@@@@@@@@@@# + .-=-: ..:-=+*#%@@@@@@@@@@@@@@- + ..::--==++***##%%%%@@@@@@@@@@@@@@@@%%%##***+==-::. .-=*#@@@@@@@@* + .:=+*#%%%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#*+-: :=+#@@@% + ..:--=+**#%@@@@@@@@@@@@@@@@@@@@@@%#*##%@@@@@@@@@@@@@@@#+-. .-+- + .:=+*#%@@@@@@@@@@@@@@@@#+=:..-=+#%@@@@@@@@@@@@#+-. + .:=+#%@@@@@@@@@@@@@@@#+-. :-+#@@@@@@@@@@@%= + https://ipng.ch/ :-+#@@@@@@@@@@@@@@@#+-. .-+*%@%*-. + IPng Networks GmbH :=*%@@@@@@@@@@@@@%*- + :=*%@@@@@@@#+-. +Restricted access. Authorized users only. :=+-. +All connections are monitored and recorded. Contact for details. diff --git a/build/default/hvn2.lab.ipng.ch/tap2-0/etc/rc.local b/build/default/hvn2.lab.ipng.ch/tap2-0/etc/rc.local new file mode 100644 index 0000000..08e364f --- /dev/null +++ b/build/default/hvn2.lab.ipng.ch/tap2-0/etc/rc.local @@ -0,0 +1,4 @@ +#!/bin/sh + +ip link set enp16s0f0 alias mirror-rx mtu 9216 up +ip link set enp16s0f1 alias mirror-tx mtu 9216 up \ No newline at end of file diff --git a/build/default/hvn2.lab.ipng.ch/tap2-0/root/lab-build/disable-vpp b/build/default/hvn2.lab.ipng.ch/tap2-0/root/lab-build/disable-vpp new file mode 100644 index 0000000..3d56a99 --- /dev/null +++ b/build/default/hvn2.lab.ipng.ch/tap2-0/root/lab-build/disable-vpp @@ -0,0 +1,7 @@ +#!/bin/sh + +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 diff --git a/build/default/hvn2.lab.ipng.ch/tap2-0/root/lab-build/perms b/build/default/hvn2.lab.ipng.ch/tap2-0/root/lab-build/perms new file mode 100644 index 0000000..93e0c65 --- /dev/null +++ b/build/default/hvn2.lab.ipng.ch/tap2-0/root/lab-build/perms @@ -0,0 +1,7 @@ +#!/bin/bash + +echo " * Fixing permissions" +chown -R root. /root/ +chown -R ipng. /home/ipng/ + +[ -r /etc/rc.local ] && chmod 755 /etc/rc.local \ No newline at end of file diff --git a/build/default/hvn2.lab.ipng.ch/vpp2-0/etc/motd b/build/default/hvn2.lab.ipng.ch/vpp2-0/etc/motd new file mode 100644 index 0000000..56a5416 --- /dev/null +++ b/build/default/hvn2.lab.ipng.ch/vpp2-0/etc/motd @@ -0,0 +1,27 @@ + -*%%= + =%@@@@@: + :%@@@@@@@* + :*@@@@@@@@@@ .=+- + :=*#%@@@@@@@@@@@@@+ .+@@@@# + .+@@@@@@@@@@@@@@@@@@@@##@@@@@@@= + +@@@@@@@@@@@%*+@@@@@@@@@@@@@@@@@* + =@@@@@@@@@#=: *@@@@%#*+*@@@@@@@# + -%@@@@@@@*- ::. :*@@@@@@@@@ + =%@@@@@@@+ *@@@@@@@@@@@* + :*@@@@@@@@+ %@@@@@@@@@@@@@@+. + -*@@@@@@@@@+ +%@@@@@@@@@@@@@@@*. + .-+%@@@@@@@@@#- =@@@@@@@@@@@@@@@+ + :=*%@@@@@@@@%*=: @@@@@@@@@@@@@@@@# + :+#@@@@@@@#*+-: :*%@@@@@@%%@@@@@@@@@@@@@@@@@# + .=#@@%#*+=-. :##%%@@@@@@@@@@@@@@@@@@@@@@@@@# + .-=-: ..:-=+*#%@@@@@@@@@@@@@@- + ..::--==++***##%%%%@@@@@@@@@@@@@@@@%%%##***+==-::. .-=*#@@@@@@@@* + .:=+*#%%%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#*+-: :=+#@@@% + ..:--=+**#%@@@@@@@@@@@@@@@@@@@@@@%#*##%@@@@@@@@@@@@@@@#+-. .-+- + .:=+*#%@@@@@@@@@@@@@@@@#+=:..-=+#%@@@@@@@@@@@@#+-. + .:=+#%@@@@@@@@@@@@@@@#+-. :-+#@@@@@@@@@@@%= + https://ipng.ch/ :-+#@@@@@@@@@@@@@@@#+-. .-+*%@%*-. + IPng Networks GmbH :=*%@@@@@@@@@@@@@%*- + :=*%@@@@@@@#+-. +Restricted access. Authorized users only. :=+-. +All connections are monitored and recorded. Contact for details. diff --git a/build/default/hvn2.lab.ipng.ch/vpp2-0/root/lab-build/perms b/build/default/hvn2.lab.ipng.ch/vpp2-0/root/lab-build/perms new file mode 100644 index 0000000..93e0c65 --- /dev/null +++ b/build/default/hvn2.lab.ipng.ch/vpp2-0/root/lab-build/perms @@ -0,0 +1,7 @@ +#!/bin/bash + +echo " * Fixing permissions" +chown -R root. /root/ +chown -R ipng. /home/ipng/ + +[ -r /etc/rc.local ] && chmod 755 /etc/rc.local \ No newline at end of file diff --git a/build/default/hvn2.lab.ipng.ch/vpp2-1/etc/motd b/build/default/hvn2.lab.ipng.ch/vpp2-1/etc/motd new file mode 100644 index 0000000..56a5416 --- /dev/null +++ b/build/default/hvn2.lab.ipng.ch/vpp2-1/etc/motd @@ -0,0 +1,27 @@ + -*%%= + =%@@@@@: + :%@@@@@@@* + :*@@@@@@@@@@ .=+- + :=*#%@@@@@@@@@@@@@+ .+@@@@# + .+@@@@@@@@@@@@@@@@@@@@##@@@@@@@= + +@@@@@@@@@@@%*+@@@@@@@@@@@@@@@@@* + =@@@@@@@@@#=: *@@@@%#*+*@@@@@@@# + -%@@@@@@@*- ::. :*@@@@@@@@@ + =%@@@@@@@+ *@@@@@@@@@@@* + :*@@@@@@@@+ %@@@@@@@@@@@@@@+. + -*@@@@@@@@@+ +%@@@@@@@@@@@@@@@*. + .-+%@@@@@@@@@#- =@@@@@@@@@@@@@@@+ + :=*%@@@@@@@@%*=: @@@@@@@@@@@@@@@@# + :+#@@@@@@@#*+-: :*%@@@@@@%%@@@@@@@@@@@@@@@@@# + .=#@@%#*+=-. :##%%@@@@@@@@@@@@@@@@@@@@@@@@@# + .-=-: ..:-=+*#%@@@@@@@@@@@@@@- + ..::--==++***##%%%%@@@@@@@@@@@@@@@@%%%##***+==-::. .-=*#@@@@@@@@* + .:=+*#%%%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#*+-: :=+#@@@% + ..:--=+**#%@@@@@@@@@@@@@@@@@@@@@@%#*##%@@@@@@@@@@@@@@@#+-. .-+- + .:=+*#%@@@@@@@@@@@@@@@@#+=:..-=+#%@@@@@@@@@@@@#+-. + .:=+#%@@@@@@@@@@@@@@@#+-. :-+#@@@@@@@@@@@%= + https://ipng.ch/ :-+#@@@@@@@@@@@@@@@#+-. .-+*%@%*-. + IPng Networks GmbH :=*%@@@@@@@@@@@@@%*- + :=*%@@@@@@@#+-. +Restricted access. Authorized users only. :=+-. +All connections are monitored and recorded. Contact for details. diff --git a/build/default/hvn2.lab.ipng.ch/vpp2-1/root/lab-build/perms b/build/default/hvn2.lab.ipng.ch/vpp2-1/root/lab-build/perms new file mode 100644 index 0000000..93e0c65 --- /dev/null +++ b/build/default/hvn2.lab.ipng.ch/vpp2-1/root/lab-build/perms @@ -0,0 +1,7 @@ +#!/bin/bash + +echo " * Fixing permissions" +chown -R root. /root/ +chown -R ipng. /home/ipng/ + +[ -r /etc/rc.local ] && chmod 755 /etc/rc.local \ No newline at end of file diff --git a/build/default/hvn2.lab.ipng.ch/vpp2-2/etc/motd b/build/default/hvn2.lab.ipng.ch/vpp2-2/etc/motd new file mode 100644 index 0000000..56a5416 --- /dev/null +++ b/build/default/hvn2.lab.ipng.ch/vpp2-2/etc/motd @@ -0,0 +1,27 @@ + -*%%= + =%@@@@@: + :%@@@@@@@* + :*@@@@@@@@@@ .=+- + :=*#%@@@@@@@@@@@@@+ .+@@@@# + .+@@@@@@@@@@@@@@@@@@@@##@@@@@@@= + +@@@@@@@@@@@%*+@@@@@@@@@@@@@@@@@* + =@@@@@@@@@#=: *@@@@%#*+*@@@@@@@# + -%@@@@@@@*- ::. :*@@@@@@@@@ + =%@@@@@@@+ *@@@@@@@@@@@* + :*@@@@@@@@+ %@@@@@@@@@@@@@@+. + -*@@@@@@@@@+ +%@@@@@@@@@@@@@@@*. + .-+%@@@@@@@@@#- =@@@@@@@@@@@@@@@+ + :=*%@@@@@@@@%*=: @@@@@@@@@@@@@@@@# + :+#@@@@@@@#*+-: :*%@@@@@@%%@@@@@@@@@@@@@@@@@# + .=#@@%#*+=-. :##%%@@@@@@@@@@@@@@@@@@@@@@@@@# + .-=-: ..:-=+*#%@@@@@@@@@@@@@@- + ..::--==++***##%%%%@@@@@@@@@@@@@@@@%%%##***+==-::. .-=*#@@@@@@@@* + .:=+*#%%%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#*+-: :=+#@@@% + ..:--=+**#%@@@@@@@@@@@@@@@@@@@@@@%#*##%@@@@@@@@@@@@@@@#+-. .-+- + .:=+*#%@@@@@@@@@@@@@@@@#+=:..-=+#%@@@@@@@@@@@@#+-. + .:=+#%@@@@@@@@@@@@@@@#+-. :-+#@@@@@@@@@@@%= + https://ipng.ch/ :-+#@@@@@@@@@@@@@@@#+-. .-+*%@%*-. + IPng Networks GmbH :=*%@@@@@@@@@@@@@%*- + :=*%@@@@@@@#+-. +Restricted access. Authorized users only. :=+-. +All connections are monitored and recorded. Contact for details. diff --git a/build/default/hvn2.lab.ipng.ch/vpp2-2/root/lab-build/perms b/build/default/hvn2.lab.ipng.ch/vpp2-2/root/lab-build/perms new file mode 100644 index 0000000..93e0c65 --- /dev/null +++ b/build/default/hvn2.lab.ipng.ch/vpp2-2/root/lab-build/perms @@ -0,0 +1,7 @@ +#!/bin/bash + +echo " * Fixing permissions" +chown -R root. /root/ +chown -R ipng. /home/ipng/ + +[ -r /etc/rc.local ] && chmod 755 /etc/rc.local \ No newline at end of file diff --git a/build/default/hvn2.lab.ipng.ch/vpp2-3/etc/motd b/build/default/hvn2.lab.ipng.ch/vpp2-3/etc/motd new file mode 100644 index 0000000..56a5416 --- /dev/null +++ b/build/default/hvn2.lab.ipng.ch/vpp2-3/etc/motd @@ -0,0 +1,27 @@ + -*%%= + =%@@@@@: + :%@@@@@@@* + :*@@@@@@@@@@ .=+- + :=*#%@@@@@@@@@@@@@+ .+@@@@# + .+@@@@@@@@@@@@@@@@@@@@##@@@@@@@= + +@@@@@@@@@@@%*+@@@@@@@@@@@@@@@@@* + =@@@@@@@@@#=: *@@@@%#*+*@@@@@@@# + -%@@@@@@@*- ::. :*@@@@@@@@@ + =%@@@@@@@+ *@@@@@@@@@@@* + :*@@@@@@@@+ %@@@@@@@@@@@@@@+. + -*@@@@@@@@@+ +%@@@@@@@@@@@@@@@*. + .-+%@@@@@@@@@#- =@@@@@@@@@@@@@@@+ + :=*%@@@@@@@@%*=: @@@@@@@@@@@@@@@@# + :+#@@@@@@@#*+-: :*%@@@@@@%%@@@@@@@@@@@@@@@@@# + .=#@@%#*+=-. :##%%@@@@@@@@@@@@@@@@@@@@@@@@@# + .-=-: ..:-=+*#%@@@@@@@@@@@@@@- + ..::--==++***##%%%%@@@@@@@@@@@@@@@@%%%##***+==-::. .-=*#@@@@@@@@* + .:=+*#%%%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#*+-: :=+#@@@% + ..:--=+**#%@@@@@@@@@@@@@@@@@@@@@@%#*##%@@@@@@@@@@@@@@@#+-. .-+- + .:=+*#%@@@@@@@@@@@@@@@@#+=:..-=+#%@@@@@@@@@@@@#+-. + .:=+#%@@@@@@@@@@@@@@@#+-. :-+#@@@@@@@@@@@%= + https://ipng.ch/ :-+#@@@@@@@@@@@@@@@#+-. .-+*%@%*-. + IPng Networks GmbH :=*%@@@@@@@@@@@@@%*- + :=*%@@@@@@@#+-. +Restricted access. Authorized users only. :=+-. +All connections are monitored and recorded. Contact for details. diff --git a/build/default/hvn2.lab.ipng.ch/vpp2-3/root/lab-build/perms b/build/default/hvn2.lab.ipng.ch/vpp2-3/root/lab-build/perms new file mode 100644 index 0000000..93e0c65 --- /dev/null +++ b/build/default/hvn2.lab.ipng.ch/vpp2-3/root/lab-build/perms @@ -0,0 +1,7 @@ +#!/bin/bash + +echo " * Fixing permissions" +chown -R root. /root/ +chown -R ipng. /home/ipng/ + +[ -r /etc/rc.local ] && chmod 755 /etc/rc.local \ No newline at end of file diff --git a/overlays/bird/common/etc/motd b/overlays/bird/common/etc/motd new file mode 100644 index 0000000..ca34718 --- /dev/null +++ b/overlays/bird/common/etc/motd @@ -0,0 +1,28 @@ + -*%%= + =%@@@@@: + :%@@@@@@@* + :*@@@@@@@@@@ .=+- + :=*#%@@@@@@@@@@@@@+ .+@@@@# + .+@@@@@@@@@@@@@@@@@@@@##@@@@@@@= + +@@@@@@@@@@@%*+@@@@@@@@@@@@@@@@@* + =@@@@@@@@@#=: *@@@@%#*+*@@@@@@@# + -%@@@@@@@*- ::. :*@@@@@@@@@ + =%@@@@@@@+ *@@@@@@@@@@@* + :*@@@@@@@@+ %@@@@@@@@@@@@@@+. + -*@@@@@@@@@+ +%@@@@@@@@@@@@@@@*. + .-+%@@@@@@@@@#- =@@@@@@@@@@@@@@@+ + :=*%@@@@@@@@%*=: @@@@@@@@@@@@@@@@# + :+#@@@@@@@#*+-: :*%@@@@@@%%@@@@@@@@@@@@@@@@@# + .=#@@%#*+=-. :##%%@@@@@@@@@@@@@@@@@@@@@@@@@# + .-=-: ..:-=+*#%@@@@@@@@@@@@@@- + ..::--==++***##%%%%@@@@@@@@@@@@@@@@%%%##***+==-::. .-=*#@@@@@@@@* + .:=+*#%%%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#*+-: :=+#@@@% + ..:--=+**#%@@@@@@@@@@@@@@@@@@@@@@%#*##%@@@@@@@@@@@@@@@#+-. .-+- + .:=+*#%@@@@@@@@@@@@@@@@#+=:..-=+#%@@@@@@@@@@@@#+-. + .:=+#%@@@@@@@@@@@@@@@#+-. :-+#@@@@@@@@@@@%= + https://ipng.ch/ :-+#@@@@@@@@@@@@@@@#+-. .-+*%@%*-. + IPng Networks GmbH :=*%@@@@@@@@@@@@@%*- + :=*%@@@@@@@#+-. +Restricted access. Authorized users only. :=+-. +All connections are monitored and recorded. Contact for details. + diff --git a/overlays/bird/common/root/lab-build/perms b/overlays/bird/common/root/lab-build/perms index 9e3a9d4..4fb9400 100644 --- a/overlays/bird/common/root/lab-build/perms +++ b/overlays/bird/common/root/lab-build/perms @@ -4,3 +4,4 @@ echo " * Fixing permissions" chown -R root. /root/ chown -R ipng. /home/ipng/ +[ -r /etc/rc.local ] && chmod 755 /etc/rc.local diff --git a/overlays/bird/host/root/lab-build/disable-vpp b/overlays/bird/host/root/lab-build/disable-vpp deleted file mode 100644 index 13bbeb9..0000000 --- a/overlays/bird/host/root/lab-build/disable-vpp +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -echo " * Disabling VPP, Bird and FRR" -for i in vpp vppcfg bird-dataplane frr; do - ln -sf /dev/null /etc/systemd/system/multi-user.target.wants/${i}.service -done diff --git a/overlays/bird/host/root/lab-build/disable-vpp b/overlays/bird/host/root/lab-build/disable-vpp new file mode 120000 index 0000000..6edcdfb --- /dev/null +++ b/overlays/bird/host/root/lab-build/disable-vpp @@ -0,0 +1 @@ +../../../tap/root/lab-build/disable-vpp \ No newline at end of file diff --git a/overlays/bird/ovs-config.sh b/overlays/bird/ovs-config.sh index 0b813ed..b990afe 100755 --- a/overlays/bird/ovs-config.sh +++ b/overlays/bird/ovs-config.sh @@ -1,12 +1,11 @@ -#!/bin/sh +#!/bin/bash # # OVS configuration for the `bird` overlay LAB=${LAB:=0} -for node in 0 1 2 3; do - for int in 0 1 2 3; do - ovs-vsctl set port vpp${LAB}-${node}-${int} vlan_mode=access - done +BR=vpplan +for p in $(ovs-vsctl list-ifaces $BR); do + ovs-vsctl set port $p vlan_mode=access done # Uplink is VLAN 10 @@ -24,3 +23,57 @@ ovs-vsctl add port vpp${LAB}-2-0 tag 21 # Link vpp${LAB}-2 <-> vpp${LAB}-3 in VLAN 22 ovs-vsctl add port vpp${LAB}-2-1 tag 22 ovs-vsctl add port vpp${LAB}-3-0 tag 22 + +## Wire host${LAB}-0-[0123] to e2 of all VPP machines +ovs-vsctl set port vpp${LAB}-0-2 tag=30 +ovs-vsctl set port host${LAB}-0-0 tag=30 +ovs-vsctl set port vpp${LAB}-1-2 tag=31 +ovs-vsctl set port host${LAB}-0-1 tag=31 +ovs-vsctl set port vpp${LAB}-2-2 tag=32 +ovs-vsctl set port host${LAB}-0-2 tag=32 +ovs-vsctl set port vpp${LAB}-3-2 tag=33 +ovs-vsctl set port host${LAB}-0-3 tag=33 + +## Wire host${LAB}-1-[0123] to e3 of all VPP machines +ovs-vsctl set port vpp${LAB}-0-3 tag=40 +ovs-vsctl set port host${LAB}-1-0 tag=40 +ovs-vsctl set port vpp${LAB}-1-3 tag=41 +ovs-vsctl set port host${LAB}-1-1 tag=41 +ovs-vsctl set port vpp${LAB}-2-3 tag=42 +ovs-vsctl set port host${LAB}-1-2 tag=42 +ovs-vsctl set port vpp${LAB}-3-3 tag=43 +ovs-vsctl set port host${LAB}-1-3 tag=43 + +## Wire tap${LAB}-0-0 as 'rx' tap +MIRROR=mirror-rx +ovs-vsctl set port tap${LAB}-0-0 vlan_mode=native-tagged +[ ovs-vsctl list mirror $MIRROR >/dev/null 2>&1 ] || \ + ovs-vsctl -- --id=@m get mirror $MIRROR -- remove bridge $BR mirrors @m +ovs-vsctl --id=@m create mirror name=$MIRROR \ + -- --id=@p get port tap${LAB}-0-0 \ + -- add bridge $BR mirrors @m \ + -- set mirror $MIRROR output-port=@p \ + -- set mirror $MIRROR select_dst_port=[] \ + -- set mirror $MIRROR select_src_port=[] +for iface in $(ovs-vsctl list-ports $BR); do + [[ $iface == tap* ]] && continue + [[ $iface == uplink ]] && continue + ovs-vsctl add mirror $MIRROR select_dst_port $(ovs-vsctl get port $iface _uuid) +done + +## Wire tap${LAB}-0-1 as 'tx' tap +MIRROR=mirror-tx +ovs-vsctl set port tap${LAB}-0-1 vlan_mode=native-tagged +[ ovs-vsctl list mirror $MIRROR >/dev/null 2>&1 ] || \ + ovs-vsctl -- --id=@m get mirror $MIRROR -- remove bridge $BR mirrors @m +ovs-vsctl --id=@m create mirror name=$MIRROR \ + -- --id=@p get port tap${LAB}-0-1 \ + -- add bridge $BR mirrors @m \ + -- set mirror $MIRROR output-port=@p \ + -- set mirror $MIRROR select_dst_port=[] \ + -- set mirror $MIRROR select_src_port=[] +for iface in $(ovs-vsctl list-ports $BR); do + [[ $iface == tap* ]] && continue + [[ $iface == uplink ]] && continue + ovs-vsctl add mirror $MIRROR select_src_port $(ovs-vsctl get port $iface _uuid) +done diff --git a/overlays/bird/tap/etc/rc.local b/overlays/bird/tap/etc/rc.local new file mode 100644 index 0000000..76251ad --- /dev/null +++ b/overlays/bird/tap/etc/rc.local @@ -0,0 +1,4 @@ +#!/bin/sh + +ip link set enp16s0f0 alias mirror-rx mtu 9216 up +ip link set enp16s0f1 alias mirror-tx mtu 9216 up diff --git a/overlays/bird/tap/root/lab-build/disable-vpp b/overlays/bird/tap/root/lab-build/disable-vpp new file mode 100644 index 0000000..f9bda5d --- /dev/null +++ b/overlays/bird/tap/root/lab-build/disable-vpp @@ -0,0 +1,7 @@ +#!/bin/sh + +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