[ovs-dev] Info - 08.10.2018

2018-10-09 Thread Hanns Co. & GmbH
Hallo Herr / Frau, Wir stellen Mittel für Investitionszwecke in Form von Krediten an Kreditsuchende , Menschen, Unternehmensverbände, Firmen etc. Investitionen werden wie gemacht: * Projektfinanzierung * Business-Darlehen * Persönliche Darlehen * Schuldenkonsolidierung * Haus Darlehen *

Re: [ovs-dev] [PATCH 1/2] ovn-ctl: Allow passing ssl certs when starting OVN DBs in ssl mode.

2018-10-09 Thread aginwala aginwala
Hi Han: Have added the man section for ssl in v3. PTAL. Thanks, On Mon, Oct 8, 2018 at 6:49 PM aginwala aginwala wrote: > Sure. I will add ssl usage example with some brief in the ovn-ctl.8.xml > and send v3 for this patch . Does that sound good? > > On Mon, Oct 8, 2018 at 5:32 PM Han Zhou

Re: [ovs-dev] Issue with OVS lacp-fallback-ab option

2018-10-09 Thread Arun Navasivasakthivelsamy
Ben, I was able to test it out, and you were right - disabling the recirculation fixed the problem! Since I’m on OVS 2.5.2, the patch I tried was slightly different: diff --git a/ofproto/bond.c b/ofproto/bond.c old mode 100644 new mode 100755 index 9c6079f..118a7d6 --- a/ofproto/bond.c

Re: [ovs-dev] (no subject)

2018-10-09 Thread Elite Capital Group
Start-up-Kapital für Ihr neues Geschäft oder Finanzierung für die Erweiterung Ihres Geschäfts. Wir bieten auch persönliche und Firmenkredite. Kontaktieren Sie uns jetzt für weitere Informationen E-Mail: Start up capital for your new business or financing for expanding your business. We also

[ovs-dev] [PATCH 2/2] odp-util: Handle returning when parse_odp_key_mask_attr handles ufid

2018-10-09 Thread Yifeng Sun
When parse_odp_key_mask_attr runs into ufid, it returns length of ufid without appending data into ofpbufs. This commit adds additional checking for this case. Found this bug when debugging https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=10850, but not certain it is related. Signed-off-by:

[ovs-dev] [PATCH 1/2] odp-util: Fix a bug that causes stack overflow

2018-10-09 Thread Yifeng Sun
ofpbuf_put_hex doesn't know buf's length and only checks buf's content to process. This is dangerous. This patch fixes it. Reported-at: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=10865 Reported-at: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=10863 Reported-at:

[ovs-dev] [PATCH v3 2/2] ovndb-servers.ocf: Add ssl support for managing OVN DB resources with pacemaker using LB VIP.

2018-10-09 Thread aginwala
When starting OVN DBs in HA using pacemaker with ssl, we need to pass ssl certs for starting standby DBs. Hence, we need this change. Signed-off-by: aginwala Acked-by: Han Zhou --- ovn/utilities/ovndb-servers.ocf | 72 - 1 file changed, 71 insertions(+),

[ovs-dev] [PATCH v3 1/2] ovn-ctl: Allow passing ssl certs when starting OVN DBs in ssl mode.

2018-10-09 Thread aginwala
For OVN DBs to work with SSL in HA, we need to have capability to pass ssl certs when starting OVN DBs. Say when starting OVN DBs in active passive mode, in order for the standby DBs to sync from master node, it cannot sync because the required ssl certs are not passed when standby DBs are

Re: [ovs-dev] [PATCH] ovn-trace: Fix tracing when ip.dst has to go via a gateway router

2018-10-09 Thread Mark Michelson
Looks good to me. Acked-by: Mark Michelson On 10/09/2018 09:11 AM, nusid...@redhat.com wrote: From: Numan Siddique ovn-trace does not trace past an l3gateway port type. This patch fixes it. Reported-at: https://bugzilla.redhat.com/show_bug.cgi?id=1626080 Suggested-by: Dan Williams

Re: [ovs-dev] [PATCH] IPv6: Add support for match and set nd_options_type and reserved fields.

2018-10-09 Thread Ben Pfaff
On Tue, Oct 09, 2018 at 10:28:28AM +, Ashvin Lakshmikantha wrote: >In this specific case, it appears that the original design of > the data structure is inconsistent with RFC 4861. The RFC 4861 mandates the > ND message to be of the following type: > > > >

Re: [ovs-dev] dpif-netdev bug regarding packet matches or ufids?

2018-10-09 Thread Ben Pfaff
Thank you very much! I think you found the exact problem. I applied this to master and backported as far as branch-2.7. On Tue, Oct 09, 2018 at 07:21:24PM +0300, Ilya Maximets wrote: > Hi Ben. > Thanks for your report and the really useful script. > I spent a few hours debugging the issue and

Re: [ovs-dev] [PATCH 2/2 v2] Work around Python/C JSON unicode differences

2018-10-09 Thread Lucas Alvares Gomes
On Tue, Oct 9, 2018 at 5:33 PM Terry Wilson wrote: > > The OVS C-based JSON parser operates on bytes, so the parser_feed > function returns the number of bytes that are processed. The pure > Python JSON parser currently operates on unicode, so it expects > that Parser.feed() returns a number of

Re: [ovs-dev] [PATCH 2/2 v2] Work around Python/C JSON unicode differences

2018-10-09 Thread Terry Wilson
On Tue, Oct 9, 2018 at 11:28 AM Terry Wilson wrote: > > Anyone have time to look at these? Huh, apparently they hadn't shown up due to being marked as spam or something. Re-sent. ___ dev mailing list d...@openvswitch.org

[ovs-dev] [PATCH 2/2 v2] Work around Python/C JSON unicode differences

2018-10-09 Thread Terry Wilson
The OVS C-based JSON parser operates on bytes, so the parser_feed function returns the number of bytes that are processed. The pure Python JSON parser currently operates on unicode, so it expects that Parser.feed() returns a number of characters. This difference leads to parsing errors when

[ovs-dev] [PATCH 1/2 v2] Test the Python C JSON extension

2018-10-09 Thread Terry Wilson
The C JSON parser was added quite a while ago, but unless you configure with --enable-shared and have the Python 2/3 development libraries installed, and the resulting python-ovs module installed, 'make check' won't actually test it. This patch changes Python-based tests to run from the

Re: [ovs-dev] [PATCH 2/2 v2] Work around Python/C JSON unicode differences

2018-10-09 Thread Terry Wilson
Anyone have time to look at these? On Mon, Oct 1, 2018 at 11:24 AM Terry Wilson wrote: > > The OVS C-based JSON parser operates on bytes, so the parser_feed > function returns the number of bytes that are processed. The pure > Python JSON parser currently operates on unicode, so it expects > that

Re: [ovs-dev] dpif-netdev bug regarding packet matches or ufids?

2018-10-09 Thread Ilya Maximets
Hi Ben. Thanks for your report and the really useful script. I spent a few hours debugging the issue and came up with the following patch: https://patchwork.ozlabs.org/patch/981408/ Please, take a look. Additionally we may add ufid lookup support in flow_put_on_pmd() as a separate fix.

[ovs-dev] [PATCH] dpif-netdev: Add vlan to mask for flow_put operation.

2018-10-09 Thread Ilya Maximets
Datapath flows in dpif-netdev classifier always has exact match mask set for vlan. We have to enable it for flow_put operation too in order to avoid flow modification failure due to classifier lookup with wrong hash. CC: Jan Scheurich Fixes: beb75a40fdc2 ("userspace: Switching of L3 packets in

Re: [ovs-dev] [PATCH 2/2] ovndb-servers.ocf: Add ssl support for managing OVN DB resources with pacemaker using LB VIP.

2018-10-09 Thread aginwala aginwala
Thanks Numan for review. Just to update that V3 will only have changes for ovn-ctl as per Han's suggestion to add details in help section there. ocf script will remain unchanged. That is why I have added acked-by on this patch. :) On Mon, Oct 8, 2018 at 11:59 PM Numan Siddique wrote: > > > On

[ovs-dev] GLUCKWUNSCHE { Ihre E-Mail einfach trotzdem $4, 500, 000.00 USD }

2018-10-09 Thread Konto Server
-- UNITED STATES OF AMERICA LOTTO INC. ADRESSE: OSTWESTLANDSTRASSE 1325 STADT: SILBERNER FRUHLING STATE/PROVINCE: MARYLAND POSTCODE: 20110 LAND: USA INC. ** ** REF NO:. 3837498934 STAPEL NR: 97394898532/0938

[ovs-dev] [PATCH] ovn-trace: Fix tracing when ip.dst has to go via a gateway router

2018-10-09 Thread nusiddiq
From: Numan Siddique ovn-trace does not trace past an l3gateway port type. This patch fixes it. Reported-at: https://bugzilla.redhat.com/show_bug.cgi?id=1626080 Suggested-by: Dan Williams Signed-off-by: Numan Siddique --- ovn/utilities/ovn-trace.c | 9 + 1 file changed, 9

Re: [ovs-dev] [PATCH v10 00/14] Support multi-segment mbufs

2018-10-09 Thread Lam, Tiago
On 08/10/2018 18:04, Ilya Maximets wrote: > Current patch-set breaks a lot of STP unit tests: Thanks for pointing that out, I've fixed them now. I wasn't aware that those tests were running as part of that testsuite, so I'll start running that as well from now on. > > ##

[ovs-dev] [PATCH v3] ovn-nbctl: Add basic port group commands.

2018-10-09 Thread Mark Michelson
This adds the following commands: pg-add: Add a new port group, optionally adding switch ports at creation. pg-set-ports: Sets the logical switch ports on a port group pg-del: Remove a port group. The main motivation for these commands is that it allows for adding logical switch ports by name

Re: [ovs-dev] [PATCH v7 4/4] Replace router internal MAC with gateway MAC for reply packets

2018-10-09 Thread Numan Siddique
On Fri, Sep 28, 2018 at 12:36 AM Guru Shetty wrote: > > > On Mon, 24 Sep 2018 at 03:10, Miguel Angel Ajo Pelayo > wrote: > >> >> >> No worries Guru, I understand your feeling, I worked with Anil on >> developing this feature, and it's indeed rather complex (we are actually >> replacing

Re: [ovs-dev] [PATCH v6] ovn: Support configuring the BFD params for the tunnel interfaces

2018-10-09 Thread Numan Siddique
On Tue, Oct 9, 2018 at 2:18 PM wrote: > From: Numan Siddique > > With this commit the users can override the default values of > the BFD params - min_rx, min_tx, decay_min_rx and mult if desired. > This can be useful to debug any issues related to BFD (like > frequent BFD state changes). > > A

Re: [ovs-dev] [PATCH v4] ovn: Support configuring the BFD params for the tunnel interfaces

2018-10-09 Thread Numan Siddique
On Mon, Oct 8, 2018 at 11:53 PM Ben Pfaff wrote: > On Sat, Oct 06, 2018 at 08:04:09PM +0530, nusid...@redhat.com wrote: > > From: Numan Siddique > > > > With this commit the users can override the default values of > > the BFD params - min_rx, min_tx, decay_min_rx and mult if desired. > > This

[ovs-dev] [PATCH v6] ovn: Support configuring the BFD params for the tunnel interfaces

2018-10-09 Thread nusiddiq
From: Numan Siddique With this commit the users can override the default values of the BFD params - min_rx, min_tx, decay_min_rx and mult if desired. This can be useful to debug any issues related to BFD (like frequent BFD state changes). A new column 'options' is added in NB_Global and

[ovs-dev] [PATCH] ovsdb idl: API to get the idl session

2018-10-09 Thread Arunkumar Rg
Added an API in ovsdb-idl to get the idl->session. This API is useful in the ovsdb client code as the session information returned by this API would be used to get the details about the remote session. Signed-off-by: Arunkumar R G --- lib/ovsdb-idl.c | 6 ++ lib/ovsdb-idl.h | 3 +++ 2

Re: [ovs-dev] [PATCH] ovn-ctl: Fix the wrong pidfile argument passed to ovsdb-servers

2018-10-09 Thread Daniel Alvarez Sanchez
Thanks Numan! On Tue, Oct 9, 2018 at 9:17 AM wrote: > From: Numan Siddique > > When OVN db servers are started usinb ovn-ctl, if the pid files > (/var/run/openvswitch/ovnnb_db.pid for example) are already > present, then ovn-ctl passes "--pidfile=123" if the pid file has > '123' stored in it.

[ovs-dev] [PATCH] ovn-ctl: Fix the wrong pidfile argument passed to ovsdb-servers

2018-10-09 Thread nusiddiq
From: Numan Siddique When OVN db servers are started usinb ovn-ctl, if the pid files (/var/run/openvswitch/ovnnb_db.pid for example) are already present, then ovn-ctl passes "--pidfile=123" if the pid file has '123' stored in it. Later on when OVN pacemaker RA script calls

Re: [ovs-dev] [PATCH 2/2] ovndb-servers.ocf: Add ssl support for managing OVN DB resources with pacemaker using LB VIP.

2018-10-09 Thread Numan Siddique
On Tue, Oct 9, 2018 at 6:11 AM Han Zhou wrote: > >> > >> Giving a second thought, it seems there is still a problem. > >> > >> There should be two sets of SSL related parameters we should consider in > the active-standby scenario. > >> - One set of parameters is for the server side. For ipaddr2