dpdk: Add support for Mellanox ConnectX-4 devices
[vpp.git] / src / vpp-api / python / tests / test_modules.py
1 from __future__ import print_function
2 import unittest
3 import vpp_papi
4 import pot, snat
5 print('Plugins:')
6 vpp_papi.plugin_show()
7 r = vpp_papi.connect('ole')
8
9 r = vpp_papi.show_version()
10 print('R:', r)
11
12 r = snat.snat_interface_add_del_feature(1, 1, 1)
13 print('R:', r)
14
15 list_name = 'foobar'
16 r = pot.pot_profile_add(0, 1, 123, 123, 0, 12, 0, 23, len(list_name), list_name)
17 print('R:', r)
18 vpp_papi.disconnect()