papi: add missing base types to serializer
File "/vpp/src/vpp-api/python/vpp_papi/vpp_serializer.py", line 512, in __init__ 'Unknown message type {}'.format(f_type)) vpp_papi.vpp_serializer.VPPSerializerValueError: Unknown message type i16 Type: fix Change-Id: Ibf73dc8df90153db586afe614e47be49739bac2f Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
This commit is contained in:

committed by
Ole Trøan

parent
14b0b4791c
commit
ba2c7fad1d
@ -179,9 +179,11 @@ class String(Packer):
|
||||
return (x.decode('ascii', errors='replace'), size + length_field_size)
|
||||
|
||||
|
||||
types = {'u8': BaseTypes('u8'), 'u16': BaseTypes('u16'),
|
||||
types = {'u8': BaseTypes('u8'), 'i8': BaseTypes('i8'),
|
||||
'u16': BaseTypes('u16'), 'i16': BaseTypes('i16'),
|
||||
'u32': BaseTypes('u32'), 'i32': BaseTypes('i32'),
|
||||
'u64': BaseTypes('u64'), 'f64': BaseTypes('f64'),
|
||||
'u64': BaseTypes('u64'), 'i64': BaseTypes('i64'),
|
||||
'f64': BaseTypes('f64'),
|
||||
'bool': BaseTypes('bool'), 'string': String}
|
||||
|
||||
class_types = {}
|
||||
|
Reference in New Issue
Block a user