Hi guys,

When I developed some modules in the NOX, I found some problems about the NOX. 
And I don't know how to handle them, can somebody help me.
Problem 1:
when I set the actions of the flow to send the packets to the NOX, as 
actions=[openflow.OFPAT_OUTPUT, [0, openflow.OFPP_CONTROLLER], and the flow 
sent to the NOX had no packet but only the BufferID of the packet, and when I 
used the command of "dpctl dump-flows ****" to see the flows in the 
openflow-switch, the flow's action, which was "output:controller:ALL", was all 
right.

Problem 2:
when I set the actions of the flow to discard some packets, and the NOX 
received some errors from the openflow-switch, the errors are as follows: ERR: 
received OpenFlow error packet from dpid:********, type=2, code=4, 80 bytes of 
data.

Problem 3:
when I want to  extract the dhcp packet from the packet sent to the NOX, the 
details of what I had done are as follows:
#1 def packet_in_callback(dpid, inport, reason, len, bufferid, packet)
#2     if not packet.parsed:
#3         log.msg('Incomplete packet')
#4     dhpacket = packet.find('dhcp')
#5     if dhpacket:
#6         .............................
The function only execute to the 5th line, and the wireshark captured the flow 
that included the dhcp packet. How the function could not find the dhcp packet?


Thank you!
Best Regards!

J.

Reply via email to