Hi
i want send flow_stats_request packet to switch,
can anyone help me?
can i use this code in pox controller?
msg = of.ofp_packet_out() # Create packet out message
msg.buffer_id = event.ofp.buffer_id # Use the incoming
packet as the data for the packet out
msg.in_port = packet_in.in_port # Set the in_port so
that the switch knows
msg.match = of.ofp_match.from_packet(packet)
# Add an action to send to the specified port
action = of.ofp_action_output(port = of.OFPP_FLOOD)
msg.actions.append(action)
# Send message to switch
self.connection.send(msg)
Thanks
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss