Added msg_prios module to define OpenFlow message priorities used in the core queues and covered with unit tests
Currently, only the msg_out queue is making use of priority, see this infrastructure/core PR https://github.com/kytos-ng/kytos/pull/226. In the future, we'll also have it for msg_in, and then we'll keep defining the rest of the OpenFlow message priorities that are primarily used as needed. NApps that put OpenFlow messages (flow_manager, of_lldp, sdntrace, and so on) are supposed to import and use this msg_prios module to get the message priority.
Description of the change
Currently, only the
msg_out
queue is making use of priority, see this infrastructure/core PR https://github.com/kytos-ng/kytos/pull/226. In the future, we'll also have it formsg_in
, and then we'll keep defining the rest of the OpenFlow message priorities that are primarily used as needed. NApps that put OpenFlow messages (flow_manager
,of_lldp
,sdntrace
, and so on) are supposed to import and use thismsg_prios
module to get the message priority.