Commit Graph

16 Commits

Author SHA1 Message Date
Matthew Stidham
1d43c55bd9 create_chamberview_dut: Fix bare except error
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-24 13:17:31 -08:00
Matthew Stidham
fdc420afab create_chamberview_dut autopep8
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-10 12:16:39 -08:00
Matthew Stidham
58effa8e1b Better whitespace in create_chambervew_dut.py
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-10-11 11:41:15 -07:00
Matthew Stidham
4e7e8b9360 1. Updating argparse commands so they include flags
2. Create check_argparse which allows us to check which flags are or are not included in argparse statements.

Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-09-21 16:13:07 -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
erinnerim
4c16ab8116 Revert "importlib refactor create_chamberview_dut.py"
This reverts commit aa2e67432b.
2021-09-10 17:57:58 -07:00
erinnerim
aa2e67432b importlib refactor create_chamberview_dut.py 2021-09-10 15:35:45 -07:00
Matthew Stidham
2e5a544afa Adding functionality to use flags when modifying and creating stations, DUTs, and VAPs
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-08-13 16:56:20 -07:00
Ben Greear
49c1df2cb0 cv-dut: Improve options to configure DUT.
And stop hard-coding the DUT position.

Add start of ferndale ucentral testbed end-to-end example test script.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-05-09 14:08:05 -07:00
Matthew Stidham
ca59088801 Fix ssid flags and password fallback when the password flag is missing
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-05-07 09:57:12 -07:00
sushant
6823cf1170 removed hard code from cv_dut_profile.py
Signed-off-by: sushant <sushant.bawiskar@candelatech.com>
2021-05-07 22:18:12 +05:30
Matthew Stidham
e25c13e826 Create dut_to_grafana and fixing dependencies
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-05-06 17:14:16 -07:00
Ben Greear
2bf59b55d3 py-scripts: Fix cureate_chamberview_dut.py to be runnable.
chmod a+x, and also put the python-script logic at
the first line.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-05-06 10:53:19 -07:00
SushantBawiskar
f31f7c45ed - added comments and Notes in create_chamberview_dut.py
- cv_test_manager.py show_text_blob will return the response text

Signed-off-by: SushantBawiskar <sushant.bawiskar@candelatech.com>
2021-04-26 19:12:05 +05:30
SushantBawiskar
810377b16e - integrated cv_commands.pywith cv_test_manager.py
- create_chamberview_dut.py to create a dut
- cv_dut_profile.py as library to create a dut
- cv test manager can be used to implement chamber view also

Signed-off-by: SushantBawiskar <sushant.bawiskar@candelatech.com>
2021-04-24 01:08:33 +05:30