summaryrefslogtreecommitdiff
path: root/example/platform.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'example/platform.yaml')
-rw-r--r--example/platform.yaml5
1 files changed, 4 insertions, 1 deletions
diff --git a/example/platform.yaml b/example/platform.yaml
index ea3f760..7632e50 100644
--- a/example/platform.yaml
+++ b/example/platform.yaml
@@ -39,10 +39,12 @@ nodes:
##### Interfaces Section #####
interfaces:
- # Each entry for each node interfaces
+ # Each entry defines an network interface
wlan0:
# Interface type (wired/wireless)
type: "wireless"
+ # Now specify the nodes on which the interface is available
+ nodes: all
# List of links between nodes on this interface
# Syntax infos:
# 1MBps = 1 megaBYTE per seconds
@@ -57,5 +59,6 @@ interfaces:
# Example of a wired interface
eth0:
type: "wired"
+ nodes: all
links:
- all 5Mbps 10s all \ No newline at end of file