summaryrefslogtreecommitdiff
path: root/manual/assets/orchestrator.py
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2023-06-29 11:10:26 +0200
committerLoic Guegan <manzerbredes@mailbox.org>2023-06-29 11:10:26 +0200
commit0177500584de83145f3a5620d61013043027a6a4 (patch)
tree8c13f7ef7939458adc65a24e0b21cc791275b74b /manual/assets/orchestrator.py
parentc1ac340350da708232550725acacb52508afb604 (diff)
Update user manual
Diffstat (limited to 'manual/assets/orchestrator.py')
-rwxr-xr-xmanual/assets/orchestrator.py4
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)