• Niklas Hambuechen's avatar
    Implement job filtering · 1c05226b
    Niklas Hambuechen authored
    
    
    This implements the operational part of the design doc
      "Filtering of jobs for the Ganeti job queue"
    (design-optables.rst).
    
    It includes
    - respecting filter rules when jobs are scheduled
    - cancelling running jobs rejected by filters
    - re-running the scheduler when filter rules are changed
    - handling of the filter actions ACCEPT, CONTINUE, PAUSE, REJECT
      and RATE_LIMIT
    - implementation of the "jobid", "opcode" and "reason" predicates
    Signed-off-by: default avatarNiklas Hambuechen <niklash@google.com>
    Reviewed-by: default avatarKlaus Aehlig <aehlig@google.com>
    1c05226b
JQScheduler.hs 22.8 KB