yardstick.cmd.commands package
Submodules
yardstick.cmd.commands.runner module
Handler for yardstick command ‘runner’
-
class
yardstick.cmd.commands.runner.
RunnerCommands
[source]
Bases: object
Runner commands.
Set of commands to discover and display runner types.
-
do_list
(args)[source]
List existing runner types
-
do_show
(args)[source]
Show details of a specific runner type
yardstick.cmd.commands.scenario module
Handler for yardstick command ‘scenario’
-
class
yardstick.cmd.commands.scenario.
ScenarioCommands
[source]
Bases: object
Scenario commands.
Set of commands to discover and display scenario types.
-
do_list
(args)[source]
List existing scenario types
-
do_show
(args)[source]
Show details of a specific scenario type
yardstick.cmd.commands.task module
Handler for yardstick command ‘task’
-
class
yardstick.cmd.commands.task.
TaskCommands
[source]
Bases: object
Task commands.
Set of commands to manage benchmark tasks.
-
do_start
(args)[source]
Start a benchmark scenario.
-
class
yardstick.cmd.commands.task.
TaskParser
(path)[source]
Bases: object
Parser for task config files in yaml format
-
parse_suite
()[source]
parse the suite file and return a list of task config file paths
and lists of optional parameters if present
-
parse_task
(task_name, task_args=None, task_args_file=None)[source]
parses the task file and return an context and scenario instances
-
yardstick.cmd.commands.task.
atexit_handler
()[source]
handler for process termination
-
yardstick.cmd.commands.task.
is_ip_addr
(addr)[source]
check if string addr is an IP address
-
yardstick.cmd.commands.task.
parse_nodes_with_context
(scenario_cfg)[source]
paras the ‘nodes’ fields in scenario
-
yardstick.cmd.commands.task.
parse_task_args
(src_name, args)[source]
-
yardstick.cmd.commands.task.
print_invalid_header
(source_name, args)[source]
-
yardstick.cmd.commands.task.
run_one_scenario
(scenario_cfg, output_file)[source]
run one scenario using context
-
yardstick.cmd.commands.task.
runner_join
(runner)[source]
join (wait for) a runner, exit process at runner failure
Module contents