pacemaker  2.1.8-3980678f03
Scalable High-Availability cluster resource manager
Macros
pcmk__evaluate_op_expression_test.c File Reference
#include <crm_internal.h>
#include <stdio.h>
#include <glib.h>
#include <crm/common/xml.h>
#include <crm/common/rules_internal.h>
#include <crm/common/unittest_internal.h>
#include "crmcommon_private.h"
Include dependency graph for pcmk__evaluate_op_expression_test.c:

Go to the source code of this file.

Macros

#define EXPR_FAIL_BOTH
 
#define EXPR_ID_MISSING
 
#define EXPR_ID_EMPTY
 
#define EXPR_NAME_MISSING
 
#define EXPR_MATCH_BOTH
 
#define EXPR_EMPTY_NAME
 
#define EXPR_FAIL_NAME
 
#define EXPR_EMPTY_INTERVAL
 
#define EXPR_INVALID_INTERVAL
 
#define EXPR_DEFAULT_INTERVAL
 
#define EXPR_FAIL_INTERVAL
 

Macro Definition Documentation

◆ EXPR_DEFAULT_INTERVAL

#define EXPR_DEFAULT_INTERVAL
Value:
PCMK_XA_NAME "='" PCMK_ACTION_MONITOR "' />"
#define PCMK_ACTION_MONITOR
Definition: actions.h:60
#define PCMK_XE_OP_EXPRESSION
Definition: xml_names.h:145
#define PCMK_XA_ID
Definition: xml_names.h:296

Definition at line 163 of file pcmk__evaluate_op_expression_test.c.

◆ EXPR_EMPTY_INTERVAL

#define EXPR_EMPTY_INTERVAL
Value:
PCMK_XA_NAME "='" PCMK_ACTION_MONITOR "' " \
PCMK_XA_INTERVAL "='' />"
#define PCMK_ACTION_MONITOR
Definition: actions.h:60
#define PCMK_XE_OP_EXPRESSION
Definition: xml_names.h:145
#define PCMK_XA_ID
Definition: xml_names.h:296

Definition at line 146 of file pcmk__evaluate_op_expression_test.c.

◆ EXPR_EMPTY_NAME

#define EXPR_EMPTY_NAME
Value:
PCMK_XA_NAME "='' " PCMK_XA_INTERVAL "='10s' />"
#define PCMK_XE_OP_EXPRESSION
Definition: xml_names.h:145
#define PCMK_XA_ID
Definition: xml_names.h:296
#define PCMK_XA_INTERVAL
Definition: xml_names.h:304

Definition at line 114 of file pcmk__evaluate_op_expression_test.c.

◆ EXPR_FAIL_BOTH

#define EXPR_FAIL_BOTH
Value:
PCMK_XA_NAME "='" PCMK_ACTION_START "' " \
PCMK_XA_INTERVAL "='0' />"
#define PCMK_XE_OP_EXPRESSION
Definition: xml_names.h:145
#define PCMK_ACTION_START
Definition: actions.h:72
#define PCMK_XA_ID
Definition: xml_names.h:296

Definition at line 52 of file pcmk__evaluate_op_expression_test.c.

◆ EXPR_FAIL_INTERVAL

#define EXPR_FAIL_INTERVAL
Value:
PCMK_XA_NAME "='" PCMK_ACTION_MONITOR "' " \
PCMK_XA_INTERVAL "='9s' />"
#define PCMK_ACTION_MONITOR
Definition: actions.h:60
#define PCMK_XE_OP_EXPRESSION
Definition: xml_names.h:145
#define PCMK_XA_ID
Definition: xml_names.h:296

Definition at line 173 of file pcmk__evaluate_op_expression_test.c.

◆ EXPR_FAIL_NAME

#define EXPR_FAIL_NAME
Value:
PCMK_XA_NAME "='" PCMK_ACTION_START "' " \
PCMK_XA_INTERVAL "='10s' />"
#define PCMK_XE_OP_EXPRESSION
Definition: xml_names.h:145
#define PCMK_ACTION_START
Definition: actions.h:72
#define PCMK_XA_ID
Definition: xml_names.h:296

Definition at line 127 of file pcmk__evaluate_op_expression_test.c.

◆ EXPR_ID_EMPTY

#define EXPR_ID_EMPTY
Value:
PCMK_XA_NAME "='" PCMK_ACTION_MONITOR "' " \
PCMK_XA_INTERVAL "='10s' />"
#define PCMK_ACTION_MONITOR
Definition: actions.h:60
#define PCMK_XE_OP_EXPRESSION
Definition: xml_names.h:145
#define PCMK_XA_ID
Definition: xml_names.h:296

Definition at line 81 of file pcmk__evaluate_op_expression_test.c.

◆ EXPR_ID_MISSING

#define EXPR_ID_MISSING
Value:
PCMK_XA_NAME "='" PCMK_ACTION_MONITOR "' " \
PCMK_XA_INTERVAL "='10s' />"
#define PCMK_ACTION_MONITOR
Definition: actions.h:60
#define PCMK_XE_OP_EXPRESSION
Definition: xml_names.h:145

Definition at line 76 of file pcmk__evaluate_op_expression_test.c.

◆ EXPR_INVALID_INTERVAL

#define EXPR_INVALID_INTERVAL
Value:
PCMK_XA_NAME "='" PCMK_ACTION_MONITOR "' " \
PCMK_XA_INTERVAL "='not-an-interval' />"
#define PCMK_ACTION_MONITOR
Definition: actions.h:60
#define PCMK_XE_OP_EXPRESSION
Definition: xml_names.h:145
#define PCMK_XA_ID
Definition: xml_names.h:296

Definition at line 151 of file pcmk__evaluate_op_expression_test.c.

◆ EXPR_MATCH_BOTH

#define EXPR_MATCH_BOTH
Value:
PCMK_XA_NAME "='" PCMK_ACTION_MONITOR "' " \
PCMK_XA_INTERVAL "='10s' />"
#define PCMK_ACTION_MONITOR
Definition: actions.h:60
#define PCMK_XE_OP_EXPRESSION
Definition: xml_names.h:145
#define PCMK_XA_ID
Definition: xml_names.h:296

Definition at line 109 of file pcmk__evaluate_op_expression_test.c.

◆ EXPR_NAME_MISSING

#define EXPR_NAME_MISSING
Value:
PCMK_XA_INTERVAL "='10s' />"
#define PCMK_XE_OP_EXPRESSION
Definition: xml_names.h:145
#define PCMK_XA_ID
Definition: xml_names.h:296

Definition at line 99 of file pcmk__evaluate_op_expression_test.c.