From a35f4020a250534e8ed2cd95596aee3eb2094111 Mon Sep 17 00:00:00 2001 From: Alessandro Iezzi Date: Mon, 14 Jul 2025 21:36:01 +0200 Subject: Commit iniziale --- multi-node/architettura.svg | 917 ++++++++++++++++++++++++++++++++++++++++++++ multi-node/reti.svg | 298 ++++++++++++++ multi-node/run-vm-0.sh | 44 +++ 3 files changed, 1259 insertions(+) create mode 100644 multi-node/architettura.svg create mode 100644 multi-node/reti.svg create mode 100755 multi-node/run-vm-0.sh (limited to 'multi-node') diff --git a/multi-node/architettura.svg b/multi-node/architettura.svg new file mode 100644 index 0000000..7e0e37b --- /dev/null +++ b/multi-node/architettura.svg @@ -0,0 +1,917 @@ + + + + + + + + + + + + + + + + + + + + + + + + + Network Node + + Basstion Node + + DHCPNamespace + + RouterNamespace + + IntegrationBridge + br-int + + Controller Node + + + + br-tun + + + + br-ext + + + + + + + + Compute Node + + + IntegrationBridge + br-int + + + br-tun + + + + + LinuxBridge + + + + Instance + + + + + + + + + + + + Interfaccia 1 + + + + + + + + + + + + TunnelNetwork + + + + API-extNetwork + + + + ManagementNetwork + + + + ExternalNetwork + + + + Interfaccia 1 + + + + Interfaccia 1 + + + + Interfaccia 1 + + + + Interfaccia 2 + + + + Interfaccia 2 + + + + Interfaccia 4 + + + + Interfaccia 4 + + + + Interfaccia 3 + + + + + + + + diff --git a/multi-node/reti.svg b/multi-node/reti.svg new file mode 100644 index 0000000..fcc8124 --- /dev/null +++ b/multi-node/reti.svg @@ -0,0 +1,298 @@ + + + + + + + + + + + + + + + 10.0.0.1 + + + + 10.0.0.1 + + bond 1 + + Front-End + + + + + + 10.0.0.1 + + + + 10.0.0.1 + + bond 2 + + Management + + + + + + 10.0.0.1 + + + + 10.0.0.1 + + bond 3 + + Ceph/Cinder + + + + diff --git a/multi-node/run-vm-0.sh b/multi-node/run-vm-0.sh new file mode 100755 index 0000000..f83258f --- /dev/null +++ b/multi-node/run-vm-0.sh @@ -0,0 +1,44 @@ +#!/bin/sh + +## BASTION NODE ## + +controllo_rete() +{ + ip address show br0 +} + +controllo_rete + +exit + + +# sudo ip tuntap add dev tap0 mode tap +# sudo ip link set tap0 up +# sudo ip addr add 192.168.100.1/24 dev tap0 + + +# -drive file=disk0.qcow2,format=qcow2,if=virtio \ +# -boot c + + +# NAT +# -netdev user,id=net0 -device virtio-net-pci,netdev=net0 \ + +qemu-system-x86_64 \ + -enable-kvm \ + -m 8192 \ + -smp 4 \ + -netdev user,id=net0,hostfwd=tcp::8080-:80,hostfwd=tcp::8443-:443 -device virtio-net-pci,netdev=net0 \ + -netdev tap,id=net1,ifname=tap0,script=no,downscript=no -device virtio-net-pci,netdev=net1 \ + -netdev tap,id=net2,ifname=tap1,script=no,downscript=no -device virtio-net-pci,netdev=net2 \ + -drive file=disk0.qcow2,format=qcow2,if=virtio \ + -drive file=ubuntu-24.04.2-live-server-amd64.iso,media=cdrom,readonly=on \ + -boot c + +qemu-system-x86_64 \ + -enable-kvm \ + -m 8192 \ + -drive file=disk0.qcow2,format=qcow2,if=virtio \ + -display none \ + -vnc :0 \ + -daemonize -- cgit v1.2.3