Hello,

If you were to add in support for multiple tables for replace-flows and 
diff-flows what changes do you think need to be made?  We are still looking at 
the code but some direction would be most helpful.
____________________________________________

Kris Lindgren
Senior Linux Systems Engineer
GoDaddy, LLC.


This email message and any attachment(s) hereto are intended for use only by 
its intended recipient(s) and may contain confidential information. If you have 
received this email in error, please immediately notify the sender and 
permanently delete the original and any copy of this message and its 
attachments.

From: Ben Pfaff [mailto:b...@nicira.com]
Sent: Monday, June 03, 2013 7:58 PM
To: Kris G. Lindgren
Cc: discuss@openvswitch.org
Subject: Re: [ovs-discuss] ovs-ofctl replace-flows


Excuse me, I made it sound like this is a general problem with ovs-ofctl. In 
fact it is specific to replace-flows and diff-flows.
On Jun 3, 2013 6:56 PM, "Ben Pfaff" <b...@nicira.com<mailto:b...@nicira.com>> 
wrote:

Ovs-ofctl isn't really aware of multiple tables and will screw them up if you 
use them. This is a long standing personal to-do item of mine. If you want to 
submit a patch to fix it, I would very much appreciate it.
On May 31, 2013 5:15 PM, "Kris G. Lindgren" 
<klindg...@godaddy.com<mailto:klindg...@godaddy.com>> wrote:
Hello all,

I am trying to use the ovs-ofctl replace-flows command to add flows from a file 
that includes multiple tables.  However, I am running into some issues.

First, when it works all the flows are added into table 0 and the table that is 
specified in the flow is ignored:

[root@g1dlgenlab07 ~]# ovs-ofctl del-flows xenbr0-int
[root@g1dlgenlab07 ~]# echo "table=1 action=normal"
table=1 action=normal
[root@g1dlgenlab07 ~]# echo "table=1 action=normal" > asdf
[root@g1dlgenlab07 ~]# ovs-ofctl dump-flows xenbr0-int
NXST_FLOW reply (xid=0x4):
[root@g1dlgenlab07 ~]# ovs-ofctl replace-flows xenbr0-int asdf
[root@g1dlgenlab07 ~]# ovs-ofctl dump-flows xenbr0-int
NXST_FLOW reply (xid=0x4):
cookie=0x0, duration=1.584s, table=0, n_packets=2998, n_bytes=128786, 
idle_age=0, actions=NORMAL

I have tried:
Table=1,action=normal
Table=1 action=normal
Table=1, action=normal

I have also tried specifying the flow format of "any", without any luck.

Second, most of the time that I run the above flow I loose connectivity to the 
machine.  The ip for the machine is bound to xenbr0 (not xenbr0-int) which is 
also an OVS bridge.  So whatever is going on seems to effect ovs as a whole.  
Running ovs-ofctl del-flows xenbr0-int will restore access to the machine.  
From KVM on the machine if I run a ovs-ofctl dump-flows xenbr0-int I can see 
the rule was added to table 0 and is matching packets, but connectivity to the 
ip on xenbr0 is still denied.

I am using ovs 1.10.

What am I missing something here?

Regards,
Kris Lindgren

_______________________________________________
discuss mailing list
discuss@openvswitch.org<mailto:discuss@openvswitch.org>
http://openvswitch.org/mailman/listinfo/discuss
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to