Commit Graph

12 Commits

Author SHA1 Message Date
Matthew Stidham
07550300b1 lf-atten_mod_test: trying to turn a string 'all' into an integer will always generate an error
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-22 09:56:38 -08:00
Matthew Stidham
42345dd0a8 lf_attenmod: self.atten_idx can also be all
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-18 17:28:14 -08:00
Matthew Stidham
2979b00cdb lf_ap_auto_test: Fix lf_attenmod_test
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-18 15:26:14 -08:00
Matthew Stidham
8f2fa4bf8c * We don't need to import LFUtils in lfcli_base
* local_realm in lf_attenmod is unused.
* local_realm in attenuator_profile is unused, because I'm switching to inheritance as part of my work eliminating redundancy.

Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-10-04 11:51:37 -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
2efbc62842 Revert "Update py_json files to be compatible with pip standards"
This reverts commit 0be47c82de.
2021-09-09 05:32:31 -06:00
Chuck SmileyRekiere
8e9909f2d0 Revert "Revert "Update py_json files to be compatible with pip standards""
This reverts commit 6b0322cafa.
2021-09-09 05:28:17 -06:00
Chuck SmileyRekiere
6b0322cafa Revert "Update py_json files to be compatible with pip standards"
This reverts commit 0be47c82de.
2021-09-09 05:24:20 -06:00
Matthew Stidham
0be47c82de Update py_json files to be compatible with pip standards
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-09-08 16:54:45 -07:00
karthikaeyetea
45e2688f36 print statement changed --'setting attenuator' instead creating attenuator 2021-07-13 12:08:22 +05:30
anjali
0583b57fb4 added attenuator library in realm.py 2021-05-28 21:32:59 +05:30