Please don't drop the list.

Are you sure you don't instead want to use a ct action to do NAT and
load balancing?  It will perform better.

I don't see an obvious problem with your action.  What behavior do you
see?

On Fri, Mar 31, 2017 at 11:52:00PM +0000, Ching Sun wrote:
> True, this is what I intended to do.  My goal is to make sure that I learn 
> the 5-tuples at first hit, then for subsequence traffic, I am always routing 
> them to the same service function (even I have a group of same service 
> functions), so I could consistently forward traffic and preserve the session 
> state.
> 
> -----Original Message-----
> From: Ben Pfaff [mailto:[email protected]] 
> Sent: Friday, March 31, 2017 4:37 PM
> To: Ching Sun
> Cc: [email protected]
> Subject: Re: [ovs-discuss] How to ovs-ofctl add-flow learn with 5-tuple
> 
> 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