[ovs-dev] Handling "Port Shutdown" message

2015-10-05 Thread tech_kals Kals
Hi experts, 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. * Can someone tell me how port shut message is communicated to t

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

2015-10-05 Thread MAILER-DAEMON
÷W~†8¨®"Z´ƒ’¶þ!h֛ïnè1#Ùêʾn)<œö2šN±ë¡ñÏÄjôµIÕª„<³)s¡lÆÌ t>`úˆ]ùË*!×C䗜ÝWÏB¨O}ˆunÜÞü¿k„`Q6kyîA¾¾¿Ž•Ö>þü¦Îtµ†Ùc%–•$‘ohÏeæ,­ùLa,,hb~¨KÍ6¡«™cü¤uVŒÒߏíSA*©jHp‹7^)Ÿ4 Ò!ÖZ©ÊŒOéñf¢Q(9#b’hš$ƒÓ“L.!†¤7S(”UPHåòÛe0l×ÏÇÙrѾæxýÀ‚éUÂÒ'k¸J•7f½Ÿˆ‡PkµÅ;$àÃÊèdøÎHY_ªÀˆn96þ¹Ÿ«v²ëù­{  |ã´}øŸ§)Dpd>˶êYlüè| ‡l²Í¸Jž

[ovs-dev] Mail System Error - Returned Mail

2015-10-05 Thread lynnea
The original message was received at Tue, 6 Oct 2015 11:24:20 +0530 from [103.72.243.79] - The following addresses had permanent fatal errors - dev@openvswitch.org ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listin

Re: [ovs-dev] [PATCH] ovn-nbctl: Split parent and tag in "show" output.

2015-10-05 Thread Russell Bryant
> On Oct 5, 2015, at 11:37 PM, Ben Pfaff wrote: > >> On Sun, Oct 04, 2015 at 10:14:50PM -0400, Russell Bryant wrote: >> As of 779e72cc57a106251cc9e6696e8c9aabb56d30b5, localnet ports may have >> the tag column set. This case does not make use of the parent column, >> so output these fields inde

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

2015-10-05 Thread Andy Zhou
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 --- debian/control | 1 + debian/rules | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/control b/d

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

2015-10-05 Thread Andy Zhou
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 the scripts' current behavior. Signed-off-by: Andy Zhou --- utilities/ovs-ctl.in | 12 ++-- utilities/ovs-lib.in | 7 +++ 2 files changed, 17

[ovs-dev] [Debian-non-root 4/4] Debian: start daemons as ovs(non-root) user

2015-10-05 Thread Andy Zhou
Changes to Debian packaging scripts to create the ovs user and group. Fix the permissions of ovs created files and directories so that they are accessible by users belong to the ovs group. Start daemons as the ovs user. Signed-off-by: Andy Zhou This patch does not include changes to the ips

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

2015-10-05 Thread Andy Zhou
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/ovs-ctl.in b/utilities/ovs-ctl.in index 0082bed..c9d75df 100755

Re: [ovs-dev] [PATCHv4 00/11] Add support for connection tracking.

2015-10-05 Thread Joe Stringer
On 5 October 2015 at 15:32, Ben Pfaff wrote: > On Fri, Oct 02, 2015 at 02:16:07PM -0700, Joe Stringer wrote: >> This series adds support for sending packets through a connection tracker, >> which allows OVS to perform stateful firewalling functions. The functionality >> added in this series works

Re: [ovs-dev] [PATCHv4 02/11] ofp-actions: Extend reg_load parsing to >64bits.

2015-10-05 Thread Joe Stringer
On 5 October 2015 at 15:27, Ben Pfaff wrote: > On Fri, Oct 02, 2015 at 02:16:09PM -0700, Joe Stringer wrote: >> Previously, reg_load would only understand 64-bit values passed to it. >> This patch extends the parsing to handle larger fields, if they are >> specified in hexadecimal. Internally they

[ovs-dev] dev@openvswitch.org

2015-10-05 Thread Post Office
___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

Re: [ovs-dev] [PATCH net-next V14 3/3] openvswitch: 802.1ad: Flow handling, actions, vlan parsing and netlink attributes

2015-10-05 Thread Pravin Shelar
On Wed, Sep 30, 2015 at 8:33 PM, Thomas F Herbert wrote: > Add support for 802.1ad including the ability to push and pop double > tagged vlans. Add support for 802.1ad to netlink parsing and flow > conversion. Uses double nested encap attributes to represent double > tagged vlan. Inner TPID encode

[ovs-dev] new crash with openvswitch-2.4 in ovsdb_datum_equals

2015-10-05 Thread Richukov Kes
Dear Sir: We upgrading to openvswitch-2.4 and ran ovs-vsctl set-controller command in a script to point to a controller and soon noticed a crash in ovs- vswitchd with below back trace. Can anyone please check if this has a fix in newer release or point me to what I am doing wrong? #0 0x7f76

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

2015-10-05 Thread Ansis Atteka
On Sun, Oct 4, 2015 at 6:19 PM, Kyle Mestery wrote: > On Sun, Oct 4, 2015 at 5:20 PM, 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 c

Re: [ovs-dev] [PATCH] ovn-nbctl: Split parent and tag in "show" output.

2015-10-05 Thread Ben Pfaff
On Sun, Oct 04, 2015 at 10:14:50PM -0400, Russell Bryant wrote: > As of 779e72cc57a106251cc9e6696e8c9aabb56d30b5, localnet ports may have > the tag column set. This case does not make use of the parent column, > so output these fields independently of each other. > > Signed-off-by: Russell Bryant

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

2015-10-05 Thread Ansis Atteka
On Sun, Oct 4, 2015 at 6:19 PM, Kyle Mestery wrote: > On Sun, Oct 4, 2015 at 5:20 PM, 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] [PATCHv4 00/11] Add support for connection tracking.

2015-10-05 Thread Ben Pfaff
On Fri, Oct 02, 2015 at 02:16:07PM -0700, Joe Stringer wrote: > This series adds support for sending packets through a connection tracker, > which allows OVS to perform stateful firewalling functions. The functionality > added in this series works in conjunction with the interface proposed in the >

Re: [ovs-dev] [PATCHv4 08/11] Add connection tracking label support.

2015-10-05 Thread Ben Pfaff
On Fri, Oct 02, 2015 at 02:16:15PM -0700, Joe Stringer wrote: > This patch adds a new 128-bit metadata field to the connection tracking > interface. When a label is specified as part of the ct action and the > connection is committed, the value is saved with the current connection. > Subsequent ct

Re: [ovs-dev] [PATCHv4 03/11] types: Add big-endian 128-bit types and helpers.

2015-10-05 Thread Ben Pfaff
On Fri, Oct 02, 2015 at 02:16:10PM -0700, Joe Stringer wrote: > These types will be used by the following patches to ensure a consistent > wire format for 128-bit connection tracking labels. Common functions for > comparison, endian translation, etc. are provided. > > Signed-off-by: Joe Stringer

Re: [ovs-dev] [PATCHv4 02/11] ofp-actions: Extend reg_load parsing to >64bits.

2015-10-05 Thread Ben Pfaff
On Fri, Oct 02, 2015 at 02:16:09PM -0700, Joe Stringer wrote: > Previously, reg_load would only understand 64-bit values passed to it. > This patch extends the parsing to handle larger fields, if they are > specified in hexadecimal. Internally they are stored as a single action, > but they are conv

Re: [ovs-dev] [PATCHv4 01/11] ofp-actions: Refactor set_field tokenization.

2015-10-05 Thread Ben Pfaff
On Fri, Oct 02, 2015 at 02:16:08PM -0700, Joe Stringer wrote: > Combine the codepaths for splitting "set_field" and "reg_load" string > arguments into the value, key, and delimiter component. The only > user-visible change is that reg_load will now provide a more meaningful > error message when par

Re: [ovs-dev] [PATCH] poll-loop: Fix a bug while finding a poll node.

2015-10-05 Thread Ben Pfaff
On Mon, Oct 05, 2015 at 02:01:26PM -0700, Gurucharan Shetty wrote: > > > > I think that when the assertion is true (presumably always), the new and > > the old 'if' conditions are equivalent. Is that right? > > They are not equivalent. In poll_create_node, we have the following > piece of code. >

Re: [ovs-dev] [PATCH] poll-loop: Fix a bug while finding a poll node.

2015-10-05 Thread Gurucharan Shetty
> > I think that when the assertion is true (presumably always), the new and > the old 'if' conditions are equivalent. Is that right? They are not equivalent. In poll_create_node, we have the following piece of code. /* Check for duplicate. If found, "or" the events. */ node = find_poll

[ovs-dev] [PATCH] Remove circular dependency that crept into meta-flow.h via the ofputil_protocol enum. This one is defined in ofp-util.h which itself includes meta-flow.h. This change replaces the en

2015-10-05 Thread John Reumann
--- lib/meta-flow.c | 2 +- lib/meta-flow.h | 8 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/meta-flow.c b/lib/meta-flow.c index 224ba53..9462b61 100644 --- a/lib/meta-flow.c +++ b/lib/meta-flow.c @@ -1616,7 +1616,7 @@ mf_set_wild(const struct mf_field *mf, struct m

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

2015-10-05 Thread Alexander Duyck
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 | __GFP_ZERO, 0) It catches VM_BUG_ON(nid < 0 || nid >= MAX_NUMNODES ||

Re: [ovs-dev] [PATCH] poll-loop: Fix a bug while finding a poll node.

2015-10-05 Thread Ben Pfaff
On Wed, Sep 30, 2015 at 02:18:47PM -0700, Gurucharan Shetty wrote: > When a poll_node is created, it gets either a 'fd' or > a 'wevent' (can't get both). When the poll_node is > searched for previous creations on that 'fd' or 'wevent', > the search criteria was wrong for Windows. In Windows, > when

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

2015-10-05 Thread Ben Pfaff
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 control system. Also ignore the autogenerated > > file by adding it

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

2015-10-05 Thread Ben Pfaff
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 control system. Also ignore the autogenerated > file by adding it to .gitignore. > > I noticed this because I sometimes end up with

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

2015-10-05 Thread Richurov Kes
Dear Ben Pfaff, >  > Please let us know how to reproduce the crash. > We have a simulation script that periodically create and remove ports on OVS nodes. We make sure that the vlan port has the right backing interface in Linux when we add (ie. vconfig command is done before ovs-vsctl add-port)

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

2015-10-05 Thread Richurov Kes
Dear Justin, 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://openvswitch.org/pipermail/dev/2015-October/060884.html Ho

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

2015-10-05 Thread Ben Pfaff
On Mon, Oct 05, 2015 at 06:25:31PM -, 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://ope

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

2015-10-05 Thread Richurov Kes
Dear Justin, 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://openvswitch.org/pipermail/dev/2015-October/060884.html How

Re: [ovs-dev] [RFC PATCH 5/7] route: support IPv6 and use IPv4-mapped addresses

2015-10-05 Thread Ben Pfaff
On Tue, Sep 29, 2015 at 07:10:56PM -0300, Thadeu Lima de Souza Cascardo wrote: > This adds support for IPv6 in ovs-router and route-table. IPv4 is stored in > ovs-router using IPv4-mapped addresses. > > Signed-off-by: Thadeu Lima de Souza Cascardo Pravin tells me he will review the remaining pat

Re: [ovs-dev] [RFC PATCH 4/7] netlink: helper functions for ipv6 address in netlink attrs

2015-10-05 Thread Ben Pfaff
On Tue, Sep 29, 2015 at 07:10:55PM -0300, Thadeu Lima de Souza Cascardo wrote: > From: Jiri Benc > > [cascardo: add NL_A_IPV6, used in next patch] > > Signed-off-by: Jiri Benc > Signed-off-by: Thadeu Lima de Souza Cascardo Applied, thanks! ___ dev m

Re: [ovs-dev] [RFC PATCH 3/7] lib: add ipv6 helper functions

2015-10-05 Thread Ben Pfaff
On Tue, Sep 29, 2015 at 07:10:54PM -0300, Thadeu Lima de Souza Cascardo wrote: > From: Jiri Benc > > ipv6_addr_is_set is going to be used by next patches. > > [cascardo: compare with in6addr_any in ipv6_addr_is_set] > [cascardo: keep only ipv6_addr_is_* functions] > > Signed-off-by: Jiri Benc

Re: [ovs-dev] [RFC PATCH 2/7] Provide functions to work with IPv4-mapped IPv6 addresses.

2015-10-05 Thread Ben Pfaff
On Tue, Sep 29, 2015 at 07:09:16PM -0300, Thadeu Lima de Souza Cascardo wrote: > Move in6_addr_set_mapped_ipv4 out of mcast-snooping code to packets.h and > provide an in6_addr_get_mapped_ipv4 function that gets the corresponding IPv4 > address or the ANY address if it's not IPv4 mapped. > > Signe

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

2015-10-05 Thread Pravin Shelar
On Fri, Oct 2, 2015 at 5:57 PM, Jesse Gross wrote: > On Fri, Oct 2, 2015 at 12:32 PM, Pravin Shelar wrote: >> On Thu, Oct 1, 2015 at 11:00 PM, Jiri Benc wrote: >>> 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

Re: [ovs-dev] Openflow messages processing rate

2015-10-05 Thread Ben Pfaff
On Mon, Oct 05, 2015 at 09:09:56PM +0530, RishiRaj Maulick wrote: > The ofproto implementation at ovs-vswitchd process is single threaded. Are > there any plans of making this implementation multi-threaded such that the > open flow messages processing rate from a single controller increases. I don

[ovs-dev] Openflow messages processing rate

2015-10-05 Thread RishiRaj Maulick
Hi , The ofproto implementation at ovs-vswitchd process is single threaded. Are there any plans of making this implementation multi-threaded such that the open flow messages processing rate from a single controller increases. We have a requirement to support > 5 OF messages per second , so wa

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

2015-10-05 Thread Vlastimil Babka
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 | __GFP_ZERO, 0) It catches VM_BUG_ON(nid < 0 || nid >= MAX_NUMNODES || !node_online(nid)) [ replaced with VM_WARN_ON(!n

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

2015-10-05 Thread David Miller
From: Konstantin Khlebnikov Date: Fri, 02 Oct 2015 13:18:22 +0300 > When openvswitch tries allocate memory from offline numa node 0: > stats = kmem_cache_alloc_node(flow_stats_cache, GFP_KERNEL | __GFP_ZERO, 0) > It catches VM_BUG_ON(nid < 0 || nid >= MAX_NUMNODES || !node_online(nid)) > [ replac

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

2015-10-05 Thread Thomas Graf
On 10/05/15 at 01:09pm, 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 with IPv4 on

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

2015-10-05 Thread Jiri Benc
Add netlink attributes for IPv6 tunnel addresses. This enables IPv6 support for tunnels. Signed-off-by: Jiri Benc Acked-by: Pravin B Shelar --- v2: Changed description. Rebased tun_proto assignment in ip_tun_from_nlattr to accomodate changes in the previous patch. v3: No change. --- include

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

2015-10-05 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 v3 0/2] openvswitch: add IPv6 tunneling support

2015-10-05 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] MAIL SYSTEM ERROR - RETURNED MAIL

2015-10-05 Thread zsh-users-help
Dear user dev@openvswitch.org, mail server administrator of openvswitch.org would like to let you know the following: We have detected that your email account was used to send a huge amount of unsolicited commercial email during this week. Probably, your computer had been infected and now contai