Re: [ovs-dev] [PATCH] python: Allow specifying the iterations in Idl.run

2016-03-23 Thread Jason Kölker
On Wed, Mar 23, 2016 at 6:29 PM, Ben Pfaff <b...@ovn.org> wrote: > On Sun, Mar 20, 2016 at 03:29:06AM +0000, Jason Kölker wrote: >> Callers to Idl.run() should be able to specify the number of iterations >> to run in one call. Instrumentation revealed that a call to Idl.run(

Re: [ovs-dev] [PATCH] python: Allow specifying the iterations in Idl.run

2016-03-19 Thread Jason Kölker
I would like to request that, if accepted, this also be applied to branch-2.5. Happy Hacking! 7-11 ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

[ovs-dev] [PATCH] python: Allow specifying the iterations in Idl.run

2016-03-19 Thread Jason Kölker
to to provide concurrency. Specifying a configurable number of iterations will allow calling code to better manage concurrency. Signed-off-by: Jason Kölker <ja...@koelker.net> --- python/ovs/db/idl.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/ovs/db/id

[ovs-dev] [PATCH] datapath: Add net/ip6_checksum.h to stt.c

2015-09-02 Thread Jason Kölker
`csum_ipv6_magic` is an asm inline on most platforms. However if it is not defined (like on ppc64le) including will fall back to the c implementation by wrapping it in an `#ifndef _HAVE_ARCH_IPV6_CSUM`. Signed-off-by: Jason Kölker <ja...@koelker.net> --- datapath/linux/compat/stt.c |

[ovs-dev] [PATCH] XenServer: Don't reset on xe-toolstack-restart

2015-02-06 Thread Jason Kölker
-by: Jason Kölker ja...@koelker.net --- .../etc_xapi.d_plugins_openvswitch-cfg-update | 22 ++ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/xenserver/etc_xapi.d_plugins_openvswitch-cfg-update b/xenserver/etc_xapi.d_plugins_openvswitch-cfg-update index aeaa1e7

Re: [ovs-dev] [PATCH] XenServer: Don't reset on xe-toolstack-restart

2015-02-06 Thread Jason Kölker
On Sat, Feb 7, 2015 at 6:58 AM, Ben Pfaff b...@nicira.com wrote: I'm pretty sure that this version will not parse ssl:1.2.3.4:5 correctly; won't it return 1.2.3.4:5 instead of just 1.2.3.4? It handles bolth cases. The split tuple will be ('ssl', '1.2.3.4', '5') and it will return the middle

Re: [ovs-dev] [PATCH V2 2/2] XenServer: Don't reset on xe-toolstack-restart

2015-02-06 Thread Jason Kölker
On Sat, Feb 7, 2015 at 5:34 AM, Ben Pfaff b...@nicira.com wrote: On Thu, Feb 05, 2015 at 04:32:57AM +, Jason Kölker wrote: With XenServer only 1 manager is configured in the pool, which may not be the first manager returned from `get-manager` as it returns in lexicographical order. V2

[ovs-dev] [PATCH] XenServer: Don't reset on xe-toolstack-restart

2015-02-06 Thread Jason Kölker
function to isolate each case Signed-off-by: Jason Kölker ja...@koelker.net --- .../etc_xapi.d_plugins_openvswitch-cfg-update | 29 +- 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/xenserver/etc_xapi.d_plugins_openvswitch-cfg-update b/xenserver

[ovs-dev] [PATCH V2 2/2] XenServer: Don't reset on xe-toolstack-restart

2015-02-04 Thread Jason Kölker
With XenServer only 1 manager is configured in the pool, which may not be the first manager returned from `get-manager` as it returns in lexicographical order. V2: Fixes vswitchCurrentControllers() to always return a list Signed-off-by: Jason Kölker ja...@koelker.net

[ovs-dev] [PATCH 1/2] XenServer: PEP8 Cleanup for openvswitch-cfg-update

2015-02-04 Thread Jason Kölker
Signed-off-by: Jason Kölker ja...@koelker.net --- .../etc_xapi.d_plugins_openvswitch-cfg-update | 147 +++-- 1 file changed, 80 insertions(+), 67 deletions(-) diff --git a/xenserver/etc_xapi.d_plugins_openvswitch-cfg-update b/xenserver/etc_xapi.d_plugins_openvswitch-cfg

[ovs-dev] [PATCH 2/2] XenServer: Don't reset on xe-toolstack-restart

2015-02-04 Thread Jason Kölker
With XenServer only 1 manager is configured in the pool, which may not be the first manager returned from `get-manager` as it returns in lexicographical order. Signed-off-by: Jason Kölker ja...@koelker.net --- .../etc_xapi.d_plugins_openvswitch-cfg-update | 22 +++--- 1 file

[ovs-dev] [PATCH 0/2] XenServer: Improve XAPI plugin

2015-02-04 Thread Jason Kölker
This patch prevents wiping flows if the xen pool's controller is not the first controller in the `get-manger` output. It also updates the quoting to be to be consistant and follows PEP8 guidelines. .../etc_xapi.d_plugins_openvswitch-cfg-update | 163 +++- 1 file changed, 88

[ovs-dev] [PATCH] rhel: Add Patch Port support to initscripts

2014-03-31 Thread Jason Kölker
Allows setting up type=patch ports through sysconfig ifcfg-* files. Signed-off-by: Jason Kölker ja...@koelker.net --- rhel/README.RHEL | 25 + rhel/etc_sysconfig_network-scripts_ifdown-ovs | 3 +++ rhel/etc_sysconfig_network-scripts_ifup-ovs