Commit Graph

246 Commits

Author SHA1 Message Date
Ben Greear
1c23dc0a49 longevity: Fix station count comparison.
Evidently, cannot compare a string to an int and get expected
result, so cast to int explicitly.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2020-08-07 11:35:17 -07:00
Logan Lipke
f0dd5a389b Added upstream port to object creation 2020-08-07 10:16:38 -07:00
Jed Reynolds
9c679d2783 tip_station_powersave.py: adds new way of testing for no results 2020-08-07 08:18:11 -07:00
Jed Reynolds
10638681b8 tip_station_powersave.py: removes more resource parameters 2020-08-06 23:03:49 -07:00
Jed Reynolds
b12a40f4d6 tip_station_powersave.py: fixes 'resources' parameters, some gaurds 2020-08-06 22:44:37 -07:00
Ben Greear
6e9d9a1ace Merge branch 'master' of github.com:greearb/lanforge-scripts 2020-08-06 17:58:52 -07:00
Ben Greear
e2c79832e9 longevity: Fix initial port cleanup.
Quieten some output by default.
2020-08-06 17:58:10 -07:00
Dipti Dhond
432334d60a test ipv4 conn that combines wep, wpa, wpa2, wpa3 and open conn - completed 2020-08-06 17:20:59 -07:00
Logan Lipke
2ce659c385 Updated script to use new arg parsing methods 2020-08-06 16:13:04 -07:00
Logan Lipke
93cfc49675 Updated script to use new arg parsing methods 2020-08-06 15:54:42 -07:00
Logan Lipke
b733387935 Fixed typo 2020-08-06 15:36:54 -07:00
Dipti Dhond
b19e55fe3a working now 2020-08-06 15:13:17 -07:00
Logan Lipke
346919156b Updated script to use new arg parsing methods 2020-08-06 14:33:40 -07:00
Logan Lipke
7bd68683b5 Removed unnecessary argument 2020-08-06 14:24:18 -07:00
Logan Lipke
e35bdcdec0 Fixed names in argparse info 2020-08-06 14:21:59 -07:00
Logan Lipke
85b5b28de9 Updated script to use new arg parsing methods 2020-08-06 14:17:11 -07:00
Logan Lipke
501e862682 Updated script to use new arg parsing methods 2020-08-06 13:37:11 -07:00
Logan Lipke
c7ce635055 Fixed incorrect argument name 2020-08-06 13:04:44 -07:00
Logan Lipke
f68746c278 Updated to use new argument parsing 2020-08-06 12:45:43 -07:00
Logan Lipke
e2f514ef9b Updated argument parsing, now uses lfcli_base 2020-08-06 12:03:02 -07:00
Ben Greear
a99e06d729 longevity: Fix problem with multiple radios.
Looks like something I added earlier.
2020-08-06 12:00:12 -07:00
Ben Greear
53d770bf5e json: Add ToS support to l3 longevity test. 2020-08-06 11:44:39 -07:00
Ben Greear
7252d686bd python: longevity gains pre-cleanup logic.
No more need for manual removal.

Put rm_cx, endp, and rm cxe by prefix in realm
class.
2020-08-06 10:42:17 -07:00
Ben Greear
0936b5dc27 python: Fix wait-for-ip, ipv4 variable time.
Had indentation issue in port wait-for-ip logic, tie in some cmd-line
args for ipv4 variable time script.
2020-08-06 09:59:28 -07:00
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
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
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
3a94735b4b Added options to enable ht160 2020-08-04 13:23:13 -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
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
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
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
afa76898fd tip_station_powersave.py: computes more appropriate sniff duration 2020-07-31 09:21:45 -07:00