pacemaker 3.0.1-16e74fc4da
Scalable High-Availability cluster resource manager
Loading...
Searching...
No Matches
pcmk_sched_tickets.c File Reference
#include <crm_internal.h>
#include <stdbool.h>
#include <glib.h>
#include <crm/crm.h>
#include <crm/common/scheduler.h>
#include <crm/common/scheduler_internal.h>
#include <crm/pengine/status.h>
#include <pacemaker-internal.h>
#include "libpacemaker_private.h"
Include dependency graph for pcmk_sched_tickets.c:

Go to the source code of this file.

Enumerations

enum  loss_ticket_policy { loss_ticket_stop , loss_ticket_demote , loss_ticket_fence , loss_ticket_freeze }
 

Functions

void pcmk__unpack_rsc_ticket (xmlNode *xml_obj, pcmk_scheduler_t *scheduler)
 
void pcmk__require_promotion_tickets (pcmk_resource_t *rsc)
 

Enumeration Type Documentation

◆ loss_ticket_policy

Enumerator
loss_ticket_stop 
loss_ticket_demote 
loss_ticket_fence 
loss_ticket_freeze 

Definition at line 23 of file pcmk_sched_tickets.c.

Function Documentation

◆ pcmk__require_promotion_tickets()

void pcmk__require_promotion_tickets ( pcmk_resource_t * rsc)

Definition at line 507 of file pcmk_sched_tickets.c.

◆ pcmk__unpack_rsc_ticket()

void pcmk__unpack_rsc_ticket ( xmlNode * xml_obj,
pcmk_scheduler_t * scheduler )

Definition at line 416 of file pcmk_sched_tickets.c.