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. If you need that ability, then the output port must be
OFPP_IN_PORT.
The safest thing is probably to just set it to OFPP_NONE.
--Justin
On Feb 15, 2009, at 10:25 PM, kk yap wrote:
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 elsewhere, what should I put as the in port number?
Any advice is appreciated. Thanks in advance.
Regards
KK
_______________________________________________
nox-dev mailing list
[email protected]
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
_______________________________________________
nox-dev mailing list
[email protected]
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org