|
10 | 10 | # to run under standalone execution |
11 | 11 | bash$ python base_example.py |
12 | 12 |
|
13 | | - # to run under easypy |
14 | | - bash$ easypy job/example_job.py |
| 13 | + # to run under pyats job engine |
| 14 | + bash$ pyats run job example_job.py |
15 | 15 |
|
16 | 16 | References: |
17 | 17 | For the complete and up-to-date user guide on pyATS, visit: |
|
101 | 101 | #******************************************************************************* |
102 | 102 | #* TESTBED INFORMATION |
103 | 103 | #* |
104 | | -#* when executing a jobfile using easypy, testbed file should be provided to |
105 | | -#* easypy launcher using argument -testbed_file. Easypy will automatically |
| 104 | +#* when executing a jobfile using pyats, testbed file should be provided to |
| 105 | +#* pyats job launcher using argument --testbed-file. The engine will then |
106 | 106 | #* load this provided testbed file into topology objects, and pass it to each |
107 | 107 | #* testscript as script argument "testbed". |
108 | | -#* easypy myjobfile.py -testbed_file mytestbed.yaml |
| 108 | +#* pyats run job myjobfile.py --testbed-file mytestbed.yaml |
109 | 109 | #* |
110 | 110 | #* as long as the argument is used properly, there's nothing extra the user |
111 | 111 | #* has to do. Testscripts will automatically be passed the parameter 'testbed', |
|
189 | 189 | #* MAIN FUNCTION |
190 | 190 | #* |
191 | 191 | #* Each job file must have a main() function where testscripts/task runs are |
192 | | -#* defined. After a job file is imported, easypy will lookup main() function |
| 192 | +#* defined. After a job file is imported, pyats will lookup main() function |
193 | 193 | #* to run. |
194 | 194 | #* |
195 | 195 | #* main() funtion shall have a single argument called 'runtime'. This allows |
196 | | -#* the engine to automatically pass in the current Easypy runtime object. The |
| 196 | +#* the engine to automatically pass in the current runtime object. The |
197 | 197 | #* following should be performed within the main() function: |
198 | 198 | #* - parse any custom command-line arguments |
199 | 199 | #* - configure logger log-levels, if any |
|
0 commit comments