summaryrefslogtreecommitdiff
path: root/manual/assets/orchestrator.py
diff options
context:
space:
mode:
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)