10#ifndef PCMK__CRM_COMMON_OPTIONS_INTERNAL__H
11#define PCMK__CRM_COMMON_OPTIONS_INTERNAL__H
98 const char *desc_short,
const char *desc_long,
99 uint32_t filter,
bool all);
101 const char *desc_short,
const char *desc_long,
104 const char *desc_short,
const char *desc_long,
108 const char *short_desc,
const char *long_desc,
128#define PCMK__ENV_AUTHKEY_LOCATION "authkey_location"
129#define PCMK__ENV_BLACKBOX "blackbox"
130#define PCMK__ENV_CA_FILE "ca_file"
131#define PCMK__ENV_CALLGRIND_ENABLED "callgrind_enabled"
132#define PCMK__ENV_CERT_FILE "cert_file"
133#define PCMK__ENV_CLUSTER_TYPE "cluster_type"
134#define PCMK__ENV_CRL_FILE "crl_file"
135#define PCMK__ENV_DEBUG "debug"
136#define PCMK__ENV_DH_MAX_BITS "dh_max_bits"
137#define PCMK__ENV_FAIL_FAST "fail_fast"
138#define PCMK__ENV_IPC_TYPE "ipc_type"
139#define PCMK__ENV_KEY_FILE "key_file"
140#define PCMK__ENV_LOGFACILITY "logfacility"
141#define PCMK__ENV_LOGFILE "logfile"
142#define PCMK__ENV_LOGFILE_MODE "logfile_mode"
143#define PCMK__ENV_LOGPRIORITY "logpriority"
144#define PCMK__ENV_NODE_ACTION_LIMIT "node_action_limit"
145#define PCMK__ENV_NODE_START_STATE "node_start_state"
146#define PCMK__ENV_PANIC_ACTION "panic_action"
147#define PCMK__ENV_REMOTE_ADDRESS "remote_address"
148#define PCMK__ENV_REMOTE_SCHEMA_DIRECTORY "remote_schema_directory"
149#define PCMK__ENV_REMOTE_PID1 "remote_pid1"
150#define PCMK__ENV_REMOTE_PORT "remote_port"
151#define PCMK__ENV_RESPAWNED "respawned"
152#define PCMK__ENV_SCHEMA_DIRECTORY "schema_directory"
153#define PCMK__ENV_SERVICE "service"
154#define PCMK__ENV_STDERR "stderr"
155#define PCMK__ENV_TLS_PRIORITIES "tls_priorities"
156#define PCMK__ENV_TRACE_BLACKBOX "trace_blackbox"
157#define PCMK__ENV_TRACE_FILES "trace_files"
158#define PCMK__ENV_TRACE_FORMATS "trace_formats"
159#define PCMK__ENV_TRACE_FUNCTIONS "trace_functions"
160#define PCMK__ENV_TRACE_TAGS "trace_tags"
161#define PCMK__ENV_VALGRIND_ENABLED "valgrind_enabled"
164#define PCMK__META_CLONE "clone"
165#define PCMK__META_CONTAINER "container"
166#define PCMK__META_DIGESTS_ALL "digests-all"
167#define PCMK__META_DIGESTS_SECURE "digests-secure"
168#define PCMK__META_INTERNAL_RSC "internal_rsc"
169#define PCMK__META_MIGRATE_SOURCE "migrate_source"
170#define PCMK__META_MIGRATE_TARGET "migrate_target"
171#define PCMK__META_ON_NODE "on_node"
172#define PCMK__META_ON_NODE_UUID "on_node_uuid"
173#define PCMK__META_OP_NO_WAIT "op_no_wait"
174#define PCMK__META_OP_TARGET_RC "op_target_rc"
175#define PCMK__META_PHYSICAL_HOST "physical-host"
176#define PCMK__META_STONITH_ACTION "stonith_action"
181#define PCMK__META_CLEAR_FAILURE_OP "clear_failure_op"
182#define PCMK__META_CLEAR_FAILURE_INTERVAL "clear_failure_interval"
185#define PCMK__META_PROMOTED_MAX_LEGACY "master-max"
188#define PCMK__META_PROMOTED_NODE_MAX_LEGACY "master-node-max"
191#define PCMK__VALUE_ATTRD "attrd"
192#define PCMK__VALUE_BOLD "bold"
193#define PCMK__VALUE_BROADCAST "broadcast"
194#define PCMK__VALUE_CIB "cib"
195#define PCMK__VALUE_CIB_DIFF_NOTIFY "cib_diff_notify"
196#define PCMK__VALUE_CIB_NOTIFY "cib_notify"
197#define PCMK__VALUE_CIB_POST_NOTIFY "cib_post_notify"
198#define PCMK__VALUE_CIB_PRE_NOTIFY "cib_pre_notify"
199#define PCMK__VALUE_CIB_UPDATE_CONFIRMATION "cib_update_confirmation"
200#define PCMK__VALUE_CLUSTER "cluster"
201#define PCMK__VALUE_CRMD "crmd"
202#define PCMK__VALUE_EN "en"
203#define PCMK__VALUE_EPOCH "epoch"
204#define PCMK__VALUE_HEALTH_RED "health_red"
205#define PCMK__VALUE_HEALTH_YELLOW "health_yellow"
206#define PCMK__VALUE_INIT "init"
207#define PCMK__VALUE_LOCAL "local"
208#define PCMK__VALUE_LOST "lost"
209#define PCMK__VALUE_LRMD "lrmd"
210#define PCMK__VALUE_MAINT "maint"
211#define PCMK__VALUE_OUTPUT "output"
212#define PCMK__VALUE_PASSWORD "password"
213#define PCMK__VALUE_PRIMITIVE "primitive"
214#define PCMK__VALUE_REFRESH "refresh"
215#define PCMK__VALUE_REQUEST "request"
216#define PCMK__VALUE_RESPONSE "response"
217#define PCMK__VALUE_RSC_FAILED "rsc-failed"
218#define PCMK__VALUE_RSC_FAILURE_IGNORED "rsc-failure-ignored"
219#define PCMK__VALUE_RSC_MANAGED "rsc-managed"
220#define PCMK__VALUE_RSC_MULTIPLE "rsc-multiple"
221#define PCMK__VALUE_RSC_OK "rsc-ok"
222#define PCMK__VALUE_RUNNING "running"
223#define PCMK__VALUE_SCHEDULER "scheduler"
224#define PCMK__VALUE_SHUTDOWN_COMPLETE "shutdown_complete"
225#define PCMK__VALUE_SHUTTING_DOWN "shutting_down"
226#define PCMK__VALUE_ST_ASYNC_TIMEOUT_VALUE "st-async-timeout-value"
227#define PCMK__VALUE_ST_NOTIFY "st_notify"
228#define PCMK__VALUE_ST_NOTIFY_DISCONNECT "st_notify_disconnect"
229#define PCMK__VALUE_ST_NOTIFY_FENCE "st_notify_fence"
230#define PCMK__VALUE_ST_NOTIFY_HISTORY "st_notify_history"
231#define PCMK__VALUE_ST_NOTIFY_HISTORY_SYNCED "st_notify_history_synced"
232#define PCMK__VALUE_STARTING_DAEMONS "starting_daemons"
233#define PCMK__VALUE_STONITH_NG "stonith-ng"
234#define PCMK__VALUE_WAIT_FOR_PING "wait_for_ping"
235#define PCMK__VALUE_WARNING "warning"
240#define PCMK__VALUE_GROUP "group"
243#define PCMK__VALUE_TIME "time"
@ pcmk__opt_advanced
Advanced use only.
@ pcmk__opt_deprecated
Option is deprecated.
@ pcmk__opt_generated
Generated by Pacemaker.
@ pcmk__opt_controld
In controller metadata.
@ pcmk__opt_fencing
Common fencing resource parameter.
@ pcmk__opt_schedulerd
In scheduler metadata.
@ pcmk__opt_none
No additional information.
@ pcmk__opt_primitive
Primitive resource meta-attribute.
@ pcmk__opt_based
In CIB manager metadata.
bool pcmk__valid_positive_int(const char *value)
const char * pcmk__cluster_option(GHashTable *options, const char *name)
int pcmk__output_primitive_meta(pcmk__output_t *out, const char *name, const char *desc_short, const char *desc_long, bool all)
int pcmk__output_cluster_options(pcmk__output_t *out, const char *name, const char *desc_short, const char *desc_long, uint32_t filter, bool all)
_Noreturn void pcmk__cli_help(char cmd)
struct pcmk__cluster_option_s pcmk__cluster_option_t
bool pcmk__valid_no_quorum_policy(const char *value)
bool pcmk__valid_interval_spec(const char *value)
bool pcmk__valid_boolean(const char *value)
void pcmk__set_env_option(const char *option, const char *value, bool compat)
Set or unset a Pacemaker environment variable option.
bool pcmk__valid_placement_strategy(const char *value)
long pcmk__get_sbd_watchdog_timeout(void)
bool pcmk__env_option_enabled(const char *daemon, const char *option)
bool pcmk__valid_stonith_watchdog_timeout(const char *value)
long pcmk__auto_stonith_watchdog_timeout(void)
int pcmk__daemon_metadata(pcmk__output_t *out, const char *name, const char *short_desc, const char *long_desc, enum pcmk__opt_flags filter)
bool pcmk__valid_percentage(const char *value)
bool pcmk__valid_int(const char *value)
const char * pcmk__env_option(const char *option)
bool pcmk__get_sbd_sync_resource_startup(void)
void pcmk__validate_cluster_options(GHashTable *options)
int pcmk__output_fencing_params(pcmk__output_t *out, const char *name, const char *desc_short, const char *desc_long, bool all)
Formatted output for pacemaker tools.
bool(* is_valid)(const char *)
const char * description_short
const char * description_long
uint32_t flags
Group of enum pcmk__opt_flags
const char * default_value
This structure contains everything that makes up a single output formatter.