hooks#
- fill_default_node_local_pool(config: CanaryConfig) dict[str, Any]#
Initialize the default single-node resource pool
- fill_pool_from_file(config: CanaryConfig) dict[str, Any] | None#
- finalize_resource_pool(config: CanaryConfig, pool: ResourcePool) None#
Apply command-line resource-pool modifiers.
Semantics:
-r nodes=Nsets the number of topology nodes.-r TYPE=Nsets N instances of TYPE on each node.-r slots_per_TYPE=Nmultiplies slots on each resource instance of TYPE by N.--oversubscribe TYPE=Nis equivalent toslots_per_TYPE=N.
- resource_t(arg: str) dict[str, int]#
- class update_action(option_strings, dest, nargs=None, const=None, default=None, type=None, choices=None, required=False, help=None, metavar=None)#
Bases:
Action