if(symetric_cluster) { rsc_to_node_t *new_con = rsc2node_new( "symetric_default", new_rsc, 0, TRUE, NULL, placement_constraints); new_con->node_list_rh = node_list_dup(all_nodes, FALSE); }
unpack_resources(crm_data_t * xml_resources,		 GListPtr *resources,		 GListPtr *actions,		 GListPtr *ordering_constraints,		 GListPtr all_nodes){	crm_verbose("Begining unpack...");	xml_child_iter(		xml_resources, xml_obj, NULL,		resource_t *new_rsc = NULL;		if(common_unpack(xml_obj, &new_rsc)) {			*resources = g_list_append(*resources, new_rsc);			crm_devel_action(				print_resource("Added", new_rsc, FALSE));		} else {			crm_err("Failed unpacking resource %s",				crm_element_value(xml_obj, XML_ATTR_ID));		}		);		*resources = g_list_sort(*resources, sort_rsc_priority);	return TRUE;}