mirror of
https://gitlab.com/manzerbredes/esds.git
synced 2025-04-19 12:09:44 +00:00
Update all integration tests and debug platform parsing
This commit is contained in:
parent
17bfda379b
commit
be6dafcd10
61 changed files with 167 additions and 753 deletions
|
@ -5,12 +5,6 @@ nodes:
|
|||
- 1 receiver.py
|
||||
|
||||
interfaces:
|
||||
wlan0:
|
||||
type: "wireless"
|
||||
links:
|
||||
- all 1Bps 0s all
|
||||
txperfs:
|
||||
- all 1Bps 0s
|
||||
eth0:
|
||||
type: "wired"
|
||||
links:
|
||||
|
|
|
@ -1,14 +0,0 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
# Load ESDS
|
||||
import esds
|
||||
import numpy as np
|
||||
|
||||
B=np.full((2,2),8)
|
||||
L=np.full((2,2),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("receiver")
|
||||
|
||||
s.run()
|
|
@ -1,43 +0,0 @@
|
|||
Python version 3.10.5 (main, Jun 6 2022, 18:49:26) [GCC 12.1.0]
|
||||
Simulation started at 1654802960.7880125
|
||||
Number of nodes is 2
|
||||
Manual breakpoints list: []
|
||||
Breakpoints every Nones
|
||||
-----------------------------------------------
|
||||
Started since 0.02s
|
||||
Simulated time 0.000s (or more precisely 0s)
|
||||
Node number per state: pending=1 request=1
|
||||
Node sharing: n1=1
|
||||
Ids of node in timeout mode:
|
||||
Sorted events list:
|
||||
[[0 1.0 array([0, 1, 'eth0', 'Hello World!', 1, 1.0, 1, 0], dtype=object)
|
||||
1]
|
||||
[1 2 array(1, dtype=object) 3]]
|
||||
-----------------------------------------------
|
||||
Started since 0.04s
|
||||
Simulated time 1.000s (or more precisely 1.0s)
|
||||
Node number per state: pending=1 request=1
|
||||
Node sharing: n1=1
|
||||
Ids of node in timeout mode:
|
||||
Sorted events list:
|
||||
[[1 1.5 array(1, dtype=object) 3]
|
||||
[0 2.0
|
||||
array([0, 1, 'eth0', 'Hello World!', 1, 1.0, 1, 1.0], dtype=object) 1]]
|
||||
-----------------------------------------------
|
||||
Started since 0.06s
|
||||
Simulated time 1.500s (or more precisely 1.5s)
|
||||
Node number per state: pending=1 request=1
|
||||
Node sharing: n1=1
|
||||
Ids of node in timeout mode:
|
||||
Sorted events list:
|
||||
[[0 2.0
|
||||
array([0, 1, 'eth0', 'Hello World!', 1, 1.0, 1, 1.0], dtype=object) 1]
|
||||
[1 2.0 array(1, dtype=object) 3]]
|
||||
-----------------------------------------------
|
||||
Started since 0.08s
|
||||
Simulated time 2.000s (or more precisely 2.0s)
|
||||
Node number per state: terminated=2
|
||||
Node sharing:
|
||||
Ids of node in timeout mode:
|
||||
Sorted events list:
|
||||
[]
|
Loading…
Add table
Add a link
Reference in a new issue