diff options
Diffstat (limited to 'tests/breakpoints_manual_1n')
| -rwxr-xr-x | tests/breakpoints_manual_1n/callback.py | 4 | ||||
| -rw-r--r-- | tests/breakpoints_manual_1n/platform.yaml | 22 |
2 files changed, 26 insertions, 0 deletions
diff --git a/tests/breakpoints_manual_1n/callback.py b/tests/breakpoints_manual_1n/callback.py new file mode 100755 index 0000000..5c9c6bc --- /dev/null +++ b/tests/breakpoints_manual_1n/callback.py @@ -0,0 +1,4 @@ +#!/usr/bin/env python + +def callback(simulator): + simulator.log("Hello Callback!") diff --git a/tests/breakpoints_manual_1n/platform.yaml b/tests/breakpoints_manual_1n/platform.yaml new file mode 100644 index 0000000..0860963 --- /dev/null +++ b/tests/breakpoints_manual_1n/platform.yaml @@ -0,0 +1,22 @@ +general: + breakpoints: [1,2,3,10] + breakpoints_callback: + file: "callback.py" + callback: "callback" + +nodes: + count: 2 + implementations: + - all node.py + +interfaces: + wlan0: + type: "wireless" + links: + - all 2bps 0s all + txperfs: + - all 2bps 0s + eth0: + type: "wired" + links: + - all 2bps 0s all
\ No newline at end of file |
