mirror of
https://gitlab.com/manzerbredes/esds.git
synced 2025-04-19 03:59:45 +00:00
Make one sharing matrix per wired interface
This commit is contained in:
parent
3fef2bbf4b
commit
d2a5ea6f53
26 changed files with 50 additions and 45 deletions
|
@ -26,7 +26,7 @@ B=np.full((n,n),5) # 5Mbps
|
|||
L=np.full((n,n),0) # 0s
|
||||
|
||||
##### Create the simulator
|
||||
s=esds.Simulator({"wlan0":{"bandwidth":B, "latency":L},"eth0":{"bandwidth":B, "latency":L}})
|
||||
s=esds.Simulator({"wlan0":{"bandwidth":B, "latency":L, "is_wired":False},"eth0":{"bandwidth":B, "latency":L, "is_wired":True}})
|
||||
|
||||
##### Instantiate nodes
|
||||
uptime=180 # 180s uptime
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue