container 790 daemons/controld/controld_execd.c const char *container = g_hash_table_lookup(entry->last->params, CRM_META"_"XML_RSC_ATTR_CONTAINER); container 791 daemons/controld/controld_execd.c if (container) { container 792 daemons/controld/controld_execd.c crm_trace("Resource %s is a part of container resource %s", entry->id, container); container 793 daemons/controld/controld_execd.c crm_xml_add(xml_rsc, XML_RSC_ATTR_CONTAINER, container); container 2481 daemons/controld/controld_execd.c const char *container = NULL; container 2498 daemons/controld/controld_execd.c container = g_hash_table_lookup(op->params, CRM_META"_"XML_RSC_ATTR_CONTAINER); container 2500 daemons/controld/controld_execd.c if (container) { container 2501 daemons/controld/controld_execd.c crm_trace("Resource %s is a part of container resource %s", op->rsc_id, container); container 2502 daemons/controld/controld_execd.c crm_xml_add(iter, XML_RSC_ATTR_CONTAINER, container); container 381 include/crm/pengine/pe_types.h pe_resource_t *container; container 1508 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *container = node->details->remote_rsc->container; container 1523 lib/pacemaker/pcmk_sched_allocate.c if (container) { container 1524 lib/pacemaker/pcmk_sched_allocate.c stop = find_first_action(container->actions, NULL, CRMD_ACTION_STOP, NULL); container 1526 lib/pacemaker/pcmk_sched_allocate.c if (find_first_action(container->actions, NULL, CRMD_ACTION_START, NULL)) { container 1554 lib/pacemaker/pcmk_sched_allocate.c container->id, stop->id); container 1923 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *container = NULL; container 1933 lib/pacemaker/pcmk_sched_allocate.c container = remote_rsc->container; container 1934 lib/pacemaker/pcmk_sched_allocate.c CRM_ASSERT(container); container 1936 lib/pacemaker/pcmk_sched_allocate.c if (pcmk_is_set(container->flags, pe_rsc_failed)) { container 1944 lib/pacemaker/pcmk_sched_allocate.c pcmk_is_set(container->flags, pe_rsc_failed)? "failed " : "", container 1945 lib/pacemaker/pcmk_sched_allocate.c container->id); container 1958 lib/pacemaker/pcmk_sched_allocate.c order_start_then_action(container, action, pe_order_implies_then, container 1968 lib/pacemaker/pcmk_sched_allocate.c if (pcmk_is_set(container->flags, pe_rsc_failed)) { container 2301 lib/pacemaker/pcmk_sched_allocate.c if (remote->container) { container 2392 lib/pacemaker/pcmk_sched_allocate.c if (rh_rsc && lh_rsc->container == rh_rsc) { container 3045 lib/pacemaker/pcmk_sched_allocate.c node_name = crm_strdup_printf("%s (resource: %s)", action->node->details->uname, action->node->details->remote_rsc->container->id); container 50 lib/pacemaker/pcmk_sched_bundle.c containers = g_list_append(containers, replica->container); container 140 lib/pacemaker/pcmk_sched_bundle.c container_host = replica->container->allocated_to; container 224 lib/pacemaker/pcmk_sched_bundle.c if (replica->container) { container 225 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->create_actions(replica->container, container 288 lib/pacemaker/pcmk_sched_bundle.c CRM_ASSERT(replica->container); container 290 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->internal_constraints(replica->container, container 293 lib/pacemaker/pcmk_sched_bundle.c order_start_start(rsc, replica->container, container 300 lib/pacemaker/pcmk_sched_bundle.c order_stop_stop(rsc, replica->container, container 302 lib/pacemaker/pcmk_sched_bundle.c new_rsc_order(replica->container, RSC_START, rsc, RSC_STARTED, container 304 lib/pacemaker/pcmk_sched_bundle.c new_rsc_order(replica->container, RSC_STOP, rsc, RSC_STOPPED, container 311 lib/pacemaker/pcmk_sched_bundle.c new_rsc_order(replica->ip, RSC_START, replica->container, RSC_START, container 313 lib/pacemaker/pcmk_sched_bundle.c new_rsc_order(replica->container, RSC_STOP, replica->ip, RSC_STOP, container 317 lib/pacemaker/pcmk_sched_bundle.c replica->container, NULL, NULL, true, container 385 lib/pacemaker/pcmk_sched_bundle.c if (is_child_compatible(replica->container, candidate, filter, current)) { container 387 lib/pacemaker/pcmk_sched_bundle.c rsc_lh->id, replica->container->id, container 389 lib/pacemaker/pcmk_sched_bundle.c return replica->container; container 530 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->rsc_colocation_rh(rsc_lh, container 531 lib/pacemaker/pcmk_sched_bundle.c replica->container, container 535 lib/pacemaker/pcmk_sched_bundle.c pe_node_t *chosen = replica->container->fns->location(replica->container, container 539 lib/pacemaker/pcmk_sched_bundle.c || is_set_recursive(replica->container, pe_rsc_block, TRUE)) { container 626 lib/pacemaker/pcmk_sched_bundle.c replica_for_container(pe_resource_t *rsc, pe_resource_t *container, container 638 lib/pacemaker/pcmk_sched_bundle.c && (container == replica->container) container 887 lib/pacemaker/pcmk_sched_bundle.c if (replica->container) { container 888 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->rsc_location(replica->container, container 923 lib/pacemaker/pcmk_sched_bundle.c if (replica->remote && replica->container container 969 lib/pacemaker/pcmk_sched_bundle.c if (replica->container) { container 970 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->expand(replica->container, data_set); container 1004 lib/pacemaker/pcmk_sched_bundle.c if (replica->container) { container 1005 lib/pacemaker/pcmk_sched_bundle.c bool created = replica->container->cmds->create_probe(replica->container, container 1030 lib/pacemaker/pcmk_sched_bundle.c && (other->container != NULL)) { container 1032 lib/pacemaker/pcmk_sched_bundle.c custom_action_order(replica->container, container 1033 lib/pacemaker/pcmk_sched_bundle.c pcmk__op_key(replica->container->id, RSC_STATUS, 0), container 1034 lib/pacemaker/pcmk_sched_bundle.c NULL, other->container, container 1035 lib/pacemaker/pcmk_sched_bundle.c pcmk__op_key(other->container->id, RSC_START, 0), container 1043 lib/pacemaker/pcmk_sched_bundle.c if (replica->container && replica->remote container 1062 lib/pacemaker/pcmk_sched_bundle.c custom_action_order(replica->container, container 1063 lib/pacemaker/pcmk_sched_bundle.c pcmk__op_key(replica->container->id, RSC_START, 0), container 1093 lib/pacemaker/pcmk_sched_bundle.c if (replica->container) { container 1094 lib/pacemaker/pcmk_sched_bundle.c LogActions(replica->container, data_set); container 804 lib/pacemaker/pcmk_sched_graph.c && (action->node->details->remote_rsc->container == NULL) container 1332 lib/pacemaker/pcmk_sched_graph.c host = pe__current_node(action->node->details->remote_rsc->container); container 1339 lib/pacemaker/pcmk_sched_graph.c host = action->node->details->remote_rsc->container->allocated_to; container 1777 lib/pacemaker/pcmk_sched_graph.c && (input->action->node->details->remote_rsc->container == action->rsc)) { container 1536 lib/pacemaker/pcmk_sched_native.c if (check_unfencing || check_utilization || rsc->container) { container 1620 lib/pacemaker/pcmk_sched_native.c if (rsc->container) { container 1631 lib/pacemaker/pcmk_sched_native.c rsc_avoids_remote_nodes(rsc->container); container 1640 lib/pacemaker/pcmk_sched_native.c new_rsc_order(rsc->container, RSC_STATUS, rsc, RSC_STOP, container 1650 lib/pacemaker/pcmk_sched_native.c } else if (rsc->container->is_remote_node) { container 1651 lib/pacemaker/pcmk_sched_native.c remote_rsc = rsc->container; container 1654 lib/pacemaker/pcmk_sched_native.c rsc->container); container 1677 lib/pacemaker/pcmk_sched_native.c rsc->id, rsc->container->id); container 1679 lib/pacemaker/pcmk_sched_native.c custom_action_order(rsc->container, container 1680 lib/pacemaker/pcmk_sched_native.c pcmk__op_key(rsc->container->id, RSC_START, 0), container 1687 lib/pacemaker/pcmk_sched_native.c rsc->container, container 1688 lib/pacemaker/pcmk_sched_native.c pcmk__op_key(rsc->container->id, RSC_STOP, 0), container 1697 lib/pacemaker/pcmk_sched_native.c rsc->container, NULL, NULL, true, data_set); container 2695 lib/pacemaker/pcmk_sched_native.c } else if ((rsc->container) && (!rsc->is_remote_node)) { container 2696 lib/pacemaker/pcmk_sched_native.c pe_rsc_trace(rsc, "Skipping %s: it is within container %s", rsc->id, rsc->container->id); container 2743 lib/pacemaker/pcmk_sched_native.c pe_resource_t *remote = node->details->remote_rsc->container; container 3211 lib/pacemaker/pcmk_sched_native.c if (parent->container) { container 3212 lib/pacemaker/pcmk_sched_native.c crm_xml_add(xml, CRM_META"_"XML_RSC_ATTR_CONTAINER, parent->container->id); container 103 lib/pacemaker/pcmk_sched_notif.c && node->details->remote_rsc->container container 104 lib/pacemaker/pcmk_sched_notif.c && node->details->remote_rsc->container->running_on) { container 105 lib/pacemaker/pcmk_sched_notif.c node = pe__current_node(node->details->remote_rsc->container); container 160 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *guest = guest_node->details->remote_rsc->container; container 222 lib/pacemaker/pcmk_sched_promotable.c rsc->id, node->details->remote_rsc->container->id); container 243 lib/pacemaker/pcmk_sched_transition.c xmlNode *container = NULL; container 294 lib/pacemaker/pcmk_sched_transition.c container = first_named_child(lrm, XML_LRM_TAG_RESOURCES); container 295 lib/pacemaker/pcmk_sched_transition.c if (container == NULL) { container 296 lib/pacemaker/pcmk_sched_transition.c container = create_xml_node(lrm, XML_LRM_TAG_RESOURCES); container 299 lib/pacemaker/pcmk_sched_transition.c cib_resource = create_xml_node(container, XML_LRM_TAG_RESOURCE); container 328 lib/pengine/bundle.c if (!common_unpack(xml_container, &replica->container, parent, data_set)) { container 331 lib/pengine/bundle.c parent->children = g_list_append(parent->children, replica->container); container 494 lib/pengine/bundle.c if (!common_unpack(xml_container, &replica->container, parent, container 498 lib/pengine/bundle.c parent->children = g_list_append(parent->children, replica->container); container 664 lib/pengine/bundle.c if (!common_unpack(xml_container, &replica->container, parent, data_set)) { container 667 lib/pengine/bundle.c parent->children = g_list_append(parent->children, replica->container); container 734 lib/pengine/bundle.c xml_remote = pe_create_remote_xml(NULL, id, replica->container->id, container 816 lib/pengine/bundle.c replica->remote->container = replica->container; container 985 lib/pengine/bundle.c node = replica->container->allocated_to; container 990 lib/pengine/bundle.c node = pe__current_node(replica->container); container 1359 lib/pengine/bundle.c rsc_active = replica_resource_active(replica->container, all); container 1465 lib/pengine/bundle.c print_rsc_in_list(replica->container, child_text, options, print_data); container 1505 lib/pengine/bundle.c if (pcmk__rsc_filtered_by_node(replica->container, only_node)) { container 1513 lib/pengine/bundle.c print_ctnr = !replica->container->fns->is_filtered(replica->container, only_rsc, print_everything); container 1550 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->container->xml), show_opts, container 1551 lib/pengine/bundle.c replica->container, only_node, only_rsc); container 1579 lib/pengine/bundle.c rsc = replica->container; container 1587 lib/pengine/bundle.c rsc_printable_id(replica->container)); container 1627 lib/pengine/bundle.c if (pcmk__rsc_filtered_by_node(replica->container, only_node)) { container 1635 lib/pengine/bundle.c print_ctnr = !replica->container->fns->is_filtered(replica->container, only_rsc, print_everything); container 1667 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->container->xml), container 1668 lib/pengine/bundle.c new_show_opts, replica->container, only_node, only_rsc); container 1688 lib/pengine/bundle.c pe__bundle_replica_output_html(out, replica, pe__current_node(replica->container), container 1707 lib/pengine/bundle.c rsc = replica->container; container 1715 lib/pengine/bundle.c rsc_printable_id(replica->container)); container 1755 lib/pengine/bundle.c if (pcmk__rsc_filtered_by_node(replica->container, only_node)) { container 1763 lib/pengine/bundle.c print_ctnr = !replica->container->fns->is_filtered(replica->container, only_rsc, print_everything); container 1797 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->container->xml), container 1798 lib/pengine/bundle.c new_show_opts, replica->container, only_node, only_rsc); container 1816 lib/pengine/bundle.c pe__bundle_replica_output_text(out, replica, pe__current_node(replica->container), container 1836 lib/pengine/bundle.c rsc = replica->container; container 1844 lib/pengine/bundle.c rsc_printable_id(replica->container)); container 1851 lib/pengine/bundle.c node = pe__current_node(replica->container); container 1902 lib/pengine/bundle.c print_rsc_in_list(replica->container, child_text, options, print_data); container 1941 lib/pengine/bundle.c if (replica->container) { container 1942 lib/pengine/bundle.c free_xml(replica->container->xml); container 1943 lib/pengine/bundle.c replica->container->xml = NULL; container 1944 lib/pengine/bundle.c replica->container->fns->free(replica->container); container 1945 lib/pengine/bundle.c replica->container = NULL; container 2033 lib/pengine/bundle.c if (replica->container) { container 2034 lib/pengine/bundle.c replica->container->fns->count(replica->container); container 2062 lib/pengine/bundle.c } else if (!replica->container->fns->is_filtered(replica->container, only_rsc, FALSE)) { container 621 lib/pengine/common.c CRM_ASSERT(node->details->remote_rsc->container); container 623 lib/pengine/common.c if(node->details->remote_rsc->container->running_on) { container 624 lib/pengine/common.c pe_node_t *host = node->details->remote_rsc->container->running_on->data; container 630 lib/pengine/common.c rsc->id, name, node->details->remote_rsc->container->id); container 71 lib/pengine/native.c && node->details->remote_rsc->container) { container 72 lib/pengine/native.c GList *gIter = node->details->remote_rsc->container->running_on; container 1490 lib/pengine/pe_output.c crm_xml_add(xml_node, "id_as_resource", node->details->remote_rsc->container->id); container 29 lib/pengine/remote.c || (node->details->remote_rsc->container == NULL)); container 37 lib/pengine/remote.c && (node->details->remote_rsc->container != NULL); container 132 lib/pengine/remote.c if (rsc->is_remote_node && (rsc->container != NULL)) { container 78 lib/pengine/unpack.c node->details->remote_rsc->container == NULL && container 104 lib/pengine/unpack.c pe_resource_t *rsc = node->details->remote_rsc->container; container 615 lib/pengine/unpack.c pe_resource_t *container = pe_find_resource(data_set->resources, container_id); container 617 lib/pengine/unpack.c if (container) { container 618 lib/pengine/unpack.c rsc->container = container; container 619 lib/pengine/unpack.c pe__set_resource_flags(container, pe_rsc_is_container); container 620 lib/pengine/unpack.c container->fillers = g_list_append(container->fillers, rsc); container 726 lib/pengine/unpack.c if (new_rsc->container == NULL) { container 1193 lib/pengine/unpack.c || (rsc->container->role != RSC_ROLE_STARTED)) { container 1284 lib/pengine/unpack.c pe_resource_t *container = item->data; container 1285 lib/pengine/unpack.c pe_node_t *node = pe__current_node(container); container 1288 lib/pengine/unpack.c stop_action(container, node, FALSE); container 1455 lib/pengine/unpack.c pe_resource_t *container = NULL; container 1467 lib/pengine/unpack.c container = rsc->container; container 1469 lib/pengine/unpack.c if (container && pcmk__list_of_1(rsc->running_on)) { container 1476 lib/pengine/unpack.c (container? "Guest" : "Remote"), this_node->details->id); container 1483 lib/pengine/unpack.c (container? "Guest" : "Remote"), this_node->details->id); container 1488 lib/pengine/unpack.c if(container && pcmk_is_set(container->flags, pe_rsc_failed)) { container 1496 lib/pengine/unpack.c (container? "Guest" : "Remote"), this_node->details->id); container 1500 lib/pengine/unpack.c || (container && container->role == RSC_ROLE_STOPPED)) { container 1503 lib/pengine/unpack.c (container? "Guest" : "Remote"), this_node->details->id); container 2089 lib/pengine/unpack.c if (rsc->container && pe_rsc_is_bundled(rsc)) { container 2096 lib/pengine/unpack.c rsc->container); container 2097 lib/pengine/unpack.c } else if (rsc->container) { container 2098 lib/pengine/unpack.c stop_action(rsc->container, node, FALSE); container 2446 lib/pengine/unpack.c pe_resource_t *container; container 2460 lib/pengine/unpack.c container = pe_find_resource(data_set->resources, container_id); container 2461 lib/pengine/unpack.c if (container == NULL) { container 2468 lib/pengine/unpack.c rsc->container != NULL) { container 2474 lib/pengine/unpack.c rsc->container = container; container 2475 lib/pengine/unpack.c container->fillers = g_list_append(container->fillers, rsc); container 29 lib/pengine/utils.c static void unpack_operation(pe_action_t * action, xmlNode * xml_obj, pe_resource_t * container, container 96 lib/pengine/utils.c pe_resource_t *rsc = node->details->remote_rsc->container; container 505 lib/pengine/utils.c unpack_operation(action, action->op_entry, rsc->container, data_set, container 953 lib/pengine/utils.c unpack_operation(pe_action_t * action, xmlNode * xml_obj, pe_resource_t * container, container 1145 lib/pengine/utils.c if (container) { container 1163 lib/pengine/utils.c if (value == NULL && container) { container 50 lib/pengine/variant.h pe_resource_t *container;