Project

General

Profile

Actions

User story #4416

open

Group search does not allow to mix AND and OR combinators

Added by Dennis Cabooter almost 11 years ago. Updated over 3 years ago.

Status:
New
Priority:
N/A
Assignee:
-
Category:
Web - Nodes & inventories
UX impact:
Suggestion strength:
Advise - This would make Rudder significantly better | easier | simpler
User visibility:
Effort required:
Name check:
Fix check:
Regression:

Description

As discussed with Vince_McBuche on IRC, it would be nice if the groups could be improved. However, I got no idea about the complexity of the groups query tool.

What I have now is this:

  • AND os name = red hat
  • AND ip address REGEX 10\.122\.24(9.*|5\.(3[3-9]|[45][0-9]|6[0-3]))

Which is rather complex. In first place it would be nice if AND and OR can be combined:

  • If you now create a group you can choose between an AND or OR query
  • Maybe it would be nice if that was more flexible:
  • AND os name = red hat
  • AND ip adress =
    - ip address REGEX $regex1 OR
    - ip address REGEX $regex2 OR
    - ip address REGEX $regex3

Also it would be nice, if it was not only possible to match ip addresses, but ip ranges as well:

  • AND ip range =
    - ip range = 192.168.0.0/26 OR
    - ip range = 10.0.0.1-100 OR
    - ip range = 127.0.0.0/8

And last but not least: IMHO the regex field is really small. ATM I have to copy the regex first, then edit it and copy it back. When it's copied back it works, but it's not very readable.


Related issues 2 (0 open2 closed)

Related to Rudder - User story #4417: Allow node search on IP rangeRejectedActions
Related to Rudder - Bug #4418: Regex field in node search is too smallRejected2014-01-29Actions
Actions

Also available in: Atom PDF