HomeClusterLabs Projects

Refactor: scheduler: Add new pe__eval_*_expr functions.

Description

Refactor: scheduler: Add new pe__eval_*_expr functions.

These new functions all take the same input arguments - an xmlNodePtr
and a pe_rule_eval_data_t. This latter type holds all the parameters
that could possibly be useful for evaluating some rule. Most functions
will only need a few items out of this structure.

Then, implement pe_test_*_expression in terms of these new functions.

Details

Provenance
clumensAuthored on Apr 3 2020, 3:03 PM
Parents
rP2f10dde2f2a0: Feature: scheduler: Add new expression_type values.
Branches
Unknown
Tags
Unknown

Event Timeline