ticket_id 471 include/crm/pengine/internal.h extern pe_ticket_t *ticket_new(const char *ticket_id, pe_working_set_t * data_set); ticket_id 453 lib/pacemaker/pcmk_injections.c find_ticket_state(pcmk__output_t *out, cib_t *the_cib, const char *ticket_id, ticket_id 468 lib/pacemaker/pcmk_injections.c if (ticket_id) { ticket_id 471 lib/pacemaker/pcmk_injections.c "[@" XML_ATTR_ID "=\"", ticket_id, "\"]", NULL); ticket_id 482 lib/pacemaker/pcmk_injections.c if (xml_has_children(xml_search) && (ticket_id != NULL)) { ticket_id 483 lib/pacemaker/pcmk_injections.c out->err(out, "Multiple ticket_states match ticket_id=%s", ticket_id); ticket_id 503 lib/pacemaker/pcmk_injections.c set_ticket_state_attr(pcmk__output_t *out, const char *ticket_id, ticket_id 511 lib/pacemaker/pcmk_injections.c rc = find_ticket_state(out, cib, ticket_id, &ticket_state_xml); ticket_id 516 lib/pacemaker/pcmk_injections.c ticket_id); ticket_id 525 lib/pacemaker/pcmk_injections.c crm_xml_add(ticket_state_xml, XML_ATTR_ID, ticket_id); ticket_id 720 lib/pacemaker/pcmk_injections.c const char *ticket_id = (const char *) iter->data; ticket_id 722 lib/pacemaker/pcmk_injections.c out->message(out, "inject-modify-ticket", "Granting", ticket_id); ticket_id 724 lib/pacemaker/pcmk_injections.c rc = set_ticket_state_attr(out, ticket_id, "granted", true, cib); ticket_id 729 lib/pacemaker/pcmk_injections.c const char *ticket_id = (const char *) iter->data; ticket_id 731 lib/pacemaker/pcmk_injections.c out->message(out, "inject-modify-ticket", "Revoking", ticket_id); ticket_id 733 lib/pacemaker/pcmk_injections.c rc = set_ticket_state_attr(out, ticket_id, "granted", false, cib); ticket_id 738 lib/pacemaker/pcmk_injections.c const char *ticket_id = (const char *) iter->data; ticket_id 740 lib/pacemaker/pcmk_injections.c out->message(out, "inject-modify-ticket", "Standby", ticket_id); ticket_id 742 lib/pacemaker/pcmk_injections.c rc = set_ticket_state_attr(out, ticket_id, "standby", true, cib); ticket_id 747 lib/pacemaker/pcmk_injections.c const char *ticket_id = (const char *) iter->data; ticket_id 749 lib/pacemaker/pcmk_injections.c out->message(out, "inject-modify-ticket", "Activating", ticket_id); ticket_id 751 lib/pacemaker/pcmk_injections.c rc = set_ticket_state_attr(out, ticket_id, "standby", false, cib); ticket_id 885 lib/pengine/unpack.c const char *ticket_id = NULL; ticket_id 893 lib/pengine/unpack.c ticket_id = ID(xml_ticket); ticket_id 894 lib/pengine/unpack.c if (pcmk__str_empty(ticket_id)) { ticket_id 898 lib/pengine/unpack.c crm_trace("Processing ticket state for %s", ticket_id); ticket_id 900 lib/pengine/unpack.c ticket = g_hash_table_lookup(data_set->tickets, ticket_id); ticket_id 902 lib/pengine/unpack.c ticket = ticket_new(ticket_id, data_set); ticket_id 945 lib/pengine/unpack.c crm_trace("Done with ticket state for %s", ticket_id); ticket_id 547 lib/pengine/utils.c ticket_new(const char *ticket_id, pe_working_set_t * data_set) ticket_id 551 lib/pengine/utils.c if (pcmk__str_empty(ticket_id)) { ticket_id 559 lib/pengine/utils.c ticket = g_hash_table_lookup(data_set->tickets, ticket_id); ticket_id 564 lib/pengine/utils.c crm_err("Cannot allocate ticket '%s'", ticket_id); ticket_id 568 lib/pengine/utils.c crm_trace("Creaing ticket entry for %s", ticket_id); ticket_id 570 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 1001 tools/crm_ticket.c g_free(options.ticket_id);