vpp_papi_provider.py: update defautmapping. 87/19287/2
authorPaul Vinciguerra <pvinci@vinciconsulting.com>
Wed, 1 May 2019 03:44:25 +0000 (20:44 -0700)
committerOle Trøan <otroan@employees.org>
Thu, 2 May 2019 10:18:31 +0000 (10:18 +0000)
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>
src/vnet/interface.api
test/vpp_papi_provider.py

index 7a2c45a..8c700e1 100644 (file)
@@ -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
index 6b3358b..86f13d1 100644 (file)
@@ -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,