wrench::ActivateAllNodePolicy

class ActivateAllNodePolicy : public wrench::ServerlessNodeScalingPolicy

A serverless scheduling node activation policy that activates all compute nodes.

Public Functions

virtual std::pair<unsigned long, std::set<std::shared_ptr<ServerlessComputeNode>>> makeNodeScalingPlan(const std::shared_ptr<ServerlessSchedulingState> &scheduling_state) override

Select a set of candidate nodes for an invocation.

Parameters:

scheduling_state – the scheduling state

Returns:

a set of compute nodes