These days, I am trying the new noxcpp, it's fantastic, I love the builder
pattern for constructing the openflow messages, but I ran into a serious
problem when I am trying to implement a LLDP module like the python discovery
component in classic nox,
1. in openflow-datapath.cc function void Openflow_datapath::send(const
v1::ofp_msg *msg) it has a line says:
if (is_sending) return.
So when I want to send a packet, but this method is in is_sending state, the
packet failed to send without a message.
2. Another issue is when I implement a loop like:
FOR(i, 1, n) dp->send(&msg)
------------
The sending result is
ethernet header
ofmsg1
ofmsg2
...
ofmsgn
--------------
It packed all openflow message to a large ethernet frame, it makes the ovs not
received independent msg.
Any ideas how to fix them ?
Thanks,
Changlin Fu