ticket_id 480 include/crm/pengine/internal.h extern pe_ticket_t *ticket_new(const char *ticket_id, pe_working_set_t * data_set); ticket_id 420 lib/pacemaker/pcmk_injections.c find_ticket_state(pcmk__output_t *out, cib_t *the_cib, const char *ticket_id, ticket_id 435 lib/pacemaker/pcmk_injections.c if (ticket_id) { ticket_id 438 lib/pacemaker/pcmk_injections.c "[@" XML_ATTR_ID "=\"", ticket_id, "\"]", NULL); ticket_id 449 lib/pacemaker/pcmk_injections.c if (xml_has_children(xml_search) && (ticket_id != NULL)) { ticket_id 450 lib/pacemaker/pcmk_injections.c out->err(out, "Multiple ticket_states match ticket_id=%s", ticket_id); ticket_id 470 lib/pacemaker/pcmk_injections.c set_ticket_state_attr(pcmk__output_t *out, const char *ticket_id, ticket_id 478 lib/pacemaker/pcmk_injections.c rc = find_ticket_state(out, cib, ticket_id, &ticket_state_xml); ticket_id 483 lib/pacemaker/pcmk_injections.c ticket_id); ticket_id 492 lib/pacemaker/pcmk_injections.c crm_xml_add(ticket_state_xml, XML_ATTR_ID, ticket_id); ticket_id 687 lib/pacemaker/pcmk_injections.c char *ticket_id = (char *) iter->data; ticket_id 689 lib/pacemaker/pcmk_injections.c out->message(out, "inject-modify-ticket", "Granting", ticket_id); ticket_id 691 lib/pacemaker/pcmk_injections.c rc = set_ticket_state_attr(out, ticket_id, "granted", true, cib); ticket_id 696 lib/pacemaker/pcmk_injections.c char *ticket_id = (char *) iter->data; ticket_id 698 lib/pacemaker/pcmk_injections.c out->message(out, "inject-modify-ticket", "Revoking", ticket_id); ticket_id 700 lib/pacemaker/pcmk_injections.c rc = set_ticket_state_attr(out, ticket_id, "granted", false, cib); ticket_id 705 lib/pacemaker/pcmk_injections.c char *ticket_id = (char *) iter->data; ticket_id 707 lib/pacemaker/pcmk_injections.c out->message(out, "inject-modify-ticket", "Standby", ticket_id); ticket_id 709 lib/pacemaker/pcmk_injections.c rc = set_ticket_state_attr(out, ticket_id, "standby", true, cib); ticket_id 714 lib/pacemaker/pcmk_injections.c char *ticket_id = (char *) iter->data; ticket_id 716 lib/pacemaker/pcmk_injections.c out->message(out, "inject-modify-ticket", "Activating", ticket_id); ticket_id 718 lib/pacemaker/pcmk_injections.c rc = set_ticket_state_attr(out, ticket_id, "standby", false, cib); ticket_id 879 lib/pengine/unpack.c const char *ticket_id = NULL; ticket_id 887 lib/pengine/unpack.c ticket_id = ID(xml_ticket); ticket_id 888 lib/pengine/unpack.c if (pcmk__str_empty(ticket_id)) { ticket_id 892 lib/pengine/unpack.c crm_trace("Processing ticket state for %s", ticket_id); ticket_id 894 lib/pengine/unpack.c ticket = g_hash_table_lookup(data_set->tickets, ticket_id); ticket_id 896 lib/pengine/unpack.c ticket = ticket_new(ticket_id, data_set); ticket_id 939 lib/pengine/unpack.c crm_trace("Done with ticket state for %s", ticket_id); ticket_id 533 lib/pengine/utils.c ticket_new(const char *ticket_id, pe_working_set_t * data_set) ticket_id 537 lib/pengine/utils.c if (pcmk__str_empty(ticket_id)) { ticket_id 545 lib/pengine/utils.c ticket = g_hash_table_lookup(data_set->tickets, ticket_id); ticket_id 550 lib/pengine/utils.c crm_err("Cannot allocate ticket '%s'", ticket_id); ticket_id 554 lib/pengine/utils.c crm_trace("Creaing ticket entry for %s", ticket_id); ticket_id 556 lib/pengine/utils.c ticket->id = strdup(ticket_id); ticket_id 52 tools/crm_ticket.c gchar *ticket_id; ticket_id 229 tools/crm_ticket.c { "ticket", 't', 0, G_OPTION_ARG_STRING, &options.ticket_id, ticket_id 257 tools/crm_ticket.c find_ticket(gchar *ticket_id, pe_working_set_t * data_set) ticket_id 259 tools/crm_ticket.c return g_hash_table_lookup(data_set->tickets, ticket_id); ticket_id 341 tools/crm_ticket.c find_ticket_state(cib_t * the_cib, gchar *ticket_id, xmlNode ** ticket_state_xml) ticket_id 356 tools/crm_ticket.c if (ticket_id != NULL) { ticket_id 359 tools/crm_ticket.c "[@" XML_ATTR_ID "=\"", ticket_id, "\"]", NULL); ticket_id 373 tools/crm_ticket.c if (ticket_id) { ticket_id 374 tools/crm_ticket.c fprintf(stdout, "Multiple ticket_states match ticket_id=%s\n", ticket_id); ticket_id 384 tools/crm_ticket.c find_ticket_constraints(cib_t * the_cib, gchar *ticket_id, xmlNode ** ticket_cons_xml) ticket_id 404 tools/crm_ticket.c if (ticket_id != NULL) { ticket_id 406 tools/crm_ticket.c "[@" XML_TICKET_ATTR_TICKET "=\"", ticket_id, "\"]", ticket_id 426 tools/crm_ticket.c dump_ticket_xml(cib_t * the_cib, gchar *ticket_id) ticket_id 431 tools/crm_ticket.c rc = find_ticket_state(the_cib, ticket_id, &state_xml); ticket_id 451 tools/crm_ticket.c dump_constraints(cib_t * the_cib, gchar *ticket_id) ticket_id 457 tools/crm_ticket.c rc = find_ticket_constraints(the_cib, ticket_id, &cons_xml); ticket_id 473 tools/crm_ticket.c get_ticket_state_attr(gchar *ticket_id, const char *attr_name, const char **attr_value, ticket_id 481 tools/crm_ticket.c ticket = g_hash_table_lookup(data_set->tickets, ticket_id); ticket_id 495 tools/crm_ticket.c ticket_warning(gchar *ticket_id, const char *action) ticket_id 505 tools/crm_ticket.c ticket_id, ticket_id 511 tools/crm_ticket.c "Revoking '", ticket_id, "' can trigger the specified " ticket_id 512 tools/crm_ticket.c "'loss-policy'(s) relating to '", ticket_id, "'.\n\n" ticket_id 514 tools/crm_ticket.c "crm_ticket --ticket ", ticket_id, " --constraints\n\n" ticket_id 515 tools/crm_ticket.c "Otherwise before revoking '", ticket_id, "', " ticket_id 516 tools/crm_ticket.c "you may want to make '", ticket_id, "' " ticket_id 518 tools/crm_ticket.c "crm_ticket --ticket ", ticket_id, " --standby\n\n", ticket_id 524 tools/crm_ticket.c "If you really want to ", action, " '", ticket_id, "' ", ticket_id 534 tools/crm_ticket.c allow_modification(gchar *ticket_id) ticket_id 545 tools/crm_ticket.c ticket_warning(ticket_id, "grant"); ticket_id 549 tools/crm_ticket.c ticket_warning(ticket_id, "revoke"); ticket_id 558 tools/crm_ticket.c ticket_warning(ticket_id, "revoke"); ticket_id 567 tools/crm_ticket.c modify_ticket_state(gchar * ticket_id, cib_t * cib, pe_working_set_t * data_set) ticket_id 582 tools/crm_ticket.c rc = find_ticket_state(cib, ticket_id, &ticket_state_xml); ticket_id 584 tools/crm_ticket.c crm_debug("Found a match state for ticket: id=%s", ticket_id); ticket_id 600 tools/crm_ticket.c crm_xml_add(ticket_state_xml, XML_ATTR_ID, ticket_id); ticket_id 608 tools/crm_ticket.c ticket = find_ticket(ticket_id, data_set); ticket_id 641 tools/crm_ticket.c delete_ticket_state(gchar *ticket_id, cib_t * cib) ticket_id 647 tools/crm_ticket.c rc = find_ticket_state(cib, ticket_id, &ticket_state_xml); ticket_id 662 tools/crm_ticket.c fprintf(stdout, "Cleaned up %s\n", ticket_id); ticket_id 820 tools/crm_ticket.c if (options.ticket_id) { ticket_id 821 tools/crm_ticket.c pe_ticket_t *ticket = find_ticket(options.ticket_id, data_set); ticket_id 826 tools/crm_ticket.c "No such ticket '%s'", options.ticket_id); ticket_id 836 tools/crm_ticket.c rc = dump_ticket_xml(cib_conn, options.ticket_id); ticket_id 845 tools/crm_ticket.c rc = dump_constraints(cib_conn, options.ticket_id); ticket_id 856 tools/crm_ticket.c if (options.ticket_id == NULL) { ticket_id 863 tools/crm_ticket.c rc = get_ticket_state_attr(options.ticket_id, options.get_attr_name, &value, data_set); ticket_id 873 tools/crm_ticket.c if (options.ticket_id == NULL) { ticket_id 883 tools/crm_ticket.c ticket = find_ticket(options.ticket_id, data_set); ticket_id 887 tools/crm_ticket.c "No such ticket '%s'", options.ticket_id); ticket_id 892 tools/crm_ticket.c ticket_warning(options.ticket_id, "revoke"); ticket_id 898 tools/crm_ticket.c rc = delete_ticket_state(options.ticket_id, cib_conn); ticket_id 907 tools/crm_ticket.c if (options.ticket_id == NULL) { ticket_id 930 tools/crm_ticket.c if (!allow_modification(options.ticket_id)) { ticket_id 937 tools/crm_ticket.c rc = modify_ticket_state(options.ticket_id, cib_conn, data_set); ticket_id 957 tools/crm_ticket.c if (options.ticket_id == NULL) { ticket_id 1005 tools/crm_ticket.c g_free(options.ticket_id);