Update all integration tests and debug platform parsing

This commit is contained in:
Loic Guegan 2022-09-13 15:49:38 +02:00
parent 17bfda379b
commit be6dafcd10
61 changed files with 167 additions and 753 deletions

View file

@ -8,12 +8,6 @@ nodes:
- 2 receiver.py
interfaces:
wlan0:
type: "wireless"
links:
- all 3bps 0s all
txperfs:
- all 3bps 0s
eth0:
type: "wired"
links:

View file

@ -1,15 +0,0 @@
#!/usr/bin/env python
# Load ESDS
import esds
import numpy as np
B=np.full((3,3),3)
L=np.full((3,3),0)
s=esds.Simulator({"wlan0":{"bandwidth":B, "latency":L, "is_wired":False}, "eth0":{"bandwidth":B, "latency":L, "is_wired":True}})
s.create_node("sender")
s.create_node("sender")
s.create_node("receiver")
s.run(interferences=False)