Activity log for bug #2052619

Date Who What changed Old value New value Message
2024-02-07 11:06:46 Adam Rozman bug added bug
2024-02-07 11:07:15 Adam Rozman oslo.utils: assignee Adam Rozman (rozzix)
2024-02-07 11:07:20 Adam Rozman oslo.utils: status New In Progress
2024-02-11 13:22:58 Takashi Kajinami oslo.utils: importance Undecided Wishlist
2024-02-12 20:23:42 Adam Rozman description I would like to propose the addition of an "range-in" operator to grammar used in the "specs_matcher" module of the "oslo_utils" library. The "range_in" operator would test whether the "value string" fits in a inclusive numeric range or not. The "range_in" operator would compare a single numeric floating point value (x) against 2 other floating point value such as the first floating point value (y) would be an inclusive lower limit of the range while the other value (z) would be the inclusive upper limit of the range. In other words x would be true if y >= x <= z is true. An example for the use of the "range-in" operator could be the situation when the user has to specify a range of acceptable disk sizes e.g. "range-in 500 2000" that would mean that the acceptable disk size for example for a root disk is between 500 GiB and 2000 GiB. In case such a need would arise, "range-ex" could be added to give the option of a range with exclusive limits such as y > x < z and the naming scheme would stay consistent even in this situation. I would like to propose the addition of an "range-in" operator to grammar used in the "specs_matcher" module of the "oslo_utils" library. The "range_in" operator would test whether the "value string" fits in a inclusive numeric range or not. The "range_in" operator would compare a single numeric floating point value (x) against 2 other floating point value such as the first floating point value (y) would be an inclusive lower limit of the range while the other value (z) would be the inclusive upper limit of the range. In other words x would be matched successfully against the range if y >= x <= z is true. An example for the use of the "range-in" operator could be the situation when the user has to specify a range of acceptable disk sizes e.g. "range-in 500 2000" that would mean that the acceptable disk size for example for a root disk is between 500 GiB and 2000 GiB. In case such a need would arise, "range-ex" could be added to give the option of a range with exclusive limits such as y > x < z and the naming scheme would stay consistent even in this situation. EDIT: Clarifying grammar.
2024-02-19 15:41:38 OpenStack Infra oslo.utils: status In Progress Fix Released