summaryrefslogtreecommitdiff
path: root/example/platform.yaml
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2023-06-29 09:37:27 +0200
committerLoic Guegan <manzerbredes@mailbox.org>2023-06-29 09:37:27 +0200
commite082a7b51983b4a277243f9bb02d3b5126b4b74a (patch)
tree3c0d2751465e04f7621aa817f91a0548990fb184 /example/platform.yaml
parent9a1578ae752075cbe4e0c658307d037cb18b56c9 (diff)
Interfaces are now assigned to specific nodes
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