Commit Graph

302 Commits

Author SHA1 Message Date
Jed Reynolds
f202fc7c97 JSON: realm.py: WIP 2020-06-29 23:20:15 -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
Logan Lipke
38b424e8b3 Merge remote-tracking branch 'origin/master' 2020-06-26 18:00:14 -07:00
Logan Lipke
19fcd5aa08 Added min and max pkt-size init parameters for L3CXProfile, added created_cx list for tracking created cxs and endps 2020-06-26 17:57:59 -07:00
Logan Lipke
d858e85cba Added check for non None value of transfer rates in L3CXProfile 2020-06-26 16:45:59 -07:00
Logan Lipke
3bd0327e96 Added ability to set min and max rates for L3CXProfile, added autohelper and auto min ip port to endp creation 2020-06-26 16:33:33 -07:00
Jed Reynolds
aa89ce7a9a updated readme 2020-06-26 13:06:23 -07:00
Jed Reynolds
885ad33339 readme updates 2020-06-26 11:13:29 -07:00
Jed Reynolds
46eb9bd48c updates py-json README 2020-06-26 10:46:04 -07:00
Logan Lipke
7fd37a78c2 Changed usage of LFCliBase.json_post to local_realm.json_post in cx creation 2020-06-26 10:42:01 -07:00
Logan Lipke
01aa5a7ded Fixed issue with cx and endp naming 2020-06-26 09:47:09 -07:00
Logan Lipke
563724b950 Fixed issue with incorrect post url in cx creation 2020-06-25 16:42:01 -07:00
Logan Lipke
6f4e1b096f Fixed naming methods for cxs and endpoints 2020-06-25 13:30:17 -07:00
Jed Reynolds
762171b0d9 JSON: fixes comparison, debug parameter 2020-06-25 12:32:28 -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
Logan Lipke
00d9ed86d2 Added Realm method parse_time for converting a string to datetime object 2020-06-25 11:37:42 -07:00
Jed Reynolds
52616fe812 Python: realm.py now has method for loading scenario db 2020-06-23 23:13:11 -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
Logan Lipke
a14cca5229 Changed station list building to correctly used prefix 2020-06-23 14:41:05 -07:00
Logan Lipke
a4b41eb4a1 Added sleep time between station creation and set port commands 2020-06-23 12:43:10 -07:00
Logan Lipke
cc6753ce9b Added check for dhcp 2020-06-22 16:56:25 -07:00
Jed Reynolds
9d5381b920 realm_test.py: pep8 name 2020-06-16 23:24:38 -07:00
Jed Reynolds
e640e2ff9e realm.py: provides for station names instead of numbering, this gets around needing to set prefix 2020-06-16 23:24:38 -07:00
Jed Reynolds
d3f76e5d18 LFUtils: introduces wait_until_ports_disappear as PEP8 method 2020-06-16 23:24:38 -07:00
Logan Lipke
34e1ac8df4 Fixed typo in Exception raised for ValueError when checking CXProfile sides 2020-06-15 10:37:25 -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
Logan Lipke
8bb3462397 Fixed unmatched parentheses 2020-06-11 16:24:19 -07:00
Logan Lipke
ab20573080 Merge branch 'master' of https://github.com/greearb/lanforge-scripts 2020-06-11 16:13:50 -07:00
Logan Lipke
fa48ffb590 Added tests for new L3CXProfile create() method 2020-06-11 16:13:41 -07:00
Logan Lipke
9fcdf8ae5a Added side flexibility to L3CXProfile, added name_to_eid function 2020-06-11 16:13:08 -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
Logan Lipke
ce8863ba96 Added tests for CXProfile Classes 2020-06-10 16:00:42 -07:00
Logan Lipke
88920adacb Added inheritance to CXProfile classes 2020-06-10 16:00:17 -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
78838dd827 realm.py: small debug message 2020-06-09 16:45:55 -07:00
Logan Lipke
a19cf49042 Added extra parameters to CXProfile classes 2020-06-09 14:16:14 -07:00
Jed Reynolds
7db0b8b7ad lfcli_base.py: renames variable 2020-06-09 13:22:24 -07:00
Jed Reynolds
f28bef230e realm.py: removes variable that lives in superclass 2020-06-09 13:21:40 -07:00
Jed Reynolds
0e0c8444ca LFRequest.py: fixes single-arg LFRequest() call 2020-06-09 13:09:42 -07:00
Logan Lipke
201e83afa2 Merge remote-tracking branch 'origin/master' 2020-06-09 13:08:34 -07:00
Logan Lipke
c3e48e4ed5 Moved endpoint and cx creation to specific classes 2020-06-09 13:08: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
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
Logan Lipke
0a45d0b24a Added endpoint and cx creation for layer4 and generic endpoints 2020-06-09 12:32:29 -07:00