refactor(testbed): Split node scripts from ./10-host_setup.sh

Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
This commit is contained in:
Tuan-Dat Tran
2024-12-30 17:25:17 +01:00
parent 66d1e9eb58
commit f3e97a4619
4 changed files with 52 additions and 49 deletions

View File

@@ -0,0 +1,17 @@
#!/bin/bash
# node1
sudo ./30-add_namespaces.sh tb_node1_if0
sudo ./30-add_namespaces.sh tb_node1_if1
sudo ./30-add_namespaces.sh tb_node1_if2
sudo ./30-add_namespaces.sh tb_node1_if3
sudo ./31-configure_interfaces.sh tb_node1_if0 enp6s0f0np0 10.0.1.1/16
sudo ./31-configure_interfaces.sh tb_node1_if1 enp6s0f1np1 10.0.1.2/16
sudo ./31-configure_interfaces.sh tb_node1_if2 enp6s0f2np2 10.0.1.3/16
sudo ./31-configure_interfaces.sh tb_node1_if3 enp6s0f3np3 10.0.1.4/16
sudo ./32-setup_arp.sh tb_node1_if0 enp6s0f0np0
sudo ./32-setup_arp.sh tb_node1_if1 enp6s0f1np1
sudo ./32-setup_arp.sh tb_node1_if2 enp6s0f2np2
sudo ./32-setup_arp.sh tb_node1_if3 enp6s0f3np3