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

Function stage3

pengine/allocate.c:944–957  ·  view source on GitHub ↗

* Create internal resource constraints before allocation */

Source from the content-addressed store, hash-verified

942 * Create internal resource constraints before allocation
943 */
944gboolean
945stage3(pe_working_set_t * data_set)
946{
947
948 GListPtr gIter = data_set->resources;
949
950 for (; gIter != NULL; gIter = gIter->next) {
951 resource_t *rsc = (resource_t *) gIter->data;
952
953 rsc->cmds->internal_constraints(rsc, data_set);
954 }
955
956 return TRUE;
957}
958
959/*
960 * Check for orphaned or redefined actions

Callers 1

do_calculationsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected