Commit Graph

1119 Commits

Author SHA1 Message Date
Ben Greear
c17837dc64 json: Work on pre-cleanup logic.
Still doesn't work, but checking in what I have for now.
2020-08-06 08:27:58 -07:00
Logan Lipke
dc5d84b790 Fixed issue with extra ports being created from incorrect name usage 2020-08-05 17:48:27 -07:00
Logan Lipke
7c16c89519 Added check for existing station before cleanup in StationProfile 2020-08-05 16:42:57 -07:00
Ben Greear
f21f3d5192 Merge branch 'master' of github.com:greearb/lanforge-scripts 2020-08-05 16:22:10 -07:00
Ben Greear
5451c724fb realm: Fix problem with waiting for IP address.
Something I broke earlier.
longevity works fairly well now it seems.
2020-08-05 16:21:32 -07:00
Logan Lipke
d8aaab8546 Removed unnecessary usage of resource params, cleanup WIP 2020-08-05 16:16:13 -07:00
Logan Lipke
733e6edae8 Merge remote-tracking branch 'origin/master' 2020-08-05 15:37:45 -07:00
Ben Greear
db4a5b7728 json: Add methods to wait for cx, endp to be found.
This lets scripts wait until we are sure the system can handle
further work.

Ensure we print out error in case the URL processing logic
detects and error and plans to exit.
2020-08-05 15:25:22 -07:00
Logan Lipke
f717676f35 Fixed StationProfile use of name_to_eid, now uses realm method 2020-08-05 14:19:30 -07:00
Logan Lipke
5bf449c3f7 Added PortUtils class, set_ftp method WIP 2020-08-05 13:29:10 -07:00
Logan Lipke
733b14a9dd Merge remote-tracking branch 'origin/master' 2020-08-05 13:16:05 -07:00
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
Logan Lipke
62381c4fc5 Merge remote-tracking branch 'origin/master' 2020-08-05 09:43:56 -07:00
Chuck SmileyRekiere
2070f483b8 changed timing waiting for IP 2020-08-05 06:45:36 -06:00
Logan Lipke
a8e4d9452a Merge remote-tracking branch 'origin/master' 2020-08-04 15:49:45 -07:00
Logan Lipke
f84332d591 Fixed typo, removed unnecessary mode set 2020-08-04 15:37:47 -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
761dff87ae Added ht160 check for station mode 2020-08-04 13:25:10 -07:00
Logan Lipke
8efe1dfd23 Added options to StationProfile to enable ht160 2020-08-04 13:23:28 -07:00
Logan Lipke
3a94735b4b Added options to enable ht160 2020-08-04 13:23:13 -07:00
Logan Lipke
56a6b93d45 Added extra flags for enable 160MHz 2020-08-04 10:11:33 -07:00
Jed Reynolds
22c2217acf tip_station_powersave.py: improves timing for connections, and cleanup 2020-08-03 22:01:32 -07:00
Logan Lipke
e5b339ebfb Added radio argument to specify radio used in creation of stations 2020-08-03 17:03:19 -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
Jed Reynolds
dc91ae92a0 tip_station_powersave.py: configures pcap location and starts testing fetch 2020-07-31 17:44:23 -07:00
Jed Reynolds
730ad7ecdf LFRequest.py: adds plain_get() 2020-07-31 17:44:23 -07:00
Logan Lipke
73573a28da Fixed typo in hostapd_config 2020-07-31 17:27:42 -07: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
fdf8d019eb Merge remote-tracking branch 'origin/master' 2020-07-31 16:31:37 -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
Dipti Dhond
2bccd46dbd changed SSID to jedway-open-1 2020-07-31 16:24:15 -07:00
Dipti Dhond
01e574b2fc baseline for WAN to LAN l3 traffic test - WIP 2020-07-31 16:07:55 -07:00
Logan Lipke
b79aa43f59 Added port_down_request 2020-07-31 14:13: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
Logan Lipke
976cb5505e Added check with wait_for_ips that will stop the test if a timeout occurs 2020-07-31 10:30:44 -07:00
Jed Reynolds
80b783560b tip_station_powersave.py: waits for getting IPs, fixes SSID 2020-07-31 09:38:45 -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
afa76898fd tip_station_powersave.py: computes more appropriate sniff duration 2020-07-31 09:21:45 -07:00
Jed Reynolds
7fa76d4517 LFUtils: new snake_case method for wait_until_ports_admin_up() 2020-07-31 09:21:16 -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
a1d57e30a7 tip_station_powersave.py: WIP: can now create stations, monitor and connections without error
Requires GUI fixes made 2020-07-30
2020-07-30 16:35:05 -07:00
Jed Reynolds
dd16ab307a realm.py: adds wait_until_ports_appear stateful facade method 2020-07-30 16:35:05 -07:00
Logan Lipke
391261b469 Added check to prevent existing endps from interfering in test 2020-07-30 15:36:32 -07:00
Logan Lipke
54657fc74c Added check to prevent existing endps from interfering in test 2020-07-30 15:27:29 -07:00
Logan Lipke
f8af6d5979 Added check for monitoring only created endpoints 2020-07-30 14:21:18 -07:00