Re: [ovs-dev] [PATCH] ovsdb-data: Add support for integer ranges in database commands

2017-01-10 Thread Łukasz Rząsik
Thanks! Please let me know if you think I can help implementing something or be useful in some other way. I'll also try to propose something. 2017-01-05 17:48 GMT+01:00 Ben Pfaff : > On Thu, Dec 29, 2016 at 03:55:46PM -0700, Lukasz Rzasik wrote: > > Adding / removing a range of

Re: [ovs-dev] [PATCH] ovsdb-data: Add support for integer ranges in database commands

2017-01-05 Thread Ben Pfaff
On Thu, Dec 29, 2016 at 03:55:46PM -0700, Lukasz Rzasik wrote: > Adding / removing a range of integers to a column accepting a set of > integers requires enumarating all of the integers. This patch simplifies > it by introducing 'range' concept to the database commands. Two integers > separated by

[ovs-dev] [PATCH] ovsdb-data: Add support for integer ranges in database commands

2016-12-29 Thread Lukasz Rzasik
Adding / removing a range of integers to a column accepting a set of integers requires enumarating all of the integers. This patch simplifies it by introducing 'range' concept to the database commands. Two integers separated by a hyphen represent an inclusive range. The patch adds positive and

Re: [ovs-dev] [PATCH] ovsdb-data: Add support for integer ranges in database commands

2016-12-21 Thread Ben Pfaff
On Wed, Dec 14, 2016 at 10:39:35PM +0100, Łukasz Rząsik wrote: > I was not worrying about this problem because I assumed it was already > there. A user could provide a very long list of integers and this would > affect memory in similar way. There is a limit for how long the list could > get,

Re: [ovs-dev] [PATCH] ovsdb-data: Add support for integer ranges in database commands

2016-12-14 Thread Łukasz Rząsik
Hi Ben, Thank you for looking at the patch. I was not worrying about this problem because I assumed it was already there. A user could provide a very long list of integers and this would affect memory in similar way. There is a limit for how long the list could get, kernel's limit on size of

[ovs-dev] [PATCH] ovsdb-data: Add support for integer ranges in database commands

2016-12-05 Thread Łukasz Rząsik
Adding / removing a range of integers to a column accepting a set of integers requires enumarating all of the integers. This patch simplifies it by introducing 'range' concept to the database commands. Two integers separated by a hyphen represent an inclusive range. The patch adds positive and