Ben Greear
960b87b61f
python: flex-longevity, library cleanup.
...
Remove use of 'resource' where possible, use port EIDs instead for
multi-resource flexibility.
Remove some spurious 'sleep' calls. If you think you need to sleep
2 seconds, you are probably facing a real race bug, so diagnose that
instead or put big comments around why you added a sleep.
Lots of changes to flex longevity, hopefully it can support multiple
connection types now, but not tested that yet.
Signed-off-by: Ben Greear<greearb@candelatech.com >
2020-08-05 13:13:24 -07:00
Chuck SmileyRekiere
41505f34aa
Merge branch 'master' of https://github.com/greearb/lanforge-scripts
2020-08-04 16:28:59 -06:00
Chuck SmileyRekiere
8e585a64cc
initial check in of test_l3_unicast_traffic_gen.py, try except to remove_all_cx
2020-08-04 16:28:39 -06:00
Logan Lipke
8efe1dfd23
Added options to StationProfile to enable ht160
2020-08-04 13:23:28 -07:00
Logan Lipke
56a6b93d45
Added extra flags for enable 160MHz
2020-08-04 10:11:33 -07:00
Logan Lipke
8b42e51a37
Added bridge creation to VAPProfile create
2020-08-03 17:02:37 -07:00
Chuck SmileyRekiere
2b42504a9d
added admin up for multicase, and debugging
2020-08-03 14:50:40 -06:00
Chuck SmileyRekiere
6b7626caf6
mcast updates
2020-08-02 19:44:31 -06:00
Logan Lipke
a2f19f9db0
Fixed some bugs in VAPProfile admin_up and admin_down
2020-07-31 17:19:13 -07:00
Logan Lipke
b52245228b
Added channel param for VAPProfile.create()
2020-07-31 17:11:02 -07:00
Logan Lipke
0da7e94581
VAPProfile now able to create vaps, added factory method to realm for VAPProfile
2020-07-31 16:31:27 -07:00
Logan Lipke
d1689366b8
Added timeout and boolean return to wait_for_ip, Added start of VAPProfile WIP
2020-07-31 10:31:29 -07:00
Jed Reynolds
127a5fd55b
realm.py: adds some defaults and gaurds to wait_for_ip()
2020-07-31 09:37:51 -07:00
Jed Reynolds
a5c181bbc9
Realm: wifi_monitor: start_sniff gains parameter duration_sec
2020-07-31 09:20:32 -07:00
Chuck SmileyRekiere
860a6d5cfd
test_l3_longevity.py - adding multi cast
2020-07-30 18:40:05 -06:00
Jed Reynolds
dd16ab307a
realm.py: adds wait_until_ports_appear stateful facade method
2020-07-30 16:35:05 -07:00
Logan Lipke
a56748e501
Set suppress_related_commands_ in StationProfile,create to default to True
2020-07-30 14:18:12 -07:00
Jed Reynolds
3a5a1db3a4
Realm.py: StationProfile.create() gains suppress_related_commands_ parameter
2020-07-30 13:50:38 -07:00
Jed Reynolds
90f68c5236
JSON: improves monitor creation and cleanup; fixes station cleanup; adds freq-channel table
2020-07-28 23:42:42 -07:00
Jed Reynolds
9e63e3e478
Python: adds methods:
...
- Realm::new_wifi_monitor_profile factory
- new StationDown::admin_down()
- changes up=False
2020-07-28 14:12:14 -07:00
Logan Lipke
cbc65f02ba
Commented out debug printing
2020-07-27 16:23:36 -07:00
Logan Lipke
c269393b8b
Fixed interval bug
2020-07-27 16:16:22 -07:00
Logan Lipke
13e76e6930
Fixed incorrect command option for generic commands
2020-07-27 15:08:55 -07:00
Jed Reynolds
9c012cf5c4
python: linter corrections
2020-07-24 18:10:51 -07:00
Logan Lipke
a4f37c4b89
Added start_cx, stop_cx, and cleanup methods to GenCxProfile
2020-07-24 17:05:17 -07:00
Chuck SmileyRekiere
dd99d42dae
test_l3_longevity initial commit
2020-07-22 16:24:24 -06:00
Dipti Dhond
f71c2ceb25
added wpa3 security
2020-07-15 13:44:01 -07:00
Dipti Dhond
45a8c2e54f
small syntax edits
2020-07-14 19:58:10 -07:00
Dipti Dhond
265bf58c70
added mask for station flag
2020-07-14 17:14:14 -07:00
Dipti Dhond
24b12c2bb2
added 'open' to use_security
2020-07-14 15:31:44 -07:00
Dipti Dhond
6823a06cf7
pushing capture changes
2020-07-14 12:47:48 -07:00
Logan Lipke
2058defb26
Changed use_security to remove flags from desired_add_sta_flags/_mask, authentication type should work properly now
2020-07-14 11:58:55 -07:00
Logan Lipke
f8ff6af1b6
Fixed key error in use_security
2020-07-14 10:41:52 -07:00
Logan Lipke
181c68e4f9
Changed use_wpa2 to use_security function WIP, tested with WPA2, not yet tested with WEP, WPA, WPA3
2020-07-14 10:23:18 -07:00
Dipti Dhond
9ba16108a6
monitor changes - now works
2020-07-13 19:49:02 -07:00
Logan Lipke
b8bb9c4d8b
Changed use_wpa2 to use_security function WIP, tested with WPA2, not yet tested with WEP, WPA, WPA3
2020-07-13 17:19:09 -07:00
Dipti Dhond
8c2f9e4ded
updates to realm.py class- under monitor
2020-07-13 14:05:28 -07:00
Logan Lipke
0b0a51487d
Added resource and station_list parameters to wait_for_ip
2020-07-13 12:42:13 -07:00
Jed Reynolds
1933a2661f
realm.py: adds WifiMonitor class
2020-07-10 17:30:58 -07:00
Logan Lipke
3110c9b757
Removed unnecessary print
2020-07-10 13:58:36 -07:00
Logan Lipke
66f0ae8d3a
Added local_realm parameter to StationProfile in new_station_profile
2020-07-10 13:20:37 -07:00
Logan Lipke
2cadb84f4c
Added methods to Realm to remove all stations, endps, or cxs
2020-07-10 12:01:58 -07:00
Logan Lipke
cdd1b8f078
Added cleanup to StationProfile, L3CXProfile, and L4CXProfile. Added start and stop cx methods to L4CXProfile. Added local_realm param to StationProfile
2020-07-09 17:30:29 -07:00
Logan Lipke
28d1bc227a
Added ipv6 boolean to Realm.wait_for_ip, setting to true will wait for ipv6 addresses to be assigned as opposed to ipv4
2020-07-08 16:15:58 -07:00
Logan Lipke
d06ced4dfe
Improved return and printed extra info
2020-07-07 13:49:15 -07:00
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