Jed Reynolds
|
c54d342a8e
|
LFUtils.py: whitespace
|
2020-07-30 13:51:05 -07:00 |
|
Jed Reynolds
|
4336ddb74e
|
Fixed typo
|
2020-07-30 12:35:49 -07:00 |
|
Logan Lipke
|
162091aa9c
|
Merge branch 'master' of https://github.com/greearb/lanforge-scripts
|
2020-07-30 10:06:04 -07:00 |
|
Logan Lipke
|
b1e34423b8
|
Added flags for add_vap
|
2020-07-30 10:05:57 -07:00 |
|
Jed Reynolds
|
1ed694a155
|
LFRequest.py: improves self.die_on_error logic to absolutely die on conditions that are !404
|
2020-07-29 22:20:25 -07:00 |
|
Jed Reynolds
|
4e052391e8
|
JSON: stop dying on 404 response; formatting
|
2020-07-28 23:42:42 -07:00 |
|
Jed Reynolds
|
b9bcba58b0
|
JSON: simplifies die_on_error logic
|
2020-07-28 23:42:42 -07:00 |
|
Jed Reynolds
|
6332a322b0
|
python: whitespace
|
2020-07-24 18:10:51 -07:00 |
|
Dipti Dhond
|
472919790f
|
print statement moved
|
2020-07-14 17:13:17 -07:00 |
|
Jed Reynolds
|
39d2f65f4f
|
add_monitor.py: defines flags used when creating monitor port
|
2020-07-10 17:30:58 -07:00 |
|
Jed Reynolds
|
3c21b6cab1
|
LFUtils.py: quieter
|
2020-07-03 07:54:43 -07:00 |
|
Jed Reynolds
|
de66c8ff81
|
LFUtils.py: more PEP8 method names, output improvements
|
2020-07-02 11:01:41 -07:00 |
|
Jed Reynolds
|
c33da1048f
|
lfcli_base.py: fixes munched param name
|
2020-07-02 01:45:37 -07:00 |
|
Jed Reynolds
|
89b8dd7aef
|
LFRequest.py: updates debug line refs
|
2020-06-30 15:34:05 -07:00 |
|
Jed Reynolds
|
07112693af
|
lfcli_base.py: updates pydoc
|
2020-06-30 14:25:55 -07:00 |
|
Logan Lipke
|
f92e4fae29
|
Changed getAsJson parameters to use debug_ instead of show_error
|
2020-06-30 09:36:55 -07:00 |
|
Jed Reynolds
|
ebf6737edb
|
JSON: replace show_error with debug
|
2020-06-29 23:21:06 -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
|
67ad3fa412
|
LFRequest.py: introduces return parameter for fetching resulting JSON data
|
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
|
131880366f
|
Json: fixes debugging and die_on_error logic
|
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 |
|
Logan Lipke
|
d63c4a8a56
|
Changed tuple in waitUntilPortsDisappear parameters to list, changed wait_until_ports_disappear to use values passed by waitUntilPortsDisappear
|
2020-06-23 16:45:26 -07:00 |
|
Jed Reynolds
|
d3f76e5d18
|
LFUtils: introduces wait_until_ports_disappear as PEP8 method
|
2020-06-16 23:24:38 -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
|
0e0c8444ca
|
LFRequest.py: fixes single-arg LFRequest() call
|
2020-06-09 13:09:42 -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
|
ec3ac0a570
|
LFUtils.py: introduces port_name_series to replace portNameSeries
|
2020-06-09 12:44:46 -07:00 |
|
Jed Reynolds
|
3792395f2a
|
lfcli_base.py: class automatically gets a realm
|
2020-06-09 12:44:46 -07:00 |
|
Jed Reynolds
|
83304a1c30
|
LFRequest.py: enabling more debugging
|
2020-06-05 15:13:01 -07:00 |
|
Jed Reynolds
|
4882eb2115
|
lfcli_base.py: enabling more debugging
|
2020-06-05 15:12:14 -07:00 |
|
Logan Lipke
|
14e3c59ef1
|
Removed extra base_url in url assignment
|
2020-06-05 14:50:53 -07:00 |
|
Jed Reynolds
|
a9d69aa681
|
LFRequest.py fixes check
|
2020-06-05 14:45:41 -07:00 |
|
Jed Reynolds
|
ca111483b7
|
updates url checking
|
2020-06-05 14:44:57 -07:00 |
|
Logan Lipke
|
7f5ec13a7d
|
Rewrote usage of LFRequest to work with new constructor
|
2020-06-05 14:41:03 -07:00 |
|
Logan Lipke
|
4445c0f696
|
Moved leading/trailing slash check to prevent NoneType Errors
|
2020-06-05 14:14:26 -07:00 |
|
Logan Lipke
|
55a7ff3116
|
Moved leading/trailing slash check to prevent NoneType Errors
|
2020-06-05 14:03:58 -07:00 |
|
Logan Lipke
|
bc6499e213
|
Added check for valid url format for LFRequest init
|
2020-06-05 13:07:06 -07:00 |
|
Logan Lipke
|
4490d51b3a
|
Removed trailing forward slash
|
2020-06-05 12:46:59 -07:00 |
|
Logan Lipke
|
a137ca1792
|
Fixed missing %s in url
|
2020-06-05 10:51:51 -07:00 |
|
Jed Reynolds
|
0736b1d645
|
lfcli_base.py: removes type hints (too modern)
|
2020-06-05 10:01:04 -07:00 |
|
Jed Reynolds
|
ae014c3eeb
|
LFUtils.py: updates portListToAliasMap to have debug param, raise exception on empty/no results
|
2020-06-04 22:52:09 -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 |
|