Re: [ovs-dev] Problem adding flows openvswitch

2012-09-20 Thread Andi
On 09/19/2012 07:27 PM, Ben Pfaff wrote: On Wed, Sep 19, 2012 at 07:22:59PM +0200, Andi wrote: We have installed openvswitch in netkit(a user-mode linux front-end let's say) after cross-compiling it for UML. During the startup of the virtual machines we use a script to install openvswitch using

Re: [ovs-dev] Problem adding flows openvswitch

2012-09-19 Thread Ben Pfaff
On Wed, Sep 19, 2012 at 07:22:59PM +0200, Andi wrote: > >>We have installed openvswitch in netkit(a user-mode linux front-end > >>let's say) after cross-compiling it for UML. During the startup of > >>the virtual machines we use a script to install openvswitch using > >>the commands reported in sec

Re: [ovs-dev] Problem adding flows openvswitch

2012-09-19 Thread Andi
On 09/19/2012 06:56 PM, Ben Pfaff wrote: On Wed, Sep 19, 2012 at 06:39:54PM +0200, Andi wrote: On 09/19/2012 06:14 PM, Ben Pfaff wrote: On Wed, Sep 19, 2012 at 03:35:56PM +0200, Andi wrote: On 09/18/2012 11:38 PM, Ben Pfaff wrote: On Tue, Sep 18, 2012 at 11:40:24PM +0200, Andi wrote: On 09/1

Re: [ovs-dev] Problem adding flows openvswitch

2012-09-19 Thread Ben Pfaff
On Wed, Sep 19, 2012 at 06:39:54PM +0200, Andi wrote: > On 09/19/2012 06:14 PM, Ben Pfaff wrote: > >On Wed, Sep 19, 2012 at 03:35:56PM +0200, Andi wrote: > >>On 09/18/2012 11:38 PM, Ben Pfaff wrote: > >>>On Tue, Sep 18, 2012 at 11:40:24PM +0200, Andi wrote: > On 09/18/2012 11:29 PM, Ben Pfaff w

Re: [ovs-dev] Problem adding flows openvswitch

2012-09-19 Thread Andi
On 09/19/2012 06:14 PM, Ben Pfaff wrote: On Wed, Sep 19, 2012 at 03:35:56PM +0200, Andi wrote: On 09/18/2012 11:38 PM, Ben Pfaff wrote: On Tue, Sep 18, 2012 at 11:40:24PM +0200, Andi wrote: On 09/18/2012 11:29 PM, Ben Pfaff wrote: On Tue, Sep 18, 2012 at 11:33:33PM +0200, Andi wrote: On 09/1

Re: [ovs-dev] Problem adding flows openvswitch

2012-09-19 Thread Ben Pfaff
On Wed, Sep 19, 2012 at 03:35:56PM +0200, Andi wrote: > On 09/18/2012 11:38 PM, Ben Pfaff wrote: > >On Tue, Sep 18, 2012 at 11:40:24PM +0200, Andi wrote: > >>On 09/18/2012 11:29 PM, Ben Pfaff wrote: > >>>On Tue, Sep 18, 2012 at 11:33:33PM +0200, Andi wrote: > On 09/18/2012 11:26 PM, Ben Pfaff w

Re: [ovs-dev] Problem adding flows openvswitch

2012-09-19 Thread Andi
On 09/18/2012 11:38 PM, Ben Pfaff wrote: On Tue, Sep 18, 2012 at 11:40:24PM +0200, Andi wrote: On 09/18/2012 11:29 PM, Ben Pfaff wrote: On Tue, Sep 18, 2012 at 11:33:33PM +0200, Andi wrote: On 09/18/2012 11:26 PM, Ben Pfaff wrote: On Tue, Sep 18, 2012 at 11:29:55PM +0200, Andi wrote: On 09/1

Re: [ovs-dev] Problem adding flows openvswitch

2012-09-18 Thread Ben Pfaff
On Tue, Sep 18, 2012 at 11:40:24PM +0200, Andi wrote: > On 09/18/2012 11:29 PM, Ben Pfaff wrote: > >On Tue, Sep 18, 2012 at 11:33:33PM +0200, Andi wrote: > >>On 09/18/2012 11:26 PM, Ben Pfaff wrote: > >>>On Tue, Sep 18, 2012 at 11:29:55PM +0200, Andi wrote: > On 09/18/2012 11:23 PM, Ben Pfaff w

Re: [ovs-dev] Problem adding flows openvswitch

2012-09-18 Thread Ben Pfaff
On Tue, Sep 18, 2012 at 11:33:33PM +0200, Andi wrote: > On 09/18/2012 11:26 PM, Ben Pfaff wrote: > >On Tue, Sep 18, 2012 at 11:29:55PM +0200, Andi wrote: > >>On 09/18/2012 11:23 PM, Ben Pfaff wrote: > >>>On Tue, Sep 18, 2012 at 11:24:52PM +0200, Andi wrote: > Hi Ben, > thank you for your ad

Re: [ovs-dev] Problem adding flows openvswitch

2012-09-18 Thread Andi
On 09/18/2012 11:26 PM, Ben Pfaff wrote: On Tue, Sep 18, 2012 at 11:29:55PM +0200, Andi wrote: On 09/18/2012 11:23 PM, Ben Pfaff wrote: On Tue, Sep 18, 2012 at 11:24:52PM +0200, Andi wrote: Hi Ben, thank you for your advices. Please find comments inline. Regards Andi On 09/18/2012 07:07 PM, B

Re: [ovs-dev] Problem adding flows openvswitch

2012-09-18 Thread Ben Pfaff
On Tue, Sep 18, 2012 at 11:29:55PM +0200, Andi wrote: > On 09/18/2012 11:23 PM, Ben Pfaff wrote: > >On Tue, Sep 18, 2012 at 11:24:52PM +0200, Andi wrote: > >>Hi Ben, > >>thank you for your advices. > >>Please find comments inline. > >> > >>Regards > >>Andi > >>On 09/18/2012 07:07 PM, Ben Pfaff wrot

Re: [ovs-dev] Problem adding flows openvswitch

2012-09-18 Thread Andi
On 09/18/2012 11:23 PM, Ben Pfaff wrote: On Tue, Sep 18, 2012 at 11:24:52PM +0200, Andi wrote: Hi Ben, thank you for your advices. Please find comments inline. Regards Andi On 09/18/2012 07:07 PM, Ben Pfaff wrote: On Tue, Sep 18, 2012 at 06:11:56PM +0200, Andi wrote: I am having some trouble

Re: [ovs-dev] Problem adding flows openvswitch

2012-09-18 Thread Ben Pfaff
On Tue, Sep 18, 2012 at 11:24:52PM +0200, Andi wrote: > Hi Ben, > thank you for your advices. > Please find comments inline. > > Regards > Andi > On 09/18/2012 07:07 PM, Ben Pfaff wrote: > >On Tue, Sep 18, 2012 at 06:11:56PM +0200, Andi wrote: > >>I am having some trouble in adding flow table entr

Re: [ovs-dev] Problem adding flows openvswitch

2012-09-18 Thread Andi
Hi Justin, yes, you are right. I should have seen that FAQ. Thank you. Your guess is right the problem is that I didn't specify a wildcard. Thank you Regards, Andi On 09/18/2012 07:06 PM, Justin Pettit wrote: OVS is "normalizing" your flows. The FAQ talks about this: http://openvswitc

Re: [ovs-dev] Problem adding flows openvswitch

2012-09-18 Thread Andi
Hi Ben, thank you for your advices. Please find comments inline. Regards Andi On 09/18/2012 07:07 PM, Ben Pfaff wrote: On Tue, Sep 18, 2012 at 06:11:56PM +0200, Andi wrote: I am having some trouble in adding flow table entries with openvswitch. I am using nox with some modifications on it and w

Re: [ovs-dev] Problem adding flows openvswitch

2012-09-18 Thread Ben Pfaff
On Tue, Sep 18, 2012 at 06:11:56PM +0200, Andi wrote: > I am having some trouble in adding flow table entries with > openvswitch. I am using nox with some modifications on it and when I > submit flow mod message the switches appear to accept the packet > (all the methods to add the flow entry retur

Re: [ovs-dev] Problem adding flows openvswitch

2012-09-18 Thread Justin Pettit
OVS is "normalizing" your flows. The FAQ talks about this: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=blob_plain;f=FAQ My guess is that you intended to set the nw_proto to a valid value (not 0) or wildcard it. --Justin On Sep 18, 2012, at 9:11 AM, Andi wrote: > Hell

[ovs-dev] Problem adding flows openvswitch

2012-09-18 Thread Andi
Hello all, I am having some trouble in adding flow table entries with openvswitch. I am using nox with some modifications on it and when I submit flow mod message the switches appear to accept the packet (all the methods to add the flow entry return 0), but when I use ovs-dpctl dump-flows br0 i