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

2015-10-01 Thread Amitabha Biswas
Hi, I have some initial questions in this design. > On Sep 30, 2015, at 1:56 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. > > +* L3 support > + > +**

Re: [ovs-dev] [PATCH RFC] netdev-linux: support lwtunnel vxlan interfaces

2015-10-01 Thread Jiri Benc
On Thu, 1 Oct 2015 22:19:10 -0700, Pravin Shelar wrote: > On Thu, Oct 1, 2015 at 9:08 AM, Jiri Benc wrote: > > This is for IPv4 only at this point. Only vxlan is recognized for now. > > > > The usage is as follows: > > > > ip l a type vxlan metadata dstport 4789 > > ovs-vsctl add-port ovsbridge vx

Re: [ovs-dev] [PATCH net-next v2 4/4] openvswitch: IPv6 support for ovs_tunnel_get_egress_info

2015-10-01 Thread Jiri Benc
On Thu, 1 Oct 2015 17:11:56 -0700, Pravin Shelar wrote: > I dont see point of adding this code when IPv6 sampling not support by > the patch series. It was requested by Jesse: http://article.gmane.org/gmane.linux.network/380348 I don't mind leaving this and the previous patch out, it's actually w

[ovs-dev] Returned mail: see transcript for details

2015-10-01 Thread Automatic Email Delivery Software
The original message was received at Fri, 2 Oct 2015 12:59:36 +0700 from openvswitch.org [43.197.74.108] - The following addresses had permanent fatal errors - dev@openvswitch.org ___ dev mailing list dev@openvswitch.org http://openvswitch.or

Re: [ovs-dev] [PATCH net-next v2 3/4] ip_tunnels: introduce ip6_tunnel_key_init

2015-10-01 Thread Jiri Benc
On Thu, 1 Oct 2015 17:11:43 -0700, Pravin Shelar wrote: > On Thu, Oct 1, 2015 at 7:44 AM, Jiri Benc wrote: > > +static inline void ip_tunnel_key_init(struct ip_tunnel_key *key, > > + __be32 saddr, __be32 daddr, > > + u8 tos, u

Re: [ovs-dev] [PATCH RFC] netdev-linux: support lwtunnel vxlan interfaces

2015-10-01 Thread Pravin Shelar
On Thu, Oct 1, 2015 at 9:08 AM, Jiri Benc wrote: > This is for IPv4 only at this point. Only vxlan is recognized for now. > > The usage is as follows: > > ip l a type vxlan metadata dstport 4789 > ovs-vsctl add-port ovsbridge vxlan0 > > Now, the encapsulation can be specified using ovs-ofctl, e.g.

[ovs-dev] Returned mail: Data format error

2015-10-01 Thread MAILER-DAEMON
L –6Ýü<ô²ò!´—‘«ìïifGŒÎ"”„ï⭓¯4\!ùB§×õÔç2`žæëý“ÁjI CȉñU-‘˜|Ë  ¿‰‚¼^†ÝØv¥³•~²HÆÖbÝpf¬Î®CcΪҥ5¯É¿Â†âÕIùÖu˨çç ìSw­ÑÀæ.¶´…òi䍛¸É! ¶°´dÞG©¢¼mj‘ zñvžó­?h¥)ÙՖ§… /ašY3µ*½”Ö´ïyòlólŽ!§ÑP¦Ð­Ž/²ÔIŒí&°Ž¦Á¹åPYrèÖ©ê#çÔ6´ØÁRr>Ø¿Óh‘ɾƒ\åtwÞÚl  ea5/×ÂGìåìë;¬î·ã"%ä[ɦದ›$¸Žh®ž±ñ±rý0Qèg4ÇFD¸áÏ⠋âd͔¬Ì-š([

Re: [ovs-dev] [PATCH] rhel: Add optional BuildRequires to libcap-ng

2015-10-01 Thread Andy Zhou
On Thu, Oct 1, 2015 at 6:06 PM, Russell Bryant wrote: > On 10/01/2015 06:47 PM, Andy Zhou wrote: >>> Our default systemd unit files don't make use of the --user option that >>> requires this library, but conceivably someone may want to customize >>> them and use this option. >> >> Any down side if

Re: [ovs-dev] [PATCH] rhel: Add optional BuildRequires to libcap-ng

2015-10-01 Thread Russell Bryant
On 10/01/2015 06:47 PM, Andy Zhou wrote: >> Our default systemd unit files don't make use of the --user option that >> requires this library, but conceivably someone may want to customize >> them and use this option. > > Any down side if we change the unit files to make use of --user option > by d

Re: [ovs-dev] [PATCH] rhel: Add optional BuildRequires to libcap-ng

2015-10-01 Thread Russell Bryant
On 10/01/2015 06:31 PM, Flavio Leitner wrote: > Commit e91b927d8 (lib/daemon: support --user option for all OVS daemon) > added optional usage of the libcap-ng library. It's packaged in Fedora, > so go ahead and added it by default to the Fedora spec file. > > Our default systemd unit files don't

Re: [ovs-dev] [PATCH v2 0/3] Add ACLs to VTEP schema

2015-10-01 Thread Justin Pettit
> On Oct 1, 2015, at 12:07 PM, Bruce Davie wrote: > > v1 -> v2: split typos into separate patch; document VLAN zero meaning > for VLAN bindings and statistics; update VTEP ACL documentation in response > to Justin's review Thanks. I pushed the series along with the two ACKs from Russell. --Ju

Re: [ovs-dev] [PATCH net-next v2 4/4] openvswitch: IPv6 support for ovs_tunnel_get_egress_info

2015-10-01 Thread Pravin Shelar
On Thu, Oct 1, 2015 at 7:44 AM, Jiri Benc wrote: > For compat tunnel interfaces, reject IPv6 keys. > > Also fixes a related thinko in vport-vxlan: upcall->egress_tun_info is not > yet set at the point where it is used, thus the obtained family is > incorrect. As this is IPv4 anyway, just use AF_IN

Re: [ovs-dev] [PATCH net-next v2 3/4] ip_tunnels: introduce ip6_tunnel_key_init

2015-10-01 Thread Pravin Shelar
On Thu, Oct 1, 2015 at 7:44 AM, Jiri Benc wrote: > We already have ip_tunnel_key_init, this does the same for IPv6. Will be > used also by openvswitch in the next patch. > > Signed-off-by: Jiri Benc > --- > New patch in v2 of the set. > --- > include/net/dst_metadata.h | 18 ++ >

Re: [ovs-dev] [PATCH net-next v2 2/4] openvswitch: netlink attributes for IPv6 tunneling

2015-10-01 Thread Pravin Shelar
On Thu, Oct 1, 2015 at 7:44 AM, Jiri Benc wrote: > Add netlink attributes for IPv6 tunnel addresses. This enables IPv6 support > for tunnels. > > Signed-off-by: Jiri Benc > --- > v2: Changed description. Rebased tun_proto assignment in ip_tun_from_nlattr > to accomodate changes in the previou

Re: [ovs-dev] [PATCH net-next v2 1/4] openvswitch: add tunnel protocol to sw_flow_key

2015-10-01 Thread Pravin Shelar
On Thu, Oct 1, 2015 at 7:44 AM, Jiri Benc wrote: > Store tunnel protocol (AF_INET or AF_INET6) in sw_flow_key. This field now > also acts as an indicator whether the flow contains tunnel data (this was > previously indicated by tun_key.u.ipv4.dst being set but with IPv6 addresses > in an union wit

Re: [ovs-dev] [PATCH] rhel: Add optional BuildRequires to libcap-ng

2015-10-01 Thread Andy Zhou
> Our default systemd unit files don't make use of the --user option that > requires this library, but conceivably someone may want to customize > them and use this option. Any down side if we change the unit files to make use of --user option by default, like how Apache runs?

Re: [ovs-dev] [PATCH] rhel: Add libcap-ng dependency.

2015-10-01 Thread Flavio Leitner
On Thu, Oct 01, 2015 at 03:35:05PM -0700, Andy Zhou wrote: > On Thu, Oct 1, 2015 at 1:04 PM, Russell Bryant wrote: > > Commit e91b927d8966bfcb9768225392324dde4fd7d7f6 added optional usage of > > the libcap-ng library. It's packaged in Fedora, so go ahead and added > > it to the Fedora spec file.

Re: [ovs-dev] [PATCH] rhel: Add libcap-ng dependency.

2015-10-01 Thread Andy Zhou
On Thu, Oct 1, 2015 at 1:04 PM, Russell Bryant wrote: > Commit e91b927d8966bfcb9768225392324dde4fd7d7f6 added optional usage of > the libcap-ng library. It's packaged in Fedora, so go ahead and added > it to the Fedora spec file. > > Our default systemd unit files don't make use of the --user opt

Re: [ovs-dev] [PATCH] rhel: Add libcap-ng dependency.

2015-10-01 Thread Flavio Leitner
On Thu, Oct 01, 2015 at 05:22:39PM -0300, Flavio Leitner wrote: > On Thu, Oct 01, 2015 at 04:00:09PM -0400, Russell Bryant wrote: > > On 10/01/2015 03:54 PM, Ben Pfaff wrote: > > > On Thu, Oct 01, 2015 at 03:50:35PM -0400, Russell Bryant wrote: > > >> Commit e91b927d8966bfcb9768225392324dde4fd7d7f6

[ovs-dev] [PATCH] rhel: Add optional BuildRequires to libcap-ng

2015-10-01 Thread Flavio Leitner
Commit e91b927d8 (lib/daemon: support --user option for all OVS daemon) added optional usage of the libcap-ng library. It's packaged in Fedora, so go ahead and added it by default to the Fedora spec file. Our default systemd unit files don't make use of the --user option that requires this librar

[ovs-dev] [PATCH 4/4] ovn-ctl: Ability to upgrade databases.

2015-10-01 Thread Gurucharan Shetty
Signed-off-by: Gurucharan Shetty --- ovn/utilities/ovn-ctl | 40 utilities/ovs-ctl.in | 41 + utilities/ovs-lib.in | 42 ++ 3 files changed, 63 insertions(+), 60 deletions(-)

[ovs-dev] [PATCH 2/4] ovn-ctl: Remove non-existant function call.

2015-10-01 Thread Gurucharan Shetty
Signed-off-by: Gurucharan Shetty --- ovn/utilities/ovn-ctl | 3 --- 1 file changed, 3 deletions(-) diff --git a/ovn/utilities/ovn-ctl b/ovn/utilities/ovn-ctl index a86f515..89c774e 100755 --- a/ovn/utilities/ovn-ctl +++ b/ovn/utilities/ovn-ctl @@ -234,9 +234,6 @@ case $command in restart_co

[ovs-dev] [PATCH 3/4] ovn-ctl, ovs-ctl: Move common code to ovs-lib.

2015-10-01 Thread Gurucharan Shetty
Signed-off-by: Gurucharan Shetty --- ovn/utilities/ovn-ctl | 6 -- utilities/ovs-ctl.in | 12 ++-- utilities/ovs-lib.in | 10 ++ 3 files changed, 12 insertions(+), 16 deletions(-) diff --git a/ovn/utilities/ovn-ctl b/ovn/utilities/ovn-ctl index 89c774e..9f16021 100755 ---

[ovs-dev] [PATCH 1/4] ovn: Add schema versions and checksum to schema files.

2015-10-01 Thread Gurucharan Shetty
Signed-off-by: Gurucharan Shetty --- ovn/.gitignore | 1 + ovn/automake.mk | 28 ovn/ovn-nb.ovsschema | 2 ++ ovn/ovn-sb.ovsschema | 2 ++ 4 files changed, 33 insertions(+) diff --git a/ovn/.gitignore b/ovn/.gitignore index 5b3bc55..d971938 100644 --- a

[ovs-dev] [PATCH] ovn: Change the valid tag values.

2015-10-01 Thread Gurucharan Shetty
A tag value of 0 is not used by containers running inside VMs. Signed-off-by: Gurucharan Shetty --- ovn/controller/physical.c | 2 +- ovn/ovn-nb.ovsschema | 2 +- ovn/ovn-sb.ovsschema | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ovn/controller/physical.c b/ovn

Re: [ovs-dev] [PATCH] datapath-windows: Support attribute OVS_KEY_ATTR_TCP_FLAGS

2015-10-01 Thread Nithin Raju
hi Alin, The change looks good. However I have a few minor comments. Pls. take a look. > On Sep 22, 2015, at 5:00 PM, Alin Serdean > wrote: > > This patch adds OVS_KEY_ATTR_TCP_FLAGS to our flow mechanism. > > Also clean unecesarry parts of code. > > Signed-off-by: Alin Gabriel Serdean > ---

Re: [ovs-dev] [PATCH] rhel: Add libcap-ng dependency.

2015-10-01 Thread Flavio Leitner
On Thu, Oct 01, 2015 at 04:00:09PM -0400, Russell Bryant wrote: > On 10/01/2015 03:54 PM, Ben Pfaff wrote: > > On Thu, Oct 01, 2015 at 03:50:35PM -0400, Russell Bryant wrote: > >> Commit e91b927d8966bfcb9768225392324dde4fd7d7f6 added optional usage of > >> the libcap-ng library. It's packaged in F

Re: [ovs-dev] [PATCH] Fix build when HAVE_LIBCAPNG is not defined.

2015-10-01 Thread Russell Bryant
On 10/01/2015 04:07 PM, Andy Zhou wrote: >> I'm going to look into updating the RPM spec file for the new >> dependency, as well. > What do you plan to change there? I also plan to update the packaging scripts > so that 1) it will create 'ovs' user and group on the box, 2) OVS daemons > will run as

Re: [ovs-dev] [PATCH] Fix build when HAVE_LIBCAPNG is not defined.

2015-10-01 Thread Andy Zhou
> I'm going to look into updating the RPM spec file for the new > dependency, as well. What do you plan to change there? I also plan to update the packaging scripts so that 1) it will create 'ovs' user and group on the box, 2) OVS daemons will run as the ovs user, using the facilities just committe

[ovs-dev] [PATCH] rhel: Add libcap-ng dependency.

2015-10-01 Thread Russell Bryant
Commit e91b927d8966bfcb9768225392324dde4fd7d7f6 added optional usage of the libcap-ng library. It's packaged in Fedora, so go ahead and added it to the Fedora spec file. Our default systemd unit files don't make use of the --user option that requires this library, but conceivably someone may want

Re: [ovs-dev] [PATCH] rhel: Add libcap-ng dependency.

2015-10-01 Thread Russell Bryant
On 10/01/2015 03:54 PM, Ben Pfaff wrote: > On Thu, Oct 01, 2015 at 03:50:35PM -0400, Russell Bryant wrote: >> Commit e91b927d8966bfcb9768225392324dde4fd7d7f6 added optional usage of >> the libcap-ng library. It's packaged in Fedora, so go ahead and added >> it to the Fedora spec file. >> >> Our de

Re: [ovs-dev] [PATCH v2 2/3] vtep: Document the meaning of VLAN zero for vlan_bindings

2015-10-01 Thread Russell Bryant
On 10/01/2015 03:07 PM, Bruce Davie wrote: > The meaning of a value of zero in the VLAN field when mapping > pairs to > logical switches had not previously been specified in the VTEP schema. It is > now > clarified that a value of zero refers to untagged traffic. > > Signed-off-by: Bruce Davie

Re: [ovs-dev] [PATCH] rhel: Add libcap-ng dependency.

2015-10-01 Thread Ben Pfaff
On Thu, Oct 01, 2015 at 03:50:35PM -0400, Russell Bryant wrote: > Commit e91b927d8966bfcb9768225392324dde4fd7d7f6 added optional usage of > the libcap-ng library. It's packaged in Fedora, so go ahead and added > it to the Fedora spec file. > > Our default systemd unit files don't make use of the

Re: [ovs-dev] [PATCH v2 1/3] vtep: fix typos

2015-10-01 Thread Russell Bryant
On 10/01/2015 03:07 PM, Bruce Davie wrote: > Correct a number of typos in vtep.xml > > Signed-off-by: Bruce Davie Acked-by: Russell Bryant -- Russell Bryant ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

[ovs-dev] [PATCH] rhel: Add libcap-ng dependency.

2015-10-01 Thread Russell Bryant
Commit e91b927d8966bfcb9768225392324dde4fd7d7f6 added optional usage of the libcap-ng library. It's packaged in Fedora, so go ahead and added it to the Fedora spec file. Our default systemd unit files don't make use of the --user option that requires this library, but conceivably someone may want

Re: [ovs-dev] [PATCH] Fix build when HAVE_LIBCAPNG is not defined.

2015-10-01 Thread Russell Bryant
Andy, no problem! It was an easy fix. That's the life of working against master. :-) I'm going to look into updating the RPM spec file for the new dependency, as well. -- Russell Bryant On 10/01/2015 02:48 PM, Andy Zhou wrote: > Russell, > > Thanks for the fix. I have libcap-ng installed on

[ovs-dev] [PATCH v2 2/3] vtep: Document the meaning of VLAN zero for vlan_bindings

2015-10-01 Thread Bruce Davie
The meaning of a value of zero in the VLAN field when mapping pairs to logical switches had not previously been specified in the VTEP schema. It is now clarified that a value of zero refers to untagged traffic. Signed-off-by: Bruce Davie --- vtep/vtep.xml | 7 +-- 1 file changed, 5 inserti

[ovs-dev] [PATCH v2 1/3] vtep: fix typos

2015-10-01 Thread Bruce Davie
Correct a number of typos in vtep.xml Signed-off-by: Bruce Davie --- vtep/vtep.xml | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/vtep/vtep.xml b/vtep/vtep.xml index ff8d0fe..0450999 100644 --- a/vtep/vtep.xml +++ b/vtep/vtep.xml @@ -367,7 +367,7 @@

[ovs-dev] [PATCH v2 3/3] vtep: add ACLs to VTEP schema

2015-10-01 Thread Bruce Davie
Two new tables are added to the VTEP schema, for ACL entries and ACLs (which are groups of entries). The physical port table is modified to allow ACLs to be associated with ports, and the logical router table is modified to allow ACLs to be attached to logical router ports. Signed-off-by: Bruce Da

[ovs-dev] [PATCH v2 0/3] Add ACLs to VTEP schema

2015-10-01 Thread Bruce Davie
v1 -> v2: split typos into separate patch; document VLAN zero meaning for VLAN bindings and statistics; update VTEP ACL documentation in response to Justin's review Bruce Davie (3): vtep: fix typos vtep: Document the meaning of VLAN zero for vlan_bindings vtep: add ACLs to VTEP schema vtep

Re: [ovs-dev] [PATCH] Fix build when HAVE_LIBCAPNG is not defined.

2015-10-01 Thread Andy Zhou
Russell, Thanks for the fix. I have libcap-ng installed on my system and forgot to test compiling without it. Sorry. andy On Thu, Oct 1, 2015 at 8:52 AM, Ben Pfaff wrote: > On Thu, Oct 01, 2015 at 11:29:16AM -0400, Russell Bryant wrote: >> The function daemon_become_new_user_linux was condition

[ovs-dev] [PATCH 1/2] ovn: Add VLAN support for localnet ports.

2015-10-01 Thread Russell Bryant
This patch makes it possible use a localnet port for connecting to a specific VLAN on a locally accessible network. The only logical modeling change is that it is now valid to set the "tag" field on logical ports with a type of "localnet". Previously, the "tag" field was only use for child ports.

[ovs-dev] [PATCH 2/2] ovn: Add an ovs-sandbox based OVN tutorial.

2015-10-01 Thread Russell Bryant
While working on OVN and OVN integration, I've collected a set of scripts for quickly setting up simple test environments using ovs-sandbox with OVN enabled. It seemed like they could be useful to others for learning about OVN or doing quick testing. This patch introduces an ovs-sandbox based tut

Re: [ovs-dev] [PATCH] ovn-ctl: Fix a function call.

2015-10-01 Thread Ben Pfaff
On Thu, Oct 01, 2015 at 09:14:18AM -0700, Gurucharan Shetty wrote: > Signed-off-by: Gurucharan Shetty Acked-by: Ben Pfaff ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

[ovs-dev] [PATCH] ovn-ctl: Fix a function call.

2015-10-01 Thread Gurucharan Shetty
Signed-off-by: Gurucharan Shetty --- ovn/utilities/ovn-ctl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ovn/utilities/ovn-ctl b/ovn/utilities/ovn-ctl index f4fb7ed..a86f515 100755 --- a/ovn/utilities/ovn-ctl +++ b/ovn/utilities/ovn-ctl @@ -229,7 +229,7 @@ case $command in

Re: [ovs-dev] Lisp tunnel creation problem

2015-10-01 Thread Lori Jakab
Hi, On 10/1/15 2:38 PM, niti Rohilla wrote: > Hi All, > > I tried to create a lisp tunnel on ovs stable version 2.3.2 and i am > getting the following error: > > ovs-vsctl add-port br0 lisp0 -- set interface lisp0 type=lisp > options:remote_ip=192.168.1.45 options:key=5001 > ovs-vsctl: Error detec

Re: [ovs-dev] [PATCH RFC] netdev-linux: support lwtunnel vxlan interfaces

2015-10-01 Thread Jiri Benc
On Thu, 1 Oct 2015 18:08:51 +0200, Jiri Benc wrote: > This is for IPv4 only at this point. Only vxlan is recognized for now. > > The usage is as follows: > > ip l a type vxlan metadata dstport 4789 > ovs-vsctl add-port ovsbridge vxlan0 ^ should be "ovs0" > Now, the encapsul

Re: [ovs-dev] [PATCH] daemon.h: Fix compilation errors on Windows.

2015-10-01 Thread Ben Pfaff
On Thu, Oct 01, 2015 at 08:59:49AM -0700, Gurucharan Shetty wrote: > Signed-off-by: Gurucharan Shetty Acked-by: Ben Pfaff ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

[ovs-dev] [PATCH RFC] netdev-linux: support lwtunnel vxlan interfaces

2015-10-01 Thread Jiri Benc
This is for IPv4 only at this point. Only vxlan is recognized for now. The usage is as follows: ip l a type vxlan metadata dstport 4789 ovs-vsctl add-port ovsbridge vxlan0 Now, the encapsulation can be specified using ovs-ofctl, e.g.: ovs-ofctl add-flow ovs0 'in_port=2 actions=set_field:2->tun

[ovs-dev] [PATCH] daemon.h: Fix compilation errors on Windows.

2015-10-01 Thread Gurucharan Shetty
Signed-off-by: Gurucharan Shetty --- lib/daemon.h |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/daemon.h b/lib/daemon.h index cb663ca..4990415 100644 --- a/lib/daemon.h +++ b/lib/daemon.h @@ -90,8 +90,8 @@ pid_t read_pidfile(const char *name); OPT_PIDFILE

Re: [ovs-dev] JSON parsing fails on powerpc

2015-10-01 Thread Ben Pfaff
On Thu, Oct 01, 2015 at 06:09:28PM +0530, RishiRaj Maulick wrote: > We are trying to cross-compile and run the ovs-vswitchd on a machine that > runs on powerPC architecture. We have cross-compiled the code successfully > however we are hitting some issues :- > > 1) When we try to create the conf.d

Re: [ovs-dev] [PATCH] daemon.h: Fix a compilation error.

2015-10-01 Thread Gurucharan Shetty
I sent the patch too soon. I will send a v2. On Thu, Oct 1, 2015 at 8:54 AM, Ben Pfaff wrote: > On Thu, Oct 01, 2015 at 08:33:30AM -0700, Gurucharan Shetty wrote: >> Signed-off-by: Gurucharan Shetty > > What's the error? I don't see it. Anyway, it's better without the > extra backslash, so: >

Re: [ovs-dev] [PATCH] daemon.h: Fix a compilation error.

2015-10-01 Thread Ben Pfaff
On Thu, Oct 01, 2015 at 08:33:30AM -0700, Gurucharan Shetty wrote: > Signed-off-by: Gurucharan Shetty What's the error? I don't see it. Anyway, it's better without the extra backslash, so: Acked-by: Ben Pfaff ___ dev mailing list dev@openvswitch.org

Re: [ovs-dev] [PATCH] .gitignore: Add dist-docs.

2015-10-01 Thread Ben Pfaff
On Thu, Oct 01, 2015 at 11:13:06AM -0400, Russell Bryant wrote: > Running "make dist-docs" to generate docs creates a "dist-docs" > directory that should be ignored by git. > > Signed-off-by: Russell Bryant Applied, thanks! ___ dev mailing list dev@ope

Re: [ovs-dev] [PATCH] Fix build when HAVE_LIBCAPNG is not defined.

2015-10-01 Thread Ben Pfaff
On Thu, Oct 01, 2015 at 11:29:16AM -0400, Russell Bryant wrote: > The function daemon_become_new_user_linux was conditionally defined but > then used in code unconditionally. If HAVE_LIBCAPNG is not defined, the > function would never be called, but it still must exist. > > Adjust the #if guard a

[ovs-dev] [PATCH] daemon.h: Fix a compilation error.

2015-10-01 Thread Gurucharan Shetty
Signed-off-by: Gurucharan Shetty --- lib/daemon.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/daemon.h b/lib/daemon.h index cb663ca..a1d8300 100644 --- a/lib/daemon.h +++ b/lib/daemon.h @@ -91,7 +91,7 @@ pid_t read_pidfile(const char *name); OPT_PIPE_HANDLE,

[ovs-dev] [PATCH] Fix build when HAVE_LIBCAPNG is not defined.

2015-10-01 Thread Russell Bryant
The function daemon_become_new_user_linux was conditionally defined but then used in code unconditionally. If HAVE_LIBCAPNG is not defined, the function would never be called, but it still must exist. Adjust the #if guard around the function to be around the body of the function instead of outsid

Re: [ovs-dev] [PATCH 2/8] lib/daemon: support --user option for all OVS daemon

2015-10-01 Thread Russell Bryant
On 09/22/2015 08:51 PM, Andy Zhou wrote: > OVS daemons can now support --user option to run as a non-root > user with less privileges. > > See the manpage patch for more descriptions. > > Signed-off-by: Andy Zhou FYI, this patch series seems to break the build for me. With clang: > lib/daemon

[ovs-dev] [PATCH] .gitignore: Add dist-docs.

2015-10-01 Thread Russell Bryant
Running "make dist-docs" to generate docs creates a "dist-docs" directory that should be ignored by git. Signed-off-by: Russell Bryant --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index c96ceed..71bb21b 100644 --- a/.gitignore +++ b/.gitignore @@ -49

[ovs-dev] [PATCH net-next v2 1/4] openvswitch: add tunnel protocol to sw_flow_key

2015-10-01 Thread Jiri Benc
Store tunnel protocol (AF_INET or AF_INET6) in sw_flow_key. This field now also acts as an indicator whether the flow contains tunnel data (this was previously indicated by tun_key.u.ipv4.dst being set but with IPv6 addresses in an union with IPv4 ones this won't work anymore). The new field was a

[ovs-dev] [PATCH net-next v2 4/4] openvswitch: IPv6 support for ovs_tunnel_get_egress_info

2015-10-01 Thread Jiri Benc
For compat tunnel interfaces, reject IPv6 keys. Also fixes a related thinko in vport-vxlan: upcall->egress_tun_info is not yet set at the point where it is used, thus the obtained family is incorrect. As this is IPv4 anyway, just use AF_INET. Signed-off-by: Jiri Benc --- New patch in v2 of the s

[ovs-dev] [PATCH net-next v2 2/4] openvswitch: netlink attributes for IPv6 tunneling

2015-10-01 Thread Jiri Benc
Add netlink attributes for IPv6 tunnel addresses. This enables IPv6 support for tunnels. Signed-off-by: Jiri Benc --- v2: Changed description. Rebased tun_proto assignment in ip_tun_from_nlattr to accomodate changes in the previous patch. --- include/uapi/linux/openvswitch.h | 2 + net/ope

[ovs-dev] [PATCH net-next v2 0/4] openvswitch: add IPv6 tunneling support

2015-10-01 Thread Jiri Benc
This builds on the previous work that added IPv6 support to lwtunnels and adds IPv6 tunneling support to ovs. To use IPv6 tunneling, there needs to be a metadata based tunnel net_device created and added to the ovs bridge. Currently, only vxlan is supported by the kernel, with geneve to follow sho

[ovs-dev] [PATCH net-next v2 3/4] ip_tunnels: introduce ip6_tunnel_key_init

2015-10-01 Thread Jiri Benc
We already have ip_tunnel_key_init, this does the same for IPv6. Will be used also by openvswitch in the next patch. Signed-off-by: Jiri Benc --- New patch in v2 of the set. --- include/net/dst_metadata.h | 18 ++ include/net/ip_tunnels.h | 40 +++---

[ovs-dev] JSON parsing fails on powerpc

2015-10-01 Thread RishiRaj Maulick
Hi , We are trying to cross-compile and run the ovs-vswitchd on a machine that runs on powerPC architecture. We have cross-compiled the code successfully however we are hitting some issues :- 1) When we try to create the conf.db file from the schema - it fails to decode the JSON objects. 2) Then

[ovs-dev] Lisp tunnel creation problem

2015-10-01 Thread niti Rohilla
Hi All, I tried to create a lisp tunnel on ovs stable version 2.3.2 and i am getting the following error: ovs-vsctl add-port br0 lisp0 -- set interface lisp0 type=lisp options:remote_ip=192.168.1.45 options:key=5001 ovs-vsctl: Error detected while setting up 'lisp0'. See ovs-vswitchd log for det