Project

General

Profile

Actions

User story #4505

closed

Allow exclusion and composition of groups to gain more flexibility in Nodes targeted by a Rule

Added by Vincent MEMBRÉ over 10 years ago. Updated over 10 years ago.

Status:
Released
Priority:
1 (highest)
Category:
Web - Config management
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:

Description

As of Rudder 2.9, you can only select Groups to target from a Rule.

The result is that all Nodes from those groups will be targetted by that Rule. (union of all nodes from these groups)

This is nice and easy to use but it can get very complicated

  • When you want to exclude some nodes from a group, you need to create a very complicated group ( exclusion of Nodes )
  • You want to apply a Rule on Nodes that checks both criteria, you need also to create a specific group (intersection of nodes)

To answer this, we need to change how we apply a Rule to a group a nodes by adding more flexibilty and composition.

Here is our plan to solve it completely;

  1. Add backend for that behavior #4506
  2. Modify current Rules screen to integrate Rule composition #4507
  3. Add count of matching nodes under the boxes
  4. Add "(double down arrow) Advanced options" link under green and red boxes, that "rolls down" a greyed out section that has just one option originally, "Combine these groups by < > Union < > Intersection"
  5. Add -> arrows to the left of green and red boxes so you can select groups in the tree, then click the ->

Some other ideas can come with this ( organisation of page, list of Nodes ....) but they will come in another issue.

To complete this, at least steap 1, 2 and 3 needs to be completed


Subtasks 2 (0 open2 closed)

User story #4506: Add a new (backend) rule target for group composition and exclusionReleasedFrançois ARMAND2014-02-24Actions
User story #4507: Modify Rule page to include Rule target composition in the pageReleasedVincent MEMBRÉ2014-02-24Actions

Related issues 2 (0 open2 closed)

Related to Rudder - User story #4816: Add the number of nodes targeted by a ruleResolvedActions
Related to Rudder - Bug #7108: Rules are not serialized correctly anymoreReleasedVincent MEMBRÉ2015-08-26Actions
Actions #1

Updated by Vincent MEMBRÉ over 10 years ago

  • Description updated (diff)
Actions #2

Updated by Jonathan CLARKE over 10 years ago

Vincent MEMBRÉ wrote:

Here is our plan to solve it completely;

  1. Add backend for that behavior #4506
  2. Modify current Rules screen to integrate Rule composition #4507
  3. Add count of matching nodes under the boxes
  4. Add "(double down arrow) Advanced options" link under green and red boxes, that "rolls down" a greyed out section that has just one option originally, "Combine these groups by < > Union < > Intersection"
  5. Add -> arrows to the left of green and red boxes so you can select groups in the tree, then click the ->

Some other ideas can come with this ( organisation of page, list of Nodes ....) but they will come in another issue.

To complete this, at least steap 1, 2 and 3 needs to be completed

Vincent, this user story will only address 1, 2 and 3 therefore (minimum = scope of the user story). Please create other tickets for 4 and 5 and the other ideas, and they will be prioritized accordingly.

Actions #3

Updated by Jonathan CLARKE over 10 years ago

While working on this, please fully check functionality and appearance on the major browsers (Firefox, Chrome, IE and Opera).

Actions #4

Updated by Vincent MEMBRÉ over 10 years ago

  • Status changed from New to 13
Actions #5

Updated by Vincent MEMBRÉ over 10 years ago

  • Status changed from 13 to Pending release
Actions #6

Updated by Vincent MEMBRÉ over 10 years ago

  • Subject changed from Allow exclusion and composition of groups to gain more flexibility in Nodes targetted by a Rule to Allow exclusion and composition of groups to gain more flexibility in Nodes targeted by a Rule
Actions #7

Updated by Vincent MEMBRÉ over 10 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.10.0~beta1, which was released today.
Check out:

The release announcement: http://www.rudder-project.org/pipermail/rudder-announce/2014-March/000084.html
The full ChangeLog: http://www.rudder-project.org/foswiki/bin/view/System/Documentation:ChangeLog210
Download information: https://www.rudder-project.org/site/get-rudder/downloads/
Actions #8

Updated by Nicolas CHARLES over 9 years ago

  • Related to Bug #7108: Rules are not serialized correctly anymore added
Actions

Also available in: Atom PDF