diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2022-06-30 12:11:59 +0200 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2022-06-30 12:11:59 +0200 |
| commit | d0ae9f329685a19136cfd9a890b305db3bc384b9 (patch) | |
| tree | b3c72908b8930db16b1f682bb7119abeaf72fadf /tests/simple_send_4interfaces_1s2r/simulator.py | |
| parent | 1bef51d87860f782f687533012167bebb43c093d (diff) | |
Improve tests
Diffstat (limited to 'tests/simple_send_4interfaces_1s2r/simulator.py')
| -rwxr-xr-x | tests/simple_send_4interfaces_1s2r/simulator.py | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/tests/simple_send_4interfaces_1s2r/simulator.py b/tests/simple_send_4interfaces_1s2r/simulator.py deleted file mode 100755 index f7ebbf6..0000000 --- a/tests/simple_send_4interfaces_1s2r/simulator.py +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/env python - -# Load ESDS -import esds -import numpy as np - -B_wlan0=np.full((3,3),8) -B_wlan0[0,2]=0 # Sender cannot reach n2 on wlan0 -B_wlan1=np.full((3,3),8) # Sender can reach n1 AND n2 on wlan1 - -B_eth0=np.full((3,3),8) -B_eth1=np.full((3,3),16) # On eth1 sender can reach receiver twice faster than eth0 - -L=np.full((3,3),0) -s=esds.Simulator({"wlan0":{"bandwidth":B_wlan0, "latency":L, "is_wired":False}, - "wlan1":{"bandwidth":B_wlan1, "latency":L, "is_wired":False}, - "eth0":{"bandwidth":B_eth0, "latency":L, "is_wired":True}, - "eth1":{"bandwidth":B_eth1, "latency":L, "is_wired":True}}) - -s.create_node("sender") -s.create_node("receiver") -s.create_node("receiver") - -s.run() |
