Commit Graph

134 Commits

Author SHA1 Message Date
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
Logan Lipke
804458b07a Refactored code to better fit PEP8 standards, removed unnecessary imports 2020-06-02 11:18:19 -07:00
Logan Lipke
0d3d6c8c5a Fixed incorrect file destination 2020-06-01 15:01:40 -07:00