summaryrefslogtreecommitdiff
path: root/tests/topotests/example_munet/test_munet.py
diff options
context:
space:
mode:
authorChristian Hopps <chopps@labn.net>2023-04-23 08:26:41 -0400
committerChristian Hopps <chopps@labn.net>2023-04-23 15:02:46 -0400
commita929d94ff545c80786c29a7949677ac8cbec4cef (patch)
tree5529651aec74706c72179ea5c08efe17d388a548 /tests/topotests/example_munet/test_munet.py
parent0def198cd3294bac381ce7905998bfe88aa08d05 (diff)
tests: add an example of using munet native config
Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'tests/topotests/example_munet/test_munet.py')
-rw-r--r--tests/topotests/example_munet/test_munet.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/topotests/example_munet/test_munet.py b/tests/topotests/example_munet/test_munet.py
new file mode 100644
index 0000000000..0d9599fa54
--- /dev/null
+++ b/tests/topotests/example_munet/test_munet.py
@@ -0,0 +1,10 @@
+# -*- coding: utf-8 eval: (blacken-mode 1) -*-
+# SPDX-License-Identifier: GPL-2.0-or-later
+#
+# April 23 2023, Christian Hopps <chopps@labn.net>
+#
+# Copyright (c) 2023, LabN Consulting, L.L.C.
+#
+async def test_native_test(unet):
+ o = unet.hosts["r1"].cmd_nostatus("ip addr")
+ print(o)