Commit Graph

152 Commits

Author SHA1 Message Date
Logan Lipke
66fdf24ab1 Added debug output for L4CXProfile's check_errors method 2020-07-07 11:50:37 -07:00
Logan Lipke
5a5ae74980 Added check_errors method to L4CXProfile; checks if any url errors have occurred 2020-07-07 11:30:16 -07:00
Logan Lipke
377523b4a9 Removed unnecessary whitespace 2020-07-06 13:46:28 -07:00
Logan Lipke
43f7559c51 Added wait_for_ip method to Realm, waits for all eth and sta ports to get ip 2020-07-06 13:45:25 -07:00
Logan Lipke
5835dfa5cb Improved creation of L4CX to make better use of name_to_eid 2020-07-03 17:02:20 -07:00
Logan Lipke
509f77f2e7 Changed name of l4 cx to fit naming conventions 2020-07-03 16:31:36 -07:00
Logan Lipke
2addfdb290 Reduced number of stations needed to add suppress_preexec to sta_data, added extra debug info, moved some lines to better spots 2020-07-02 16:15:13 -07:00
Logan Lipke
64fd144583 Added missing parameter, fixed bad list index 2020-07-02 12:38:41 -07:00
Jed Reynolds
5874194453 realm.py: station profile tests param name for interest flags 2020-07-02 12:15:41 -07:00
Jed Reynolds
013093c47a realm.py: adds l3_profile start_cx(); improves debugging flags 2020-07-02 11:02:29 -07:00
Jed Reynolds
477a70a311 realm.py: lots of fixes, now creates L3 connections 2020-07-02 01:45:18 -07:00
Jed Reynolds
2aa5369952 realm.py: adds report timer to L3_cx_profile 2020-07-01 23:01:32 -07:00
Jed Reynolds
ae327eb6c2 realm.py: renames variables to more specific units, is now able to create CX 2020-07-01 17:00:28 -07:00
Jed Reynolds
582d667021 realm.py: corrects scope of declared parameters 2020-07-01 17:00:28 -07:00
Jed Reynolds
2fe9eefcea JSON: Realm: wait_while_building() works better now 2020-06-30 14:25:55 -07:00
Jed Reynolds
f202fc7c97 JSON: realm.py: WIP 2020-06-29 23:20:15 -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
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
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
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
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
Logan Lipke
34e1ac8df4 Fixed typo in Exception raised for ValueError when checking CXProfile sides 2020-06-15 10:37:25 -07:00
Logan Lipke
9fcdf8ae5a Added side flexibility to L3CXProfile, added name_to_eid function 2020-06-11 16:13:08 -07:00
Logan Lipke
88920adacb Added inheritance to CXProfile classes 2020-06-10 16:00:17 -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
f28bef230e realm.py: removes variable that lives in superclass 2020-06-09 13:21:40 -07:00
Logan Lipke
c3e48e4ed5 Moved endpoint and cx creation to specific classes 2020-06-09 13:08:24 -07:00
Logan Lipke
0a45d0b24a Added endpoint and cx creation for layer4 and generic endpoints 2020-06-09 12:32:29 -07:00
Jed Reynolds
92ea2a41da realm: renames StationProfile.build() to StationProfile.create(), future profile methods will all be named create() 2020-06-09 10:16:22 -07:00
Jed Reynolds
d68e193d6e realm.py: renames methods to pep8 2020-06-09 09:59:38 -07:00
Logan Lipke
0f439528d5 Removed format_sta_name, switched to using LFUtils.portNameSeries for sta name generation 2020-06-05 11:19:18 -07:00
Jed Reynolds
fe5006edeb realm.py: refactorings/improvements:
- changes super() refs to self
- adds debug output
- find_ports_like now has way to specify desired fields, single resource and debug
2020-06-04 22:54:33 -07:00
Logan Lipke
194bcb7845 Fixed extra % sign in formatting 2020-06-04 14:53:47 -07:00
Logan Lipke
80082e85b1 Changed fstrings to % formatting 2020-06-04 13:58:59 -07:00
Jed Reynolds
4d27b27f7d realm.py: lots of progress making StationProfile::build work 2020-06-04 00:31:15 -07:00
Jed Reynolds
49b137a3bd realm.py: adds new_station_profile(), uses renamed methods 2020-06-03 16:52:25 -07:00
Jed Reynolds
d43ed3c588 LFRequest.py: sets die-on-error, improves efficiency of find_ports_like 2020-06-03 16:37:29 -07:00
Jed Reynolds
d6f463c352 realm.py: WIP:
Realm now inherits LFCliBase
replaces direct calls to LFRequest
adds methods for referring and computing flags by name
capturing and reporting more errors
2020-06-03 15:35:19 -07:00
Jed Reynolds
bcb814f2c1 realm.py: WIP:
- refer to lfclient not mgr in variable names
- refactoring to use flag names defined in py-json/LANforge
2020-06-03 13:28:24 -07:00
Logan Lipke
55d2d584f9 Fixed names and redundant parentheses 2020-06-03 09:20:22 -07:00