Commit Graph

42 Commits

Author SHA1 Message Date
Matthew Stidham
e6cf6b9337 1. Create pandas_extensions.py
2. Remove unused imports

Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-09-21 11:11:04 -07:00
Matthew Stidham
36400e003d Making it so that lanforge-scripts can work if the repository isn't named exactly the same way
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-09-17 15:29:15 -07:00
erinnerim
1d7578251c Updates to import statements:
- Import importlib, os, and sys to each python script.
 - Append "lanforge-scripts" root directory to the system path, allowing each script to be called from an antecedent directory. e.g.
if 'lanforge-scripts' not in sys.path:
    sys.path.append(os.path.join(os.path.abspath(__file__ + "../../../../../")))
 - All statements of the form 'from <module> import <class>' replace with:
<module> = importlib.import_module("lanforge-scripts.<directory>.<module>")
<class> = <module>.<class>
2021-09-15 16:17:16 -07:00
Logan Lipke
f2bdeffb83 Added check for generic tab enabled on gui 2021-07-09 16:22:09 -07:00
Chuck SmileyRekiere
3eb4455310 test_generic.py : add reminder to enable generic tab in LANforge GUI for test to run
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-05-21 23:25:49 -06:00
Logan Lipke
e085bea4a4 Added NAME, PURPOSE, and EXAMPLE sections to docstrings 2021-05-18 15:45:02 -07:00
Logan Lipke
82580e13fe Moved test logic to monitor method of gen_cxprofile 2021-04-16 17:45:35 -07:00
Logan Lipke
31bf0e3eba Can now use reporting from monitor method, WIP 2021-04-14 16:18:50 -07:00
Matthew Stidham
052319d2ce Remove exit_on_error
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-17 15:19:34 -07:00
Logan Lipke
56a6bc170c wait_for_ip call uses -1 for timeout 2021-03-03 16:31:26 -08:00
Logan Lipke
9947105754 Added test for lfcurl 2021-02-11 17:45:02 -08:00
Logan Lipke
2152aba3e1 Added options for lf_curl type endp, WIP lf_curl test 2021-02-09 17:58:34 -08:00
Logan Lipke
1042680378 Fixed test_duration 2021-02-05 16:58:14 -08:00
Logan Lipke
6d25adeceb Changed use of "column" in docstring to "attribute" 2021-01-08 16:56:11 -08:00
Logan Lipke
8a29d5df48 Updated docstring use to fit with standards 2021-01-07 15:55:18 -08:00
Logan Lipke
13dc5ed016 Changed docstrings to fit script format 2021-01-04 15:27:05 -08:00
Logan Lipke
7c4789b673 Added docstring for documentation and usage example 2020-12-30 17:01:28 -08:00
Logan Lipke
4725cdc11c Fixed issue with required security arg being included on top of what's in create_basic_argparse 2020-12-22 15:59:24 -08:00
Dipti
674f6d4d7a iperf 2020-12-16 11:19:12 -08:00
Dipti
25367afc93 more debug in realm, test generic for iperf 2020-12-15 23:06:08 -08:00
Logan Lipke
0fceed5bd6 Changed host and port parameters to correctly use --mgr and --mgr_port 2020-12-11 15:06:33 -08:00
Dipti
639180473e - much less output if not debug - changes according to lfcli 2020-12-10 23:38:35 -08:00
Dipti
af555b9f09 arguement edits, type cast edits 2020-11-24 13:37:41 -08:00
Dipti
a89752e664 test generic help updated, some argument issues 2020-11-20 12:27:47 -08:00
Dipti
7da6d152b5 edits to help, parameter edits 2020-11-03 14:20:31 -08:00
Dipti
1f807eb2b9 changes to lfcli_base to force ssid, password, radio and security 2020-11-03 09:42:36 -08:00
Dipti
a0065afb23 edge case changes... still working on iperf and speedtests 2020-11-02 13:25:02 -08:00
Dipti
2c81033437 num_stations argument fixed here, few other tests to have this argument fixed still 2020-10-30 01:06:50 -07:00
Logan Lipke
7bb0c0818b Added speedtest test and cli arguments 2020-10-28 16:47:38 -07:00
Logan Lipke
ed919fe1b6 Added cmd option, fixed wait_for_ip usage. Test WIP 2020-10-26 17:55:41 -07:00
Dipti
df641fc371 help 2020-10-21 01:29:02 -07:00
Jed Reynolds
48b6c40e2a JSON: test_generic:
- fixes endpoint creation by waiting for stations
- uses new member names
- uses new method names
2020-10-21 00:05:52 -07:00
Jed Reynolds
fdbc33b521 JSON: test_generic.py: updating help text 2020-10-20 21:27:45 -07:00
Logan Lipke
802e61856a Updated descriptions in cli --help output 2020-10-20 17:03:28 -07:00
Logan Lipke
b02580b10d Updated stop method 2020-08-28 12:22:13 -07:00
Logan Lipke
c7ce635055 Fixed incorrect argument name 2020-08-06 13:04:44 -07:00
Logan Lipke
f68746c278 Updated to use new argument parsing 2020-08-06 12:45:43 -07:00
Logan Lipke
976cb5505e Added check with wait_for_ips that will stop the test if a timeout occurs 2020-07-31 10:30:44 -07:00
Logan Lipke
7efbce8a46 Fixed missing self.debug for create method 2020-07-30 12:36:05 -07:00
Logan Lipke
28da5fe190 Fixed typo with cli-json 2020-07-30 10:05:26 -07:00
Logan Lipke
f8b482c348 Finished start method, cleaned up main() 2020-07-28 11:56:09 -07:00
Logan Lipke
bed2f6e0d3 Added test for generic connections WIP 2020-07-24 17:05:33 -07:00