Socket transport is maintaining message_table to map
message name to index. After disconnect and re-connect,
the VPP may have been restarted with different set of plugins,
so message_table has to be wiped.
+ Edited MAINTAINERS to recognize "papi" as a separate component.
Type: fix
Change-Id: I1f16ad7ee0886e03bbc6a17bcddbfcaa322354e5
Signed-off-by: Vratko Polak <[email protected]>
F: src/vnet/devices/
VNET TAP Drivers
-I: tap
-F: src/vnet/devices/tap/
-F: src/vnet/devices/virtio/node.c
-F: src/vnet/devices/virtio/device.c
+I: tap
+F: src/vnet/devices/tap/
+F: src/vnet/devices/virtio/node.c
+F: src/vnet/devices/virtio/device.c
VNET Feature Arcs
I: feature
F: src/plugins/hs_apps/
+Python binding for the VPP API
+I: papi
+F: src/vpp-api/python
+
THE REST
I: misc
if self.message_thread is not None and self.message_thread.is_alive():
# Allow additional connect() calls.
self.message_thread.join()
+ # Wipe message table, VPP can be restarted with different plugins.
+ self.message_table = {}
# Collect garbage.
self.message_thread = None
self.socket = None