diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2023-06-29 11:10:26 +0200 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2023-06-29 11:10:26 +0200 |
| commit | 0177500584de83145f3a5620d61013043027a6a4 (patch) | |
| tree | 8c13f7ef7939458adc65a24e0b21cc791275b74b /manual/assets/orchestrator.py | |
| parent | c1ac340350da708232550725acacb52508afb604 (diff) | |
Update user manual
Diffstat (limited to 'manual/assets/orchestrator.py')
| -rwxr-xr-x | manual/assets/orchestrator.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/manual/assets/orchestrator.py b/manual/assets/orchestrator.py index a697aa8..f04bd49 100755 --- a/manual/assets/orchestrator.py +++ b/manual/assets/orchestrator.py @@ -10,8 +10,8 @@ L=np.full((n,n),0) # Latency 0s s=esds.Simulator({"wlan0":{"bandwidth":B, "latency":L, "is_wired":False}}) ##### Instantiate nodes with their implementation -s.create_node("node",args="sender") # Use node.py for the first node with "sender" as argument -s.create_node("node",args="receiver") # Now the second node +s.create_node("node",interfaces=["wlan0"],args="sender") # Use node.py for the first node, specify the vailable communication interfaces and use "sender" as argument +s.create_node("node",interfaces=["wlan0"],args="receiver") # Now the second node ##### Run the simulation s.run(interferences=True) |
