aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2019-04-30 20:44:25 -0700
committerOle Trøan <otroan@employees.org>2019-05-02 10:18:31 +0000
commit9a29f795a845ccb2b45e15f726cc7b151da83093 (patch)
tree9d81b59c3073a745e9627b0fdec57c657556b36f
parentca3d38ae18c21ce37212f0d5d5f4a1702429e70c (diff)
vpp_papi_provider.py: update defautmapping.
Add missing create_bvi/delete_bvi to defaultmapping. Correct typo in interface.api documentation. Change-Id: I8aa187f3b33c21fb2fcd55311ef79777c81d94d4 Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
-rw-r--r--src/vnet/interface.api2
-rw-r--r--test/vpp_papi_provider.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/vnet/interface.api b/src/vnet/interface.api
index 7a2c45a47ca..8c700e15123 100644
--- a/src/vnet/interface.api
+++ b/src/vnet/interface.api
@@ -113,7 +113,7 @@ autoreply define want_interface_events
@param sw_if_index - index of the interface
@param sup_sw_if_index - index of parent interface if any, else same as sw_if_index
@param l2_address_length - length of the interface's l2 address
- @param pid - the interface's l2 address
+ @param l2_address - the interface's l2 address
@param interface_name - name of the interface
@param link_duplex - 1 if half duplex, 2 if full duplex
@param link_speed - value in kbps
diff --git a/test/vpp_papi_provider.py b/test/vpp_papi_provider.py
index 6b3358b2b23..86f13d1c54e 100644
--- a/test/vpp_papi_provider.py
+++ b/test/vpp_papi_provider.py
@@ -53,6 +53,8 @@ defaultmapping = {
'bier_table_add_del': {'is_add': 1, },
'bridge_domain_add_del': {'flood': 1, 'uu_flood': 1, 'forward': 1,
'learn': 1, 'is_add': 1, },
+ 'bvi_create': {'user_instance': 4294967295, },
+ 'bvi_delete': {},
'classify_add_del_table': {'match_n_vectors': 1, 'table_index': 4294967295,
'nbuckets': 2, 'memory_size': 2097152,
'next_table_index': 4294967295,