windtunnel.utils module

“This module contains utility functions for the Windtunnel application.

windtunnel.utils.get_machine_group(machine_group_name: str | None = None)[source]

Returns the machine group based on the provided name.

Parameters:

machine_group_name – Name of the machine group. If not provided, the default machine group will be returned.

windtunnel.utils.get_number_subdomains(machine_group: MachineGroup)[source]

Returns the number of subdomains based on the machine group. We halve the number of vCPUs to determine the number of subdomains.

Parameters:

machine_group – The machine group to determine the number of subdomains.