mirror of
https://gitlab.com/manzerbredes/esds.git
synced 2025-04-30 16:57:46 +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
7
tests/mobility_eth0_bandwidth_2s1r/mobility.py
Executable file
7
tests/mobility_eth0_bandwidth_2s1r/mobility.py
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
def callback(simulator):
|
||||
simulator.log("Network update!")
|
||||
new_bw_eth0=simulator.netmat["eth0"]["bandwidth"]*2
|
||||
simulator.update_network({"eth0":{"bandwidth":new_bw_eth0, "latency":simulator.netmat["eth0"]["latency"], "is_wired":True}})
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue