CPqD / nox13oflib

NOX Zaku with OF 1.3 support
Other
14 stars 14 forks source link

link discovery not working #4

Open tresegiangi opened 11 years ago

tresegiangi commented 11 years ago

Hi all, I connect the nox with two softswitch running on separate PC and I'm tryng the discovery application. To do that I insert a rule in the two datapath that switches all traffic in the Control port. When all applications are running (datapath, ofprotocol and nox), the discovery application doesn't work. Using wireshark, I see that LLDP packet created by the discovery application are formatted and sent inside the data link of the softswitch, the datapath redirects the received LLDP traffic, but the application does not receive the LLDP message (it receives PACKET_IN event with no payload).

For completeness, I am using on PCs Fedora Core 15, 64 bit version (X86_64).

Thanks in advance for the reply.

ederlf commented 11 years ago

Hi,

It is not working because the discovery application was not ported to OpenFlow 1.3. It is missing the addition of the table-miss entry, with an output action to send the packets to the controller. ( OpenFlow 1.3 table miss default is to drop not matched packets)

So, you need either to add the table-miss entry to you application, running with discovery, or add it to the discovery app.