pacemaker  2.1.7-0f7f88312f
Scalable High-Availability cluster resource manager
Enumerations | Functions
pcmk_sched_tickets.c File Reference
#include <crm_internal.h>
#include <stdbool.h>
#include <glib.h>
#include <crm/crm.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 22 of file pcmk_sched_tickets.c.

Function Documentation

◆ pcmk__require_promotion_tickets()

void pcmk__require_promotion_tickets ( pcmk_resource_t rsc)

Definition at line 520 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 431 of file pcmk_sched_tickets.c.