Commit Graph

11 Commits

Author SHA1 Message Date
erinnerim
804371ad6b merge quali-dev changes in create_wanlink.py and test_wanlink.py to master 2021-09-08 14:43:42 -07:00
Erin Grimes
2f8c033ce8 - test_wanlink.py may now run with optional transfer-rate arguments:
* as together endpoints: --rate, the value of wanlink transfer rate of both endpoints in bits/sec.
	* as separate endpoints: --rate_A and/or --rate_B which default to the value of --rate.
	* the default value of --rate is 1000000 (1Gbps)

Signed-off-by: Erin Grimes <erin.grimes@candelatech.com>
2021-07-08 14:46:51 -07:00
Erin Grimes
b857d695b9 - test_wanlink.py may now run with optional latency arguments:
* as together endpoints: --latency, the value of wanlink delay of both endpoints in ms.
	* as separate endpoints: --latency_A and/or --latency_B which default to the value of --latency.
	* the value of --latency is 20 (ms) by default.
 - Arguments passed from the command line into LANtoWAN are simplified into a single container args.
 - Several arguments of LANtoWAN are instead initialized as data members.
 - create_wanlink.py no longer attempts to alter the wanlink after creating it.
 - create_wanlink.py outputs less to the terminal.

Signed-off-by: Erin Grimes <erin.grimes@candelatech.com>
2021-07-08 14:46:51 -07:00
Matthew Stidham
4dd66e6a49 Fixing test_wanlink so it should work now
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-12 13:33:14 -08:00
Matthew Stidham
c3c2d7a6a3 Fixes in test_wanlink, fix formatting in ipv4_variable_time
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-12 11:26:10 -08:00
Matthew Stidham
3c635f94d8 fixing regression_test test wanlink 2021-02-09 13:25:40 -08:00
Matthew Stidham
b8aec4c3ed fix text_wanlink 2021-02-09 11:40:54 -08:00
Matthew Stidham
c20b5f4272 regression test additions and fixes to several scripts 2021-02-05 11:24:40 -08: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
Jed Reynolds
15f7696462 changes set_prefix to set_number_template because the method name/param had wrong meaning 2020-07-02 01:46:34 -07:00
Logan Lipke
effc1b71ff Changed name to better reflect script content 2020-06-24 17:07:49 -07:00