oslo.utils/oslo_utils
Adam Rozman 72c80f6993 add <range-in> spec DSL operator
Add a new spec DSL operator called `range-in` that allowes users of
the spec_matcher to match values against numeric ranges.
The surrounding brackets determines whether the limit should be
inclusive or not.

examples:
 <range-in> [ 10 20 ]  : 10 <= x <= 20
 <range-in> ( 10 20 ]  : 10 <  x <= 20
 <range-in> [ 10 20 )  : 10 <= x <  20
 <range-in> ( 10 20 )  : 10 <  x <  20

Closes-Bug: #2052619
Change-Id: I444c01219d02ea7572d4b82117b89b8d3eb75e56
Signed-off-by: Adam Rozman <adam.rozman@est.tech>
Co-authored-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
2024-02-19 13:23:13 +02:00
..
locale Imported Translations from Zanata 2018-03-01 06:07:18 +00:00
tests add <range-in> spec DSL operator 2024-02-19 13:23:13 +02:00
__init__.py Move files out of the namespace package 2015-01-06 17:07:36 -05:00
_i18n.py Update URLs in documents according to document migration 2017-07-12 23:34:11 +08:00
dictutils.py Address nits from six removal patch 2021-02-01 10:47:54 +00:00
encodeutils.py Remove all usage of six library 2020-10-09 19:20:51 +08:00
eventletutils.py eventletutils: Optimise EventletEvent.clear() 2019-01-25 14:56:57 +13:00
excutils.py Bump hacking 2024-01-26 01:17:39 +09:00
fileutils.py Add util methods for checking json and yaml formatted file 2020-08-26 09:39:02 -05:00
fixture.py Modify UUID sentinel to support keystone-like UUIDs 2021-08-03 13:13:58 +02:00
imageutils.py [imageutils] Fix __str__ for QemuImgInfo 2022-11-11 16:18:15 -05:00
importutils.py Make method import_versioned_module work 2016-10-12 16:51:52 +08:00
netutils.py Add netutils.get_my_ipv6() 2023-05-24 13:58:29 +00:00
reflection.py Remove strict from is_same_callback() 2023-03-15 03:31:45 +00:00
secretutils.py Add function to encapsule md5 for FIPS systems 2020-09-16 16:47:07 -04:00
specs_matcher.py add <range-in> spec DSL operator 2024-02-19 13:23:13 +02:00
strutils.py Mask chapsecret 2023-10-04 17:46:57 +00:00
timeutils.py Merge "Remove reference to monotonic on PyPI" 2023-12-19 18:56:04 +00:00
units.py Update units for current SI prefixes 2023-04-07 11:34:06 -04:00
uuidutils.py Add toggle 'dashed' to 'generate_uuid' function 2016-12-06 02:38:08 -05:00
versionutils.py versionutil: Remove trailing alpha/beta/rc suffix 2023-11-08 02:19:55 +09:00