On Wed, Jan 04, 2017 at 06:13:09PM -0800, Justin Pettit wrote: > Add the ability to inject a packet into the connected Open vSwitch > instance. This is primarily useful for testing when a test requires > side-effects from an actual packet, so ovn-trace won't do. > > Signed-off-by: Justin Pettit <jpet...@ovn.org>
This looks quite useful. Thank you. ofctrl_inject_packet() should check that rconn_get_version() does not return -1, because that indicates that we can't encode or send a packet right now. At least in the long run we might want to break the pending_pkt handling out of main() into help functions. Acked-by: Ben Pfaff <b...@ovn.org> _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev