Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Allow multiple values for node filters

#542
  • Issue Type: Improvement
  • Rundeck version: 1.4.1

Issue:

non-tag fields in node filters do not appear to take multiple values. Lets say, I just want to select two hosts by name. AND/OR/+ do not appear to work in "name" filter field. There is no way to specify "another name" field. If I go into the xml, and modify the filter section as:

<nodefilters>
  <include>
    <name>somehost</name>
    <name>anotherhost</name>
  </include>
</nodefilters>

I get in the GUI, in the include filters section:

[somehost, anotherhost]


Reproduce: (Enter steps to reproduce bug here.)

Reported by Marc David Rovner · March 13th, 2012 @ 03:05 PM

State: wontfix
Milestone: none
Assigned to: Greg Schueler Greg Schueler

Activity

  1. Greg Schueler
    Greg Schueler
    • Milestone order changed from 22 to 0

    You can separate the values using a comma to select multiple hosts. Comma acts as boolean OR for the filter:

     <nodefilters>
      <include>
        <name>node1,node2,node3</name>
      </include>
    </nodefilters>
    

    Specifying multiple <name> entries should have a better effect, however.

    April 26th, 2012 @ 10:44 AM

  2. Greg Schueler
    Greg Schueler
    • Assigned user cleared.
    • Milestone cleared.

    April 26th, 2012 @ 04:39 PM

  3. Greg Schueler
    Greg Schueler
    • State changed from new to wontfix
    • Assigned user set to Greg Schueler

    June 22nd, 2012 @ 11:46 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.