Tahere Yaghou:
Hi,
I want an ovs switch outputs a packet to its receiving port, but in ovs doc
I read:

actions=[action][,action...]
              port
              output:port
                     Outputs the packet to OpenFlow port number port.  If
port is the packet's input port, the packet is not output.

so with bellow Ryu code:
»   actions = [ofproto_parser.OFPActionOutput(output_port)]
when input_port== output_port, the packet is dropped.

I find a new action in ovs :
              in_port
                     Outputs  the  packet  on  the  port  from  which  it
was
                     received.
but I can't find this action in Ryu... could you please help me to write a
code like this:
» if (in_port == port):
    actions=[ofproto_parser.OFPActionInPort()]

I'm using ovs 2.7 and openflow 1.3

Thanks in advance
------------------------------------------------------------------------------
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
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to