Re: [nox-dev] FLOW_MOD message ignored

2009-02-15 Thread kk yap
Hi, I managed to do the flow mod by changing the command the ADD instead of MODIFY. Can someone explain what is the difference? Thanks. Regards KK 2009/2/14 Justin Pettit jpet...@nicira.com: Can you send us a either a pcap file or a printout of the bytes on the wire? --Justin On Feb 14,

[nox-dev] send_openflow_packet command needs in port?

2009-02-15 Thread kk yap
Hi, I was trying to send an entire packet to some port on an openflow switch. I realized that the send_openflow_packet takes the in port as a parameter. Why is that even needed if I am sending an packet not stored in the buffer of the switch? In my case, where I am sending a packet from

Re: [nox-dev] send_openflow_packet command needs in port?

2009-02-15 Thread Justin Pettit
For the most part, it doesn't matter what input port you use. The only two exceptions in OpenFlow are: - If the output port is OFPP_FLOOD or OFPP_ALL, then it will be sent out every port but the input port. - If the input port is equal to the output port, the packet will be discarded.