#include <crm_internal.h>
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <sys/stat.h>
#include <sys/param.h>
#include <sys/types.h>
#include <dirent.h>
#include <crm/crm.h>
#include <crm/lrmd.h>
#include <crm/cib.h>
#include <crm/common/util.h>
#include <crm/common/iso8601.h>
#include <crm/common/xml_internal.h>
#include <crm/pengine/status.h>
#include <pacemaker-internal.h>
Go to the source code of this file.
|  | 
| void | modify_configuration (pe_working_set_t *data_set, cib_t *cib, const char *quorum, const char *watchdog, GList *node_up, GList *node_down, GList *node_fail, GList *op_inject, GList *ticket_grant, GList *ticket_revoke, GList *ticket_standby, GList *ticket_activate) | 
|  | 
| int | run_simulation (pe_working_set_t *data_set, cib_t *cib, GList *op_fail_list) | 
|  | 
      
        
          | #define RSC_TEMPLATE   "//"XML_CIB_TAG_STATE"[@uname='%s']//"XML_LRM_TAG_RESOURCE"[@id='%s']" | 
      
 
 
      
        
          | #define STATUS_PATH_MAX   512 | 
      
 
 
      
        
          | void modify_configuration | ( | pe_working_set_t * | data_set, | 
        
          |  |  | cib_t * | cib, | 
        
          |  |  | const char * | quorum, | 
        
          |  |  | const char * | watchdog, | 
        
          |  |  | GList * | node_up, | 
        
          |  |  | GList * | node_down, | 
        
          |  |  | GList * | node_fail, | 
        
          |  |  | GList * | op_inject, | 
        
          |  |  | GList * | ticket_grant, | 
        
          |  |  | GList * | ticket_revoke, | 
        
          |  |  | GList * | ticket_standby, | 
        
          |  |  | GList * | ticket_activate | 
        
          |  | ) |  |  | 
      
 
 
      
        
          | gboolean bringing_nodes_online = FALSE |