Re: [ovs-discuss] Anyway to move/load data between ct_mark/ct_label and field/register ?

2017-05-16 Thread Zang MingJie
Thanks, that saves me a lot time On Tue, May 16, 2017 at 11:30 AM Ben Pfaff wrote: > On Mon, May 15, 2017 at 02:02:02PM -0700, Joe Stringer wrote: > > On 12 May 2017 at 01:32, Zang MingJie wrote: > > > The node is behind several load balancing nodes, I want to track which > lb > > > node the co

Re: [ovs-discuss] Anyway to move/load data between ct_mark/ct_label and field/register ?

2017-05-15 Thread Ben Pfaff
On Mon, May 15, 2017 at 02:02:02PM -0700, Joe Stringer wrote: > On 12 May 2017 at 01:32, Zang MingJie wrote: > > The node is behind several load balancing nodes, I want to track which lb > > node the connection is from by storing the Mac address of the lb node into > > conntrack, and send the resp

Re: [ovs-discuss] Anyway to move/load data between ct_mark/ct_label and field/register ?

2017-05-15 Thread Joe Stringer
On 12 May 2017 at 01:32, Zang MingJie wrote: > The node is behind several load balancing nodes, I want to track which lb > node the connection is from by storing the Mac address of the lb node into > conntrack, and send the response packets to the same lb node by loading the > saved Mac into dest

Re: [ovs-discuss] Anyway to move/load data between ct_mark/ct_label and field/register ?

2017-05-12 Thread Zang MingJie
The node is behind several load balancing nodes, I want to track which lb node the connection is from by storing the Mac address of the lb node into conntrack, and send the response packets to the same lb node by loading the saved Mac into dest Mac. On Fri, May 12, 2017 at 10:41 AM Ben Pfaff wrot

Re: [ovs-discuss] Anyway to move/load data between ct_mark/ct_label and field/register ?

2017-05-11 Thread Ben Pfaff
What's your high-level goal? Most fields will be the same on every trip through the connection tracker for a given (half-)connection, so there would be limited value in that. On Thu, May 11, 2017 at 02:37:13PM +, Zang MingJie wrote: > It can only set to immediately value, I want to copy some

Re: [ovs-discuss] Anyway to move/load data between ct_mark/ct_label and field/register ?

2017-05-11 Thread Zang MingJie
It can only set to immediately value, I want to copy some field into ct_label On Thu, May 11, 2017, 21:30 Ben Pfaff wrote: > On Thu, May 11, 2017 at 11:11:58AM +, Zang MingJie wrote: > > I wonder if there is any way to move data from or to ct_label like nicira > > move or load extension ? >

Re: [ovs-discuss] Anyway to move/load data between ct_mark/ct_label and field/register ?

2017-05-11 Thread Ben Pfaff
On Thu, May 11, 2017 at 11:11:58AM +, Zang MingJie wrote: > I wonder if there is any way to move data from or to ct_label like nicira > move or load extension ? > > I want to store some value of packet field or register to ct_lable on the > first packet, and the load ct_label to some fields of

[ovs-discuss] Anyway to move/load data between ct_mark/ct_label and field/register ?

2017-05-11 Thread Zang MingJie
Hi all: I wonder if there is any way to move data from or to ct_label like nicira move or load extension ? I want to store some value of packet field or register to ct_lable on the first packet, and the load ct_label to some fields of the following packet.