Code Review
/
vpp.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
f3066b29395f0d647646c02abab44de8d81d8c9c
[vpp.git]
/
vpp-api
/
python
/
tests
/
test_modules.py
1
#!/usr/bin/env python
2
from __future__ import print_function
3
import unittest
4
import test_base
5
import vpp_papi
6
import pot, snat
7
print('Plugins:')
8
vpp_papi.plugin_show()
9
r = vpp_papi.connect('ole')
10
11
r = vpp_papi.show_version()
12
print('R:', r)
13
14
r = snat.snat_interface_add_del_feature(1, 1, 1)
15
print('R:', r)
16
17
vpp_papi.disconnect()