blob: 48df17559a0fe1c2b523e966c50b8ad4b070b9de [file] [log] [blame]
Ole Troan5f9dcff2016-08-01 04:59:13 +02001#!/usr/bin/env python
2from __future__ import print_function
3import unittest
4import test_base
5import vpp_papi
6import pot, snat
7print('Plugins:')
8vpp_papi.plugin_show()
9r = vpp_papi.connect('ole')
10
11r = vpp_papi.show_version()
12print('R:', r)
13
14r = snat.snat_interface_add_del_feature(1, 1, 1)
15print('R:', r)
16
Ole Troan1732fc12016-08-30 21:03:51 +020017list_name = 'foobar'
18r = pot.pot_profile_add(0, 1, 123, 123, 0, 12, 0, 23, len(list_name), list_name)
19print('R:', r)
Ole Troan5f9dcff2016-08-01 04:59:13 +020020vpp_papi.disconnect()