[ovs-dev] Returned mail: Data format error

2015-10-06 Thread Mail Administrator
The original message was received at Wed, 7 Oct 2015 13:02:48 +0700 from openvswitch.org [63.153.231.144] - The following addresses had permanent fatal errors - ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo

Re: [ovs-dev] Handling "Port Shutdown" message

2015-10-06 Thread tech_kals Kals
Hi Ben, Assume when any Openflow agent uses OVS openflow stack to interact with the controller. When port is configured admin down in the hardware. Openflow agent wants to inform the controller about the port shut hence it will send port shutdown message to OVS. It is the responsibility of OVS t

[ovs-dev] RETURNED MAIL: SEE TRANSCRIPT FOR DETAILS

2015-10-06 Thread crucial . service
___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

Re: [ovs-dev] [PATCH v2] ovn: Update TODO, ovn-northd flow table design, ovn-architecture for L3.

2015-10-06 Thread Ben Pfaff
On Tue, Oct 06, 2015 at 05:20:58PM -0700, Justin Pettit wrote: > > > On Oct 6, 2015, at 2:48 PM, Ben Pfaff wrote: > > > > On Tue, Oct 6, 2015 at 2:46 PM, Ben Pfaff wrote: > >> This is a proposed plan for logical L3 in OVN. It is not entirely > >> complete but it includes many important details

Re: [ovs-dev] [Debian-non-root 3/4] ovs-ctl: add --no-run-as-root option

2015-10-06 Thread Ansis Atteka
On 5 October 2015 at 18:38, Andy Zhou wrote: > Add option to ovs-ctl script to specify whether to start the daemons as > root user or ovs user. The default is 'run-as-root', which preserve > s/preserve/preserves > the scripts' current behavior. > s/script/script's > > Signed-off-by: Andy Zhou

Re: [ovs-dev] [Debian-non-root 2/4] ovs-ctl: Remove hard coded root user and group

2015-10-06 Thread Ansis Atteka
On 5 October 2015 at 18:38, Andy Zhou wrote: > Replace hard coded root user and group with OVS_USER and OVS_GROUP. > > Signed-off-by: Andy Zhou > --- > utilities/ovs-ctl.in | 3 +++ > utilities/ovs-lib.in | 6 +++--- > 2 files changed, 6 insertions(+), 3 deletions(-) > > diff --git a/utilities/

Re: [ovs-dev] [PATCH] ovs: do not allocate memory from offline numa node

2015-10-06 Thread Jesse Gross
On Mon, Oct 5, 2015 at 1:25 PM, Alexander Duyck wrote: > On 10/05/2015 06:59 AM, Vlastimil Babka wrote: >> >> On 10/02/2015 12:18 PM, Konstantin Khlebnikov wrote: >>> >>> When openvswitch tries allocate memory from offline numa node 0: >>> stats = kmem_cache_alloc_node(flow_stats_cache, GFP_KERNEL

Re: [ovs-dev] CT state - unknown bits mask generation

2015-10-06 Thread Jesse Gross
On Tue, Oct 6, 2015 at 4:10 PM, Joe Stringer wrote: > Hey Jesse, > > With the CT datapath interface, a question came up about how mask > generation should work for bits that are unknown by userspace. This > links into exactly how the forward/backward compatibility of the bits > works as well. > >

Re: [ovs-dev] [PATCH v2] ovn: Update TODO, ovn-northd flow table design, ovn-architecture for L3.

2015-10-06 Thread Justin Pettit
> On Oct 6, 2015, at 2:48 PM, Ben Pfaff wrote: > > On Tue, Oct 6, 2015 at 2:46 PM, Ben Pfaff wrote: >> This is a proposed plan for logical L3 in OVN. It is not entirely >> complete but it includes many important details and I believe that it moves >> planning forward. >> >> Signed-off-by: Ben

Re: [ovs-dev] Testing OpenStack security groups with OVN ACLs

2015-10-06 Thread Russell Bryant
On 10/07/2015 12:44 AM, Justin Pettit wrote: > >> On Sep 23, 2015, at 2:35 PM, Russell Bryant wrote: >> >> Joe and I discussed this some on IRC. He replicated the key parts of my >> test in his environment and it seemed to behave correctly. My test is >> also against a slightly older version of

Re: [ovs-dev] openvswitch-2.4 possible bug in hmap_remove

2015-10-06 Thread Justin Pettit
> On Oct 5, 2015, at 11:30 AM, Richurov Kes wrote: > > There appears to be some problem with the mailing list as it formats whatever > I cut paste from gdb. I have tried it three times, but it fail each time. It > is somewhat captured correctly in your mailing archive below: > > http://openvs

Re: [ovs-dev] Testing OpenStack security groups with OVN ACLs

2015-10-06 Thread Justin Pettit
> On Sep 23, 2015, at 2:35 PM, Russell Bryant wrote: > > Joe and I discussed this some on IRC. He replicated the key parts of my > test in his environment and it seemed to behave correctly. My test is > also against a slightly older version of the ovs conntrack code, which > *could* behave dif

[ovs-dev] [PATCH ] debian: place kernel module to satisfy depmod search.

2015-10-06 Thread Saurabh Mohan
On Ubuntu depmod's search priority is configured in /etc/depmod to be updates and then the kernel built-in directory. $ cat /etc/depmod.d/ubuntu.conf search updates ubuntu built-in Thus change the placement of openvswitch.ko under updates/ not kernel/updates. Signed-off-by: Saurabh Mohan ---

[ovs-dev] CT state - unknown bits mask generation

2015-10-06 Thread Joe Stringer
Hey Jesse, With the CT datapath interface, a question came up about how mask generation should work for bits that are unknown by userspace. This links into exactly how the forward/backward compatibility of the bits works as well. In the current series that is up on ovs-dev, if userspace knows abo

Re: [ovs-dev] [PATCH] ovn-sb.xml: Reorganize Port_Binding documentation.

2015-10-06 Thread Ben Pfaff
On Tue, Oct 06, 2015 at 11:58:49PM +0100, Russell Bryant wrote: > On 10/06/2015 11:52 PM, Ben Pfaff wrote: > > On Tue, Oct 06, 2015 at 11:17:07PM +0100, Russell Bryant wrote: > >> On 10/06/2015 09:32 PM, Ben Pfaff wrote: > >>> This takes advantage of column grouping and the ability to document a ke

Re: [ovs-dev] [PATCH] ovn-sb.xml: Reorganize Port_Binding documentation.

2015-10-06 Thread Russell Bryant
On 10/06/2015 11:52 PM, Ben Pfaff wrote: > On Tue, Oct 06, 2015 at 11:17:07PM +0100, Russell Bryant wrote: >> On 10/06/2015 09:32 PM, Ben Pfaff wrote: >>> This takes advantage of column grouping and the ability to document a key >>> within a column. >>> >>> Signed-off-by: Ben Pfaff >> >> I like th

Re: [ovs-dev] [PATCH] ovn-sb.xml: Reorganize Port_Binding documentation.

2015-10-06 Thread Ben Pfaff
On Tue, Oct 06, 2015 at 11:17:07PM +0100, Russell Bryant wrote: > On 10/06/2015 09:32 PM, Ben Pfaff wrote: > > This takes advantage of column grouping and the ability to document a key > > within a column. > > > > Signed-off-by: Ben Pfaff > > I like the grouping. The only issue I saw is that "t

Re: [ovs-dev] [PATCH 1/3] Fedora: update rpm build instructions after trying them with Fedora 22

2015-10-06 Thread Russell Bryant
On 10/06/2015 08:20 PM, Flavio Leitner wrote: > On Sun, Oct 04, 2015 at 03:20:08PM -0700, Ansis Atteka wrote: >> Mention: >> 1. that these instructions have been tested with Fedora 22. >> 2. dependencies that need to be installed on Fedora 22. Otherwise, >>rpmbuild command simply fails. >> 3.

Re: [ovs-dev] [PATCH] ovn-sb.xml: Reorganize Port_Binding documentation.

2015-10-06 Thread Russell Bryant
On 10/06/2015 09:32 PM, Ben Pfaff wrote: > This takes advantage of column grouping and the ability to document a key > within a column. > > Signed-off-by: Ben Pfaff I like the grouping. The only issue I saw is that "tag" is only included under "Nested Containers". It's now used for localnet po

Re: [ovs-dev] [PATCH v2] ovn: Update TODO, ovn-northd flow table design, ovn-architecture for L3.

2015-10-06 Thread Ben Pfaff
On Tue, Oct 6, 2015 at 2:46 PM, Ben Pfaff wrote: > This is a proposed plan for logical L3 in OVN. It is not entirely > complete but it includes many important details and I believe that it moves > planning forward. > > Signed-off-by: Ben Pfaff > --- > v1->v2: Resolve comments from Justin and Rus

[ovs-dev] [PATCH v2] ovn: Update TODO, ovn-northd flow table design, ovn-architecture for L3.

2015-10-06 Thread Ben Pfaff
This is a proposed plan for logical L3 in OVN. It is not entirely complete but it includes many important details and I believe that it moves planning forward. Signed-off-by: Ben Pfaff --- v1->v2: Resolve comments from Justin and Russell posted to ovs-dev. ovn/TODO| 281 +++

Re: [ovs-dev] [PATCH 3/3] ovn: Update TODO, ovn-northd flow table design, ovn-architecture for L3.

2015-10-06 Thread Ben Pfaff
On Tue, Sep 29, 2015 at 03:21:16PM -0700, Ben Pfaff wrote: > On Tue, Sep 29, 2015 at 03:19:47PM -0700, Ben Pfaff wrote: > > On Mon, Sep 21, 2015 at 06:06:16PM -0700, Justin Pettit wrote: > > > > + > > > > +ip4.dst = ip4.src; > > > > +ip4.src = S; > > > > +ip4.ttl = 255; > > > > +icmp4.type

Re: [ovs-dev] [PATCH 3/3] ovn: Update TODO, ovn-northd flow table design, ovn-architecture for L3.

2015-10-06 Thread Ben Pfaff
On Tue, Sep 29, 2015 at 04:30:30PM -0700, Justin Pettit wrote: > > > On Sep 29, 2015, at 3:19 PM, Ben Pfaff wrote: > > > > On Mon, Sep 21, 2015 at 06:06:16PM -0700, Justin Pettit wrote: > >> > >> > >> We may want to drop traffic sent to an IP broadcast address to prevent > >> things like Smurf

[ovs-dev] [PATCH] ovn-sb.xml: Reorganize Port_Binding documentation.

2015-10-06 Thread Ben Pfaff
This takes advantage of column grouping and the ability to document a key within a column. Signed-off-by: Ben Pfaff --- ovn/ovn-sb.xml | 263 + 1 file changed, 134 insertions(+), 129 deletions(-) diff --git a/ovn/ovn-sb.xml b/ovn/ovn-sb.xm

Re: [ovs-dev] [PATCH 2/2] ovn-controller: Document database keys used by ovn-controller.

2015-10-06 Thread Ben Pfaff
On Tue, Oct 06, 2015 at 12:53:28PM -0700, Justin Pettit wrote: > > > On Oct 6, 2015, at 12:35 PM, Ben Pfaff wrote: > > > > +Open vSwitch Database Usage > > + > > + > > + ovn-controller uses a number of > > external-ids > > + keys in the Open vSwitch database to keep track of p

Re: [ovs-dev] [PATCH 2/2] ovn-controller: Document database keys used by ovn-controller.

2015-10-06 Thread Justin Pettit
> On Oct 6, 2015, at 12:35 PM, Ben Pfaff wrote: > > +Open vSwitch Database Usage > + > + > + ovn-controller uses a number of external-ids > + keys in the Open vSwitch database to keep track of ports and > interfaces. > + For proper operation, users should not change or cl

Re: [ovs-dev] [PATCH 1/2] ovn-controller: Improve formatting of manpage.

2015-10-06 Thread Justin Pettit
> On Oct 6, 2015, at 12:35 PM, Ben Pfaff wrote: > > > - > + > ... > I think you end up with an extra "" here. It doesn't appear to build for me. Otherwise: Acked-by: Justin Pettit --Justin ___ dev mailing list dev@openvswitch.o

[ovs-dev] [PATCH 2/2] ovn-controller: Document database keys used by ovn-controller.

2015-10-06 Thread Ben Pfaff
Signed-off-by: Ben Pfaff --- ovn/controller/ovn-controller.8.xml | 39 + 1 file changed, 39 insertions(+) diff --git a/ovn/controller/ovn-controller.8.xml b/ovn/controller/ovn-controller.8.xml index 99d2d18..aadec15 100644 --- a/ovn/controller/ovn-controller.

[ovs-dev] [PATCH 1/2] ovn-controller: Improve formatting of manpage.

2015-10-06 Thread Ben Pfaff
First, the structure here was funny, with one nested inside another, plus a nested inside a . I'm surprised that the formatter didn't complain but at any rate it's better to avoid this structure. Second, this seemed better off as a , so I changed it to use that structure. Signed-off-by: Ben P

Re: [ovs-dev] [PATCH 3/3] RHEL: create /etc/openvswitch directory

2015-10-06 Thread Flavio Leitner
On Sun, Oct 04, 2015 at 03:20:10PM -0700, Ansis Atteka wrote: > This directory needs to be created by the package manager > because ovs-ctl is being invoked from SElinux openvswitch > domain that does not have enough privileges to create > directories under /etc on its own. > > Without this patch

Re: [ovs-dev] [PATCH 2/3] RHEL: update rpm build instructions after trying them with CentOS 7

2015-10-06 Thread Flavio Leitner
On Sun, Oct 04, 2015 at 03:20:09PM -0700, Ansis Atteka wrote: > Mention: > 1. that these instructions have been tested with CentOS 7 (which is >almost identical distribution to RHEL 7). > 2. directory where rpm packages that were just built can be found. > 3. mention SElinux implications that c

Re: [ovs-dev] [PATCH 1/3] Fedora: update rpm build instructions after trying them with Fedora 22

2015-10-06 Thread Flavio Leitner
On Sun, Oct 04, 2015 at 03:20:08PM -0700, Ansis Atteka wrote: > Mention: > 1. that these instructions have been tested with Fedora 22. > 2. dependencies that need to be installed on Fedora 22. Otherwise, >rpmbuild command simply fails. > 3. that rpmdev-setuptree utility can be used to create r

Re: [ovs-dev] [Debian-non-root 1/4] Debian: require libcap-ng library for building packages

2015-10-06 Thread Andy Zhou
On Tue, Oct 6, 2015 at 11:37 AM, Ansis Atteka wrote: > On Tue, Oct 6, 2015 at 10:32 AM, Ansis Atteka wrote: >> On Mon, Oct 5, 2015 at 6:38 PM, Andy Zhou wrote: >>> libcap-ng is going to be required to build Debian packages. Daemons >>> will run as the ovs user and group, instead of root, to impr

Re: [ovs-dev] [Debian-non-root 1/4] Debian: require libcap-ng library for building packages

2015-10-06 Thread Ansis Atteka
On Tue, Oct 6, 2015 at 10:32 AM, Ansis Atteka wrote: > On Mon, Oct 5, 2015 at 6:38 PM, Andy Zhou wrote: >> libcap-ng is going to be required to build Debian packages. Daemons >> will run as the ovs user and group, instead of root, to improve >> security. >> >> Signed-off-by: Andy Zhou > > I woul

Re: [ovs-dev] [Debian-non-root 1/4] Debian: require libcap-ng library for building packages

2015-10-06 Thread Ansis Atteka
On Mon, Oct 5, 2015 at 6:38 PM, Andy Zhou wrote: > libcap-ng is going to be required to build Debian packages. Daemons > will run as the ovs user and group, instead of root, to improve > security. > > Signed-off-by: Andy Zhou I would also update ./debian/control file corresponding sections. Basi

Re: [ovs-dev] Handling "Port Shutdown" message

2015-10-06 Thread Ben Pfaff
On Tue, Oct 06, 2015 at 12:14:21PM +0530, tech_kals Kals wrote: > Can someone clarify me whether OVS handles port shutdown message? I am > not seeing it in "port_reconfigured" function. > > If this is the case then controller may not be aware that when port is > configured to admin down. > >

[ovs-dev] ovsdb-idl: [v4] Test case for Python register_columns function

2015-10-06 Thread Ansari, Shad
ovsdb-idl: Test script for Python register_columns function Add test scripts to exercise the register_columns() function of the Python IDL. Add ability to specify columns in the "idl" command of test-ovsdb.py. All columns of all tables are monitored by default. The new "?" option can be used t

[ovs-dev] ovsdb-idl: [v3] Test case for Python register_columns function

2015-10-06 Thread Ansari, Shad
ovsdb-idl: Test script for Python register_columns function Add test scripts to exercise the register_columns() function of the Python IDL. Add ability to specify columns in the "idl" command of test-ovsdb.py. All columns of all tables are monitored by default. The new "?" option can be used to

Re: [ovs-dev] [PATCH/RFC] Remove manpages.mk from revision control system

2015-10-06 Thread Simon Horman
On Mon, Oct 05, 2015 at 12:49:36PM -0700, Ben Pfaff wrote: > On Mon, Oct 05, 2015 at 12:45:26PM -0700, Ben Pfaff wrote: > > On Wed, Sep 30, 2015 at 11:52:05AM +0900, Simon Horman wrote: > > > manpages.mk is automatically generated and thus does not seem to need > > > to be present in the revision c

[ovs-dev] ovsdb-idl: [v2] Test case for Python register_columns function

2015-10-06 Thread Ansari, Shad
ovsdb-idl: Test script for Python register_columns function Add test scripts to exercise the register_columns() function of the Python IDL. Add ability to specify columns in the "idl" command of test-ovsdb.py. All columns of all tables are monitored by default. The new "?" option can be used to mo

[ovs-dev] ovsdb-idl: Test case for Python register_columns function

2015-10-06 Thread Ansari, Shad
Add test scripts to exercise the register_columns() function of the Python IDL. Add ability to specify columns in the "idl" command of test-ovsdb.py. All columns of all tables are monitored by default. The new "?" option can be used to monitor specific Table:Column(s). The table