summaryrefslogtreecommitdiffstats
path: root/vpp-api/python/tests/test_modules.py
diff options
context:
space:
mode:
Diffstat (limited to 'vpp-api/python/tests/test_modules.py')
-rwxr-xr-xvpp-api/python/tests/test_modules.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/vpp-api/python/tests/test_modules.py b/vpp-api/python/tests/test_modules.py
new file mode 100755
index 00000000000..f3066b29395
--- /dev/null
+++ b/vpp-api/python/tests/test_modules.py
@@ -0,0 +1,17 @@
+#!/usr/bin/env python
+from __future__ import print_function
+import unittest
+import test_base
+import vpp_papi
+import pot, snat
+print('Plugins:')
+vpp_papi.plugin_show()
+r = vpp_papi.connect('ole')
+
+r = vpp_papi.show_version()
+print('R:', r)
+
+r = snat.snat_interface_add_del_feature(1, 1, 1)
+print('R:', r)
+
+vpp_papi.disconnect()