session: API cleanup

Use consistent API types.

Type: fix

Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com>
Change-Id: Ib752a3425c076eb53bc5255a48039cbb74b1fcce
Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com>
This commit is contained in:
Jakub Grajciar
2020-01-31 09:35:29 +01:00
committed by Florin Coras
parent 5893747d72
commit b4e5e50fe8
14 changed files with 294 additions and 236 deletions

View File

@ -37,9 +37,9 @@ class TestSession(VppTestCase):
table_id += 1
# Configure namespaces
self.vapi.app_namespace_add_del(namespace_id=b"0",
self.vapi.app_namespace_add_del(namespace_id="0",
sw_if_index=self.loop0.sw_if_index)
self.vapi.app_namespace_add_del(namespace_id=b"1",
self.vapi.app_namespace_add_del(namespace_id="1",
sw_if_index=self.loop1.sw_if_index)
def tearDown(self):