Commit Graph

272 Commits

Author SHA1 Message Date
Jed Reynolds
1e545c15b2 LFUtils.py: fixes json-post for waiting on ports 2020-08-07 16:31:50 -07:00
Jed Reynolds
9f92c77859 realm.py: uses existing method 2020-08-07 16:24:25 -07:00
Jed Reynolds
c84061de96 LFUtils.py: correct post method, should have been jsonPost 2020-08-07 16:24:25 -07:00
Jed Reynolds
88a60f3bda LFRequest.py: whitespace 2020-08-07 16:24:25 -07:00
Jed Reynolds
c39d50f698 realm.py: improves delay for rm port and rm port formatting 2020-08-07 16:24:25 -07:00
Jed Reynolds
aea67cb61f realm.py: tests for 'empty' key for empty lists 2020-08-07 16:24:25 -07:00
Chuck SmileyRekiere
78f2d3daa8 added check to see if 'end_point' in endp_list 2020-08-07 10:29:56 -06:00
Chuck SmileyRekiere
800f774a5d try except added when no endpoint in endp_list 2020-08-07 10:04:31 -06:00
Jed Reynolds
344dc92699 realm.py: fixes side-a to side-b typo 2020-08-07 08:16:09 -07:00
Jed Reynolds
8b50c35854 realm.py: fixes loops that expire without actually doing time.sleep()...
- adds snake_case methods for some wait methods
- adds tiny sleep when adding cross connects
- passes around debug flag
2020-08-06 23:03:24 -07:00
Jed Reynolds
063c15e6a9 realm.py: adds gaurd to test if we're getting a no items 2020-08-06 22:43:55 -07:00
Jed Reynolds
a7eb40abfd realm.py: Fixes 404s that did not call /thing/list 2020-08-06 22:33:41 -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
b711e1b99e additional security descriptions in help 2020-08-06 17:22:22 -07:00
Logan Lipke
fe22cf1b88 Fixed wait_for_ip logic for ipv6 2020-08-06 15:49:19 -07:00
Chuck SmileyRekiere
f906a281c4 ename undefinded 2020-08-06 14:35:42 -06:00
Logan Lipke
431d1b34cb Merge remote-tracking branch 'origin/master' 2020-08-06 12:01:13 -07:00
Logan Lipke
dfb85aa390 Added create_basic_argparse arguments for setting prog, formatter_class, epilog, and description 2020-08-06 12:00:37 -07:00
Ben Greear
9d662ab824 Merge branch 'master' of github.com:greearb/lanforge-scripts 2020-08-06 11:44:59 -07:00
Ben Greear
53d770bf5e json: Add ToS support to l3 longevity test. 2020-08-06 11:44:39 -07:00
Logan Lipke
da34b35421 create_basic_parser returns parser object now instead of args array 2020-08-06 11:41:19 -07:00
Logan Lipke
1aeb801a27 Added static method to parse common arguments 2020-08-06 11:39:02 -07:00
Ben Greear
9a74ed1876 Merge branch 'master' of github.com:greearb/lanforge-scripts 2020-08-06 10:43:03 -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
Logan Lipke
b737be3110 Commented unused variable 2020-08-06 10:32:27 -07:00
Ben Greear
e76ad3341c Merge branch 'master' of github.com:greearb/lanforge-scripts 2020-08-06 10:00:20 -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
Logan Lipke
1e35f25ff3 Fixed typo 2020-08-06 09:44:51 -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
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
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
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
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