From e082a7b51983b4a277243f9bb02d3b5126b4b74a Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Thu, 29 Jun 2023 09:37:27 +0200 Subject: Interfaces are now assigned to specific nodes --- example/platform.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'example/platform.yaml') 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 -- cgit v1.2.3