On Fri, Mar 31, 2017 at 11:14:48PM +0000, Ching Sun wrote:
> I'd like to create an OVS learn table to match with 5-tuple.  I had tried so 
> many different ways to do it, and never got it done.  I think there got be a 
> way to do that, I had seen many similar examples, but none of them exactly 
> matched what I wanted to do.  Here it's an example I tried (not succeeded, 
> but it could give you an idea of my intension):
> 
> ovs-ofctl -O OpenFlow13 add-flow br-int "table=40, priority=10, 
> metadata=0x01/0x0f, tcp, actions=learn(cookie=0xfade, table=30, 
> idle_timeout=60, eth_type=0x800,  NXM_OF_IP_SRC[], NXM_OF_IP_DST[], 
> NXM_OF_IP_PROTO[], NXM_OF_TCP_SRC[], NXM_OF_TCP_DST[], 
> load:0x1->NXM_NX_REG0[0..15]), resubmit(, 11)"
> 
> Can I do this?  How to do it?  What is the correct syntax to do it.

What's your goal?  By itself, this sort of thing is just going to
populate a table with the collection of 5-tuples that have passed
through the switch.
_______________________________________________
discuss mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to