|
3 | 3 | Supports both Docker and native execution modes. |
4 | 4 |
|
5 | 5 | Usage: |
| 6 | + python3 start_exec_scripts.py [--exec-policy|-p {docker,native}] [--trial-idx|-t N] [--prepare-run|-r] [--ws-dir|-w DIR] [--scenario|-s NAME] [--hosts-list|-l HOSTS] [--help|-h] |
| 7 | +
|
6 | 8 | # Docker mode (sends /start_docker requests) |
7 | 9 | python3 start_exec_scripts.py --exec-policy docker --trial-idx 1 --ws-dir performance_ws --scenario latest --hosts-list host1,host2,host3 |
8 | 10 | short: python3 start_exec_scripts.py -p docker -t 1 -w performance_ws -s latest -l host1,host2,host3 |
@@ -64,15 +66,20 @@ def main(): |
64 | 66 | parser = argparse.ArgumentParser( |
65 | 67 | description="Start test execution on all hosts (Docker or native)", |
66 | 68 | formatter_class=argparse.RawDescriptionHelpFormatter, |
| 69 | + usage=( |
| 70 | + "%(prog)s [--exec-policy|-p {docker,native}] [--trial-idx|-t N] " |
| 71 | + "[--prepare-run|-r] [--ws-dir|-w DIR] [--scenario|-s NAME] " |
| 72 | + "[--hosts-list|-l HOSTS] [--help|-h]" |
| 73 | + ), |
67 | 74 | epilog=""" |
68 | 75 | Examples: |
69 | 76 | # Docker mode |
70 | | - python3 start_exec_scripts.py --exec-policy docker --trial-idx 1 --ws-dir performance_ws --scenario latest --hosts-list host1,host2,host3 |
71 | | - short: python3 start_exec_scripts.py -p docker -t 1 -w performance_ws -s latest -l host1,host2,host3 |
| 77 | + python3 start_exec_scripts.py --exec-policy docker --trial-idx 1 --ws-dir performance_ws --scenario latest --hosts-list host1,host2,host3 |
| 78 | + short: python3 start_exec_scripts.py -p docker -t 1 -w performance_ws -s latest -l host1,host2,host3 |
72 | 79 |
|
73 | 80 | # Native mode |
74 | | - python3 start_exec_scripts.py --exec-policy native --trial-idx 1 --ws-dir performance_ws --scenario latest --hosts-list host1,host2,host3 |
75 | | - short: python3 start_exec_scripts.py -p native -t 1 -w performance_ws -s latest -l host1,host2,host3 |
| 81 | + python3 start_exec_scripts.py --exec-policy native --trial-idx 1 --ws-dir performance_ws --scenario latest --hosts-list host1,host2,host3 |
| 82 | + short: python3 start_exec_scripts.py -p native -t 1 -w performance_ws -s latest -l host1,host2,host3 |
76 | 83 | """ |
77 | 84 | ) |
78 | 85 | parser.add_argument( |
|
0 commit comments