4.1.6. Resource Groups#

simbricks.cli.commands.rg.create(label: str, available_cores: int, available_memory: int)#

Create a resource group describing a runners available resources.

simbricks.cli.commands.rg.update(rg_id: str, label: ~typing.Annotated[str | None, <typer.models.OptionInfo object at 0x7ff20cfab8c0>] = None, available_cores: ~typing.Annotated[int | None, <typer.models.OptionInfo object at 0x7ff20cfab980>] = None, available_memory: ~typing.Annotated[int | None, <typer.models.OptionInfo object at 0x7ff20cfaba40>] = None, cores_left: ~typing.Annotated[int | None, <typer.models.OptionInfo object at 0x7ff20cfabb00>] = None, memory_left: ~typing.Annotated[int | None, <typer.models.OptionInfo object at 0x7ff20cfabbc0>] = None)#

Create a resource group describing a runners available resources.

simbricks.cli.commands.rg.show(rg_id: str)#

List a resource group.

simbricks.cli.commands.rg.ls(limit: ~typing.Annotated[int, <typer.models.OptionInfo object at 0x7ff20cfabd10>] = 20, fetch_all: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7ff20cfabda0>] = False)#

List available resource groups.

Pages interactively when there is more than one page and the output is a terminal. Left and right change page, g jumps back to the first page, r reloads the current one and q quits.

simbricks.cli.commands.rg.peek(limit: ~typing.Annotated[int, <typer.models.OptionInfo object at 0x7ff20cfabe90>] = 5)#

Show the most recent resource groups, 5 by default.

simbricks.cli.commands.rg.rm(rg_id: str)#

Delete an individual runner.