Hi. Nearly, I found the values both of IfOutDiscards and IfInDiscards are 
2^31-1 in our environment. The SFlow returned a record is filled its all bits 
with 1. I checked the relevant code, the implementation of SFlow in OVS ignored 
the error from netdev_get_stats (see 
https://github.com/openvswitch/ovs/blob/c6538b443984e10c266d7e75e797ef2f1b722d61/ofproto/ofproto-dpif-sflow.c#L351),
 caused some bad values are reported. But in RFC2233, A SFlow implement 'MUST 
NOT' instantiates an object with an incorrect value(see 
https://www.rfc-editor.org/rfc/rfc2233.txt#:~:text=specific%20MIB.%0A%0A3.1.18.-,All%20Values%20Must%20be%20Known,-There%20are%20a
 ).

  So, I think we had better return an error here, but not ignore it.
_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to