Commit Graph

41 Commits

Author SHA1 Message Date
Matthew Stidham
1567bfa97a test_fileio: Fix mutable default arguments
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-24 16:16:54 -08:00
Matthew Stidham
22bda435df test_fileio: Fix whitespace
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-24 16:16:19 -08:00
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
Chuck SmileyRekiere
743b5f56c9 Revert "Update py_scripts to be in line with pip standards"
This reverts commit 37df48594e.
2021-09-09 05:32:05 -06:00
Matthew Stidham
37df48594e Update py_scripts to be in line with pip standards
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-09-08 16:57:10 -07:00
Logan Lipke
e085bea4a4 Added NAME, PURPOSE, and EXAMPLE sections to docstrings 2021-05-18 15:45:02 -07:00
Chuck SmileyRekiere
a8fcc7b14b README.md : description for py-json scripts
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-04-13 17:55:59 -06:00
Matthew Stidham
6166a9cc72 Fix fileio and qvlan errors
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-17 18:32:25 -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
Matthew Stidham
7bede86c9e Check to make sure an NFS file share is mounted
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-17 12:55:24 -07: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
fa4d519078 Clarified help output, added more command examples 2020-12-18 17:00:42 -08:00
Logan Lipke
ea9fede527 Uncommented necesarry code 2020-12-17 16:49:08 -08:00
Logan Lipke
497838bf6c Multiple connections can be created per port. ips on existing ports can be changed individually 2020-12-17 15:33:35 -08:00
Logan Lipke
231bca1d5a Test groups/test group related cxs no longer get created or deleted if already existing 2020-12-16 12:09:12 -08:00
Logan Lipke
4200ec0a8a Changed functionality of test groups, added options for updating single test group. WIP 2020-12-14 17:00:25 -08:00
Logan Lipke
be01c4e6cb Added ability to choose between read, write, or both for test type. List of ports and ips can be specified with cli list 2020-12-04 17:58:32 -08:00
Jed Reynolds
cdbb5c1b30 adds missing comma 2020-12-03 18:13:05 -08:00
Jed Reynolds
78e65ecbb1 fileio: add todo switch: mode 2020-12-03 14:53:21 -08:00
Logan Lipke
4e777c286c Added options for naming test group, Fix for wait_for_ips WIP 2020-11-30 17:59:44 -08:00
Logan Lipke
e486d26ae1 Changed some output 2020-11-25 17:01:48 -08:00
Logan Lipke
1f3d8ae3cb Changed example command 2020-11-23 17:44:44 -08:00
Logan Lipke
0faf38a63f Added usage of test group profile to create, start, stop and delete test groups 2020-11-23 17:33:51 -08:00
Dipti
4a9f4bdfdb test_x script, edits to tests/help 2020-11-19 11:59:16 -08:00
Logan Lipke
edcaa07c10 test now supports macvlans, start from port, and static addressing 2020-11-13 17:06:25 -08:00
Logan Lipke
ac45437473 Added debug param to mvlan_profile.create() 2020-11-13 17:06:25 -08:00
Logan Lipke
a6136ca329 Removed debug output WIP 2020-11-04 17:59:12 -08:00
Logan Lipke
c7a34ccc8f Adds usage of macvlanprofile, WIP 2020-11-03 17:58:20 -08:00
Dipti
68121692c0 parameter fixes 2020-10-30 13:41:59 -07:00
Jed Reynolds
7df7e465ab JSON: fileio test uses new variable names, and has parsing moved out 2020-10-20 19:50:35 -07:00
Jed Reynolds
1f7f6c33f1 JSON: fileio: renames variables to emphasise FileIO Endpoint 2020-10-20 15:13:13 -07:00
Jed Reynolds
0549e3fed5 JSON: renames IPV4FIO test to FileIOTest 2020-10-20 15:04:57 -07:00
Jed Reynolds
b28da2c4cd updates fileio test help 2020-10-20 14:26:31 -07:00
Logan Lipke
a61f8e5f58 Updated to use arguments for min_read/write, updated testing WIP 2020-10-19 17:59:14 -07:00
Logan Lipke
c05a785a80 Fixed tests, still WIP 2020-09-11 12:50:30 -07:00
Logan Lipke
c6b18790f9 Script for testing fileio read/write. Tests WIP 2020-09-10 16:59:40 -07:00