pacemaker
1.1.18-7fdfbbe
Scalable High-Availability cluster resource manager
|
#include <crm_internal.h>
#include <ctype.h>
#include <crm/pengine/rules.h>
#include <crm/pengine/status.h>
#include <crm/pengine/internal.h>
#include <unpack.h>
#include <crm/msg_xml.h>
#include "./variant.h"
Go to the source code of this file.
Macros | |
#define | VARIANT_CONTAINER 1 |
Functions | |
void | tuple_free (container_grouping_t *tuple) |
bool | container_fix_remote_addr (resource_t *rsc) |
const char * | container_fix_remote_addr_in (resource_t *rsc, xmlNode *xml, const char *field) |
gboolean | container_unpack (resource_t *rsc, pe_working_set_t *data_set) |
gboolean | container_active (resource_t *rsc, gboolean all) |
resource_t * | find_container_child (const char *stem, resource_t *rsc, node_t *node) |
void | container_print (resource_t *rsc, const char *pre_text, long options, void *print_data) |
void | container_free (resource_t *rsc) |
enum rsc_role_e | container_resource_state (const resource_t *rsc, gboolean current) |
int | pe_bundle_replicas (const resource_t *rsc) |
Get the number of configured replicas in a bundle. More... | |
#define VARIANT_CONTAINER 1 |
Definition at line 29 of file container.c.
gboolean container_active | ( | resource_t * | rsc, |
gboolean | all | ||
) |
Definition at line 1129 of file container.c.
bool container_fix_remote_addr | ( | resource_t * | rsc | ) |
Definition at line 755 of file container.c.
const char* container_fix_remote_addr_in | ( | resource_t * | rsc, |
xmlNode * | xml, | ||
const char * | field | ||
) |
Definition at line 791 of file container.c.
void container_free | ( | resource_t * | rsc | ) |
Definition at line 1399 of file container.c.
void container_print | ( | resource_t * | rsc, |
const char * | pre_text, | ||
long | options, | ||
void * | print_data | ||
) |
Definition at line 1299 of file container.c.
enum rsc_role_e container_resource_state | ( | const resource_t * | rsc, |
gboolean | current | ||
) |
Definition at line 1432 of file container.c.
gboolean container_unpack | ( | resource_t * | rsc, |
pe_working_set_t * | data_set | ||
) |
Definition at line 829 of file container.c.
resource_t* find_container_child | ( | const char * | stem, |
resource_t * | rsc, | ||
node_t * | node | ||
) |
Definition at line 1168 of file container.c.
int pe_bundle_replicas | ( | const resource_t * | rsc | ) |
Get the number of configured replicas in a bundle.
[in] | rsc | Bundle resource |
Definition at line 1446 of file container.c.
void tuple_free | ( | container_grouping_t * | tuple | ) |
Definition at line 1365 of file container.c.