Toolbox Documentation

cluster

Commands relating to cluster scaling, upgrading and environment capture

configure

Commands relating to TOPSAIL testing configuration
  • apply Applies a preset (or a list of presets) to the current configuration file

  • enter Enter into a custom configuration file for a TOPSAIL project

  • get Gives the value of a given key, in the current configuration file

  • name Gives the name of the current configuration

container_bench

Commands relating to the performance evaluation
  • artifact_add_benchmark Runs the artifact add benchmark with the given runtime properties of exec_props: binary_path: path to the container engine binary (e.g., docker, podman) rootfull: whether to run the benchmark as root user additional_args: additional arguments to pass to the container engine binary exec_time_path: path to the exec_time.py script

  • capture_container_engine_info Captures the info of the container engine

  • capture_system_state Captures the state of the remote Mac system

  • commit_container_benchmark Runs the commit container benchmark with the given runtime properties of exec_props: binary_path: path to the container engine binary (e.g., docker, podman) rootfull: whether to run the benchmark as root user additional_args: additional arguments to pass to the container engine binary exec_time_path: path to the exec_time.py script

  • create_container_benchmark Runs the create benchmark with the given runtime properties of exec_props: binary_path: path to the container engine binary (e.g., docker, podman) rootfull: whether to run the benchmark as root user additional_args: additional arguments to pass to the container engine binary exec_time_path: path to the exec_time.py script

  • exec_container_benchmark Runs the exec container benchmark with the given runtime properties of exec_props: binary_path: path to the container engine binary (e.g., docker, podman) rootfull: whether to run the benchmark as root user additional_args: additional arguments to pass to the container engine binary exec_time_path: path to the exec_time.py script

  • image_build_large_build_context_benchmark Runs the image build large build context benchmark with the given runtime properties of exec_props: binary_path: path to the container engine binary (e.g., docker, podman) rootfull: whether to run the benchmark as root user additional_args: additional arguments to pass to the container engine binary exec_time_path: path to the exec_time.py script

  • iperf_host_to_container_benchmark Runs the iperf3 benchmark from host to container with the given runtime properties of exec_props: binary_path: path to the container engine binary (e.g., docker, podman) rootfull: whether to run the benchmark as root user additional_args: additional arguments to pass to the container engine binary exec_time_path: path to the exec_time.py script

  • iperf_net_bridge_benchmark Runs the iperf3 benchmark using network bridge between containers with the given runtime properties of exec_props: binary_path: path to the container engine binary (e.g., docker, podman) rootfull: whether to run the benchmark as root user additional_args: additional arguments to pass to the container engine binary exec_time_path: path to the exec_time.py script

  • iperf_net_host_benchmark Runs the iperf3 benchmark using host network between containers with the given runtime properties of exec_props: binary_path: path to the container engine binary (e.g., docker, podman) rootfull: whether to run the benchmark as root user additional_args: additional arguments to pass to the container engine binary exec_time_path: path to the exec_time.py script

  • list_images_benchmark Runs the list images benchmark with the given runtime properties of exec_props: binary_path: path to the container engine binary (e.g., docker, podman) rootfull: whether to run the benchmark as root user additional_args: additional arguments to pass to the container engine binary exec_time_path: path to the exec_time.py script

  • load_image_benchmark Runs the load image benchmark with the given runtime properties of exec_props: binary_path: path to the container engine binary (e.g., docker, podman) rootfull: whether to run the benchmark as root user additional_args: additional arguments to pass to the container engine binary exec_time_path: path to the exec_time.py script

  • parallel_remove_image_benchmark Runs the parallel remove image benchmark with the given runtime properties of exec_props: binary_path: path to the container engine binary (e.g., docker, podman) rootfull: whether to run the benchmark as root user additional_args: additional arguments to pass to the container engine binary exec_time_path: path to the exec_time.py script

  • prepare_benchmark_script_on_remote Prepares the benchmark script on the remote machine

  • pull_image_benchmark Runs the pull image benchmark with the given runtime properties of exec_props: binary_path: path to the container engine binary (e.g., docker, podman) rootfull: whether to run the benchmark as root user additional_args: additional arguments to pass to the container engine binary exec_time_path: path to the exec_time.py script

  • remove_container_benchmark Runs the remove container benchmark with the given runtime properties of exec_props: binary_path: path to the container engine binary (e.g., docker, podman) rootfull: whether to run the benchmark as root user additional_args: additional arguments to pass to the container engine binary exec_time_path: path to the exec_time.py script

  • remove_image_benchmark Runs the remove image benchmark with the given runtime properties of exec_props: binary_path: path to the container engine binary (e.g., docker, podman) rootfull: whether to run the benchmark as root user additional_args: additional arguments to pass to the container engine binary exec_time_path: path to the exec_time.py script

  • run_container_benchmark Runs the run container benchmark with the given runtime properties of exec_props: binary_path: path to the container engine binary (e.g., docker, podman) rootfull: whether to run the benchmark as root user additional_args: additional arguments to pass to the container engine binary exec_time_path: path to the exec_time.py script

  • save_image_benchmark Runs the save image benchmark with the given runtime properties of exec_props: binary_path: path to the container engine binary (e.g., docker, podman) rootfull: whether to run the benchmark as root user additional_args: additional arguments to pass to the container engine binary exec_time_path: path to the exec_time.py script

  • start_container_benchmark Runs the start benchmark with the given runtime properties of exec_props: binary_path: path to the container engine binary (e.g., docker, podman) rootfull: whether to run the benchmark as root user additional_args: additional arguments to pass to the container engine binary exec_time_path: path to the exec_time.py script

  • sysbench_cpu_benchmark Runs the sysbench CPU benchmark with the given runtime properties of exec_props: binary_path: path to the container engine binary (e.g., docker, podman) rootfull: whether to run the benchmark as root user additional_args: additional arguments to pass to the container engine binary exec_time_path: path to the exec_time.py script

  • sysbench_fileio_container_benchmark Runs the sysbench fileIO container benchmark with the given runtime properties of exec_props: binary_path: path to the container engine binary (e.g., docker, podman) rootfull: whether to run the benchmark as root user additional_args: additional arguments to pass to the container engine binary exec_time_path: path to the exec_time.py script

  • sysbench_fileio_mount_benchmark Runs the sysbench fileIO mount benchmark with the given runtime properties of exec_props: binary_path: path to the container engine binary (e.g., docker, podman) rootfull: whether to run the benchmark as root user additional_args: additional arguments to pass to the container engine binary exec_time_path: path to the exec_time.py script

  • sysbench_memory_read_benchmark Runs the sysbench memory read benchmark with the given runtime properties of exec_props: binary_path: path to the container engine binary (e.g., docker, podman) rootfull: whether to run the benchmark as root user additional_args: additional arguments to pass to the container engine binary exec_time_path: path to the exec_time.py script

  • sysbench_memory_write_benchmark Runs the sysbench memory write benchmark with the given runtime properties of exec_props: binary_path: path to the container engine binary (e.g., docker, podman) rootfull: whether to run the benchmark as root user additional_args: additional arguments to pass to the container engine binary exec_time_path: path to the exec_time.py script

crc

Commands relating to CRC
  • refresh_image Update a CRC AMI image with a given SNC repo commit

fine_tuning

Commands relating to RHOAI scheduler testing

run

Run `topsail` toolbox commands from a single config file.

gpu_operator

Commands for deploying, building and testing the GPU operator in various ways

jump_ci

Commands to run TOPSAIL scripts in a jump host
  • ensure_lock Ensure that cluster lock with a given name is taken. Fails otherwise.

  • prepare_step Prepares the jump host for running a CI test step:

  • prepare_topsail Prepares the jump host for running TOPSAIL: - clones TOPSAIL repository - builds TOPSAIL image in the remote host

  • release_lock Release a cluster lock with a given name on a remote node

  • retrieve_artifacts Prepares the jump host for running a CI test step:

  • take_lock Take a lock with a given cluster name on a remote node

kserve

Commands relating to RHOAI KServe component

llm_load_test

Commands relating to llm-load-test
  • run Load test the wisdom model

local_ci

Commands to run the CI scripts in a container environment similar to the one used by the CI
  • run Runs a given CI command

  • run_multi Runs a given CI command in parallel from multiple Pods

mac_ai

Commands relating to the MacOS AI performance evaluation

nfd

Commands for NFD related tasks

nfd_operator

Commands for deploying, building and testing the NFD operator in various ways

pipelines

Commands relating to RHODS

remote

Commands relating to the setup of remote hosts
  • build_image Builds a podman image

  • clone Clones a Github repository in a remote host

  • download Downloads a file in a remote host

  • retrieve Retrieves remote files locally

repo

Commands to perform consistency validations on this repo itself

rhods

Commands relating to RHODS

server

Commands relating to the deployment of servers on OpenShift

storage

Commands relating to OpenShift file storage