MCPcopy Create free account
hub / github.com/ClusterLabs/pacemaker / native_expand

Function native_expand

pengine/native.c:1737–1756  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1735}
1736
1737void
1738native_expand(resource_t * rsc, pe_working_set_t * data_set)
1739{
1740 GListPtr gIter = NULL;
1741
1742 pe_rsc_trace(rsc, "Processing actions from %s", rsc->id);
1743
1744 for (gIter = rsc->actions; gIter != NULL; gIter = gIter->next) {
1745 action_t *action = (action_t *) gIter->data;
1746
1747 crm_trace("processing action %d for rsc=%s", action->id, rsc->id);
1748 graph_element_from_action(action, data_set);
1749 }
1750
1751 for (gIter = rsc->children; gIter != NULL; gIter = gIter->next) {
1752 resource_t *child_rsc = (resource_t *) gIter->data;
1753
1754 child_rsc->cmds->expand(child_rsc, data_set);
1755 }
1756}
1757
1758void
1759

Callers 2

clone_expandFunction · 0.85
group_expandFunction · 0.85

Calls 1

Tested by

no test coverage detected