Parcourir la source

set networking including unset

avadapal il y a 1 an
Parent
commit
b3edb4445e
1 fichiers modifiés avec 4 ajouts et 3 suppressions
  1. 4 3
      Docker/set-networking.sh

+ 4 - 3
Docker/set-networking.sh

@@ -9,6 +9,7 @@ fi
 if [ "$2" != "" ]; then
     bw="$2"
 fi
-docker exec --privileged  -w /root/duoram party0 tc qdisc add dev eth0 root netem delay $latency rate $bw
-docker exec --privileged  -w /root/duoram party1 tc qdisc add dev eth0 root netem delay $latency rate $bw
-docker exec --privileged  -w /root/duoram party2 tc qdisc add dev eth0 root netem delay $latency rate $bw
+sh unset-networking.sh
+docker exec --privileged  -w /root/duoram duoram_p0 tc qdisc add dev eth0 root netem delay $latency rate $bw
+docker exec --privileged  -w /root/duoram duoram_p1 tc qdisc add dev eth0 root netem delay $latency rate $bw
+docker exec --privileged  -w /root/duoram duoram_p2 tc qdisc add dev eth0 root netem delay $latency rate $bw