Hi,

This behavior is the constraint of OpenFlow Spec.
OpenFlow 1.3.5 says:
===
B.6.3 IN PORT Virtual Port

...(snip)... It is now forbidden unless the output port is explicitly set to 
OFPP_IN_PORT virtual port
(0xfff8) is set. ...       ...       ...                                     
...(snip)... For example,
if a packet needed to be sent to all interfaces on the switch, two actions 
would need to be specified:
”actions=output:ALL,output:IN PORT”.
===

According to the above, you need to set "port=ofproto.OFPP_IN_PORT" to forward 
packets to the ingress
port.

Thanks,
Iwase


On 2017年06月01日 20:34, Soliman Awad Alshra´a Abdullah TU Ilmenau wrote:
> Hello everyone,
> 
> in my work and Under some conditions, Switch receives a dedicated Packet 
> which lets a switch duplicates the packet: the first one is a flood and the 
> second one is a normal Packet with a special tag that would be directed 
> towards another switch.
> 
>  
> 
> Does the flooding Packet get out of the same inport that the previous Packet 
> came from ? (I need it to do that)
> 
> I use  - ofparser.OFPActionOutput(port=ofproto.OFPP_FLOOD) –
> 
> 
> I need many explanation, so any help would be appreciated
> 
> thanks
> A.Soliman
> 
> 
> 
> 
> 
> 
>  
> 
> 
> 
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> 
> 
> 
> _______________________________________________
> Ryu-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
> 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to