Details about the received and sent OpenFlow protocol packets are recorded only when the debug mode is enabled. However, for certain types, such as OFPTYPE_FLOW_MOD, OFPTYPE_GROUP_MOD, OFPTYPE_ROLE_REPLY, OFPTYPE_BARRIER_REPLY, you need to record the details of each time. This patch provides a method for recording specific types of packets. This method can be used not only to print logs, but also to collect statistics, improving maintainability.
We provide a way https://github.com/openvswitch/ovs/pull/369. Maybe consider adding some maintainability.
Details about the received and sent OpenFlow protocol packets are recorded only when the debug mode is enabled. However, for certain types, such as OFPTYPE_FLOW_MOD, OFPTYPE_GROUP_MOD, OFPTYPE_ROLE_REPLY, OFPTYPE_BARRIER_REPLY, you need to record the details of each time. This patch provides a method for recording specific types of packets. This method can be used not only to print logs, but also to collect statistics, improving maintainability. We provide a way https://github.com/openvswitch/ovs/pull/369. Maybe consider adding some maintainability.