On Mon, Oct 17, 2022 at 9:18 AM Adrian Moreno <[email protected]> wrote: > > Currently, if a key is not found in the decoder information, we use the > default decoder which typically returns a string. > > This not only means we can go out of sync with the C code without > noticing but it's also error prone as malformed flows could be parsed > without warning. > > Make KeyValue parsing strict, raising an error if a decoder is not found > for a key. > This behaviour can be turned off globally by running 'KVDecoders.strict > = False' but it's generally not recommended. Also, if a KVDecoder does > need this default behavior, it can be explicitly configured specifying > it's default decoder. > > Signed-off-by: Adrian Moreno <[email protected]>
Acked-by: Mike Pattrick <[email protected]> > _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
