Commit Graph

47 Commits

Author SHA1 Message Date
Jed Reynolds
f6ee326792 lfcli_base.py: adds put, delete methods 2020-11-25 10:46:06 -08:00
Dipti
2eb32c2990 password argument change, saving executable perm for scripts 2020-11-20 12:27:09 -08:00
shivamcandela
05ddf8b015 Bug fixed from previous commit 2020-11-18 18:20:39 +05:30
shivamcandela
a7417d8ca1 added argparse for test_id to filter ws event 2020-11-18 18:04:24 +05:30
Logan Lipke
17e4990e67 Changed default num_stations to 0 2020-11-13 17:06:25 -08:00
shivamcandela
0590e539b5 Updated lfcli_base for webconsole 2020-11-08 01:16:04 +05:30
Dipti
1f807eb2b9 changes to lfcli_base to force ssid, password, radio and security 2020-11-03 09:42:36 -08:00
Jed Reynolds
ba66e2cdd8 lfcli_base.py init may now be passed a copy of local_realm in constructor 2020-10-22 22:03:04 -07:00
Jed Reynolds
92dd78fbfe lfcli_base.py: allows abbreviations for script options 2020-10-22 16:00:06 -07:00
Jed Reynolds
406ee6cb5d JSON: adds create_bare_argparse() for when we want an argparser that has nothing to do with radios 2020-10-22 16:00:06 -07:00
Jed Reynolds
44e4e38b12 JSON: lfcli_base.py: whitespace 2020-10-21 00:05:52 -07:00
Jed Reynolds
c88ab44fc2 JSON: improves help on lfcli_base.py 2020-10-20 21:33:43 -07:00
Dipti
17f6412df7 num_station parameter added 2020-10-20 21:25:02 -07:00
Jed Reynolds
bf5bf471e6 JSON: lfcli_base.py gains argument for http port 2020-10-20 19:50:35 -07:00
Dipti Dhond
b711e1b99e additional security descriptions in help 2020-08-06 17:22:22 -07:00
Logan Lipke
dfb85aa390 Added create_basic_argparse arguments for setting prog, formatter_class, epilog, and description 2020-08-06 12:00:37 -07:00
Logan Lipke
da34b35421 create_basic_parser returns parser object now instead of args array 2020-08-06 11:41:19 -07:00
Logan Lipke
1aeb801a27 Added static method to parse common arguments 2020-08-06 11:39:02 -07:00
Ben Greear
db4a5b7728 json: Add methods to wait for cx, endp to be found.
This lets scripts wait until we are sure the system can handle
further work.

Ensure we print out error in case the URL processing logic
detects and error and plans to exit.
2020-08-05 15:25:22 -07:00
Jed Reynolds
4e052391e8 JSON: stop dying on 404 response; formatting 2020-07-28 23:42:42 -07:00
Jed Reynolds
6332a322b0 python: whitespace 2020-07-24 18:10:51 -07:00
Jed Reynolds
c33da1048f lfcli_base.py: fixes munched param name 2020-07-02 01:45:37 -07:00
Jed Reynolds
07112693af lfcli_base.py: updates pydoc 2020-06-30 14:25:55 -07:00
Jed Reynolds
59a7762dec lfcli_base.py: uses return parameter to capture resulting post result 2020-06-29 19:38:02 -07:00
Jed Reynolds
7b488a8553 JSON: LFCliBase json_post improves terminology and completeness for suppressing related commands 2020-06-29 14:20:08 -07:00
Jed Reynolds
f2e2135b5d JSON: fixes debug and die_on_error logic, fixes suppress_preexec_X logic, fixes pprint ref 2020-06-25 12:32:28 -07:00
Jed Reynolds
c1e79ab6fc Python: introduces use_preexec variable to help simplify toggling on pre-exec login 2020-06-23 23:13:11 -07:00
Jed Reynolds
e54119758e lfcli_base.py: repose_list_to_map is a more general method of doing LFUtils.portListToAliasMap() 2020-06-12 13:29:47 -07:00
Ben Greear
f29cc0bd54 cicd: Make sta_connect print results to stdout when called as independent script. 2020-06-10 19:25:04 -07:00
Logan Lipke
ec678d74d6 Renamed lfjson_host and lfjson_port to lfclient_host and lfclient_port 2020-06-10 16:01:56 -07:00
Jed Reynolds
9692fe45d1 lfcli_base.py: introduces exit_on_error, exit_on_fail 2020-06-09 16:46:46 -07:00
Jed Reynolds
7db0b8b7ad lfcli_base.py: renames variable 2020-06-09 13:22:24 -07:00
Jed Reynolds
d91fe50d8f lfcli_base.py: do not import realm, circular refs result 2020-06-09 13:05:36 -07:00
Jed Reynolds
3792395f2a lfcli_base.py: class automatically gets a realm 2020-06-09 12:44:46 -07:00
Jed Reynolds
4882eb2115 lfcli_base.py: enabling more debugging 2020-06-05 15:12:14 -07:00
Jed Reynolds
ca111483b7 updates url checking 2020-06-05 14:44:57 -07:00
Logan Lipke
4490d51b3a Removed trailing forward slash 2020-06-05 12:46:59 -07:00
Jed Reynolds
0736b1d645 lfcli_base.py: removes type hints (too modern) 2020-06-05 10:01:04 -07:00
Jed Reynolds
e26463cc59 lfcli_base.py: refactoring includes methods previously defined in sta_connect 2020-06-04 22:51:04 -07:00
Logan Lipke
a1bd5865ed Fixed missing %s 2020-06-04 14:16:56 -07:00
Logan Lipke
e768a1544b Changed fstrings to % formatting 2020-06-04 14:15:40 -07:00
Jed Reynolds
2a1e79949f py-json: renames methods to snake_case as per PEP8 2020-06-03 16:51:33 -07:00
Jed Reynolds
3ec51b00aa lfcli_base.py: improvements to error debugging 2020-06-03 16:35:34 -07:00
Jed Reynolds
f2c1e71281 lfcli_base.py: attempt to improve error capture and reporting 2020-06-03 15:35:19 -07:00
Jed Reynolds
f9d8849bba LFRequest.py: adds more debugging 2020-06-01 21:45:47 -07:00
Jed Reynolds
f69d4cdb90 sta_connect.py, lfcli_base.py: fixes inheritance mistake, continues refactoring, test now runs 2020-06-01 21:45:47 -07:00
Jed Reynolds
356a2cae4f lfcli_base: renamed module to follow PEP8 reccos 2020-06-01 21:45:47 -07:00