diff options
Diffstat (limited to 'example')
| -rw-r--r-- | example/platform.yaml | 19 | ||||
| -rwxr-xr-x | example/platform_test.py | 7 |
2 files changed, 26 insertions, 0 deletions
diff --git a/example/platform.yaml b/example/platform.yaml new file mode 100644 index 0000000..b8aa794 --- /dev/null +++ b/example/platform.yaml @@ -0,0 +1,19 @@ +general: + breakpoints: [] + breakpoints_every: 0 + debug: off + interferences: on + +nodes: + count: 5 + implementations: + - file.py + +interfaces: + wlan0: + wireless: yes + links: + - 0: 5-8 => 10MBps + eth0: + wireless: no + links: 5Mbps
\ No newline at end of file diff --git a/example/platform_test.py b/example/platform_test.py new file mode 100755 index 0000000..ccc9a98 --- /dev/null +++ b/example/platform_test.py @@ -0,0 +1,7 @@ +#!/usr/bin/env python + +from esds.helpers.platform import YAMLPlatformFile + + + +simulator=YAMLPlatformFile("platform.yaml")
\ No newline at end of file |
