Commit Graph

2673 Commits

Author SHA1 Message Date
Matthew Stidham
ada88a0bc2 The DHCP flag was in the wrong order in the script. It has to be before the request is sent.
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-15 15:56:27 -07:00
Matthew Stidham
912bfc12b6 We need to kill java after it finds that there is an update to the GUI.
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-15 12:39:40 -07:00
Logan Lipke
c304069124 Created script like create_bridge for creating bonds 2021-03-12 16:37:31 -08:00
Matthew Stidham
934a442651 we only need to run connectTest once in updateTest.bash
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-12 15:46:04 -08: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
e5a29934d4 regression test fix, newscript does not exist
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-12 12:53:43 -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
Jed Reynolds
86e9cfa63e test_status_msg.py: renames short variable
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-03-12 10:51:20 -08:00
Matthew Stidham
af36c943c4 Fixing the shell formatting warnings Idea was showing me.
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-12 10:38:06 -08:00
Matthew Stidham
19ef32441b Fix broken test links
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-11 16:13:20 -08:00
Matthew Stidham
a1108e7c23 Fix ws_generic_monitor
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-11 15:32:03 -08:00
Matthew Stidham
c1a0261f90 Fix regression test error
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-11 11:25:05 -08:00
Jed Reynolds
3d61ee2e5f create_vr.py: uses apply_netsmith instead of refresh_netsmith, changes do_refresh to do_sync
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-03-11 01:06:03 -08:00
Jed Reynolds
13cc052056 vr_profile2.py: adds ability to query netsmith
- convert eid to url
- fixes querying vrcx lists
- fixes adds more debugging
- finished add vrcx to router
- can now sync the netsmith screen
- can now apply the netsmith screen
- fixes some logic in "refresh_netsmith" but the refresh_netsmith method mixes sync and apply logic and maybe shouldnt be used
- has wait_until_vrcx_appears() method with a timeout limit

Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-03-11 01:06:03 -08:00
Jed Reynolds
61241b5d88 realm.py: whitespace
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-03-11 01:06:03 -08:00
Jed Reynolds
24817ab3c4 base_profile.py: fixes None error if providing missing element
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-03-11 01:06:03 -08:00
Jed Reynolds
44c65a4951 LFUtils: gains more debug output
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-03-11 01:06:03 -08:00
Jed Reynolds
1b05840552 vr_profile2.py: adds related notes about how Netsmith handles a moved connection
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-03-11 01:06:03 -08:00
Jed Reynolds
b9bd5f237e vr_profile2.py: adds related notes about how Netsmith handles a moved connection
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-03-11 01:06:03 -08:00
Matthew Stidham
95277e7de0 sleep command breaks regression
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-10 09:49:49 -08:00
Matthew Stidham
6c992df6c4 Proper timeout in regression_test
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-09 12:41:45 -08:00
Matthew Stidham
7e42cab34e Regression test link fix
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-09 10:13:45 -08:00
Matthew Stidham
cfab07e87f Fix regression test links
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-09 09:24:42 -08:00
Matthew Stidham
b2892237d0 Fixing regression test link
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-09 07:39:35 -08:00
Jed Reynolds
6f976c171c regression_test.sh: fixes that help jed run tests
- changes num_sta to be configurable
- suggests DO_FILEIO
- comments out DO_FILEIO
- adds TEST_HTTP_IP so it can be provided in rc file
- unlink replaced with test -f && rm -f

Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-03-09 01:33:07 -08:00
Jed Reynolds
7388ac3b73 LFUtils.py: rewrite of wait_until_ports_disappear()
- groups queries by resource for fewer http calls
- tests for either 'interface' or 'interfaces'
- debug output slightly slower when debuggin

Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-03-09 01:07:48 -08:00
Jed Reynolds
62c9830a3d create_vr.py: WIP: updates clean(), refreshes netsmith earlier, waits until router-connections appear
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-03-09 01:07:48 -08:00
Jed Reynolds
9811d10775 vr_profile2.py: progress moving router-connections
can move a router connection into a virtual router
refreshes the netsmith window more consistently
adds wait_until_vrcx_appears()

Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-03-09 01:07:48 -08:00
Jed Reynolds
9a5f15ec9b LFRequest.py: reduces volume of debug output
- headers not shown on 200 or 404
- headers not shown unless die_on_error_
- short 404 message now used

Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-03-09 01:07:48 -08:00
Jed Reynolds
b414512f9d realm.py: adds proxy method for wait_until_ports_disappear
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-03-09 01:07:48 -08:00
Jed Reynolds
1278b3b0e8 base_profile.py: these two methods do not actually appear to function with timestamps, I get a math error
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-03-09 01:07:48 -08:00
Jed Reynolds
33b5472263 create_vr.py: removes unused variables
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-03-09 01:07:48 -08:00
Matthew Stidham
28d58bf2e9 Fixing broken regression test links
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-08 16:59:03 -08:00
Matthew Stidham
7c69d3614d Merge branch 'diptiBranch-solidifyingV1' 2021-03-08 16:51:15 -08:00
Matthew Stidham
368a632150 Revert "variable for upstream port"
This reverts commit 041f2ae6b7.
2021-03-08 16:07:05 -08:00
Matthew Stidham
c571bbf09e Merge remote-tracking branch 'origin/master' into diptiBranch-solidifyingV1
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-08 15:46:32 -08:00
Matthew Stidham
041f2ae6b7 variable for upstream port
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-08 13:06:09 -08:00
Dipti
c66d0c18e2 adding regression_test
Signed-off-by: Dipti <dipti.dhond@candelatech.com>
2021-03-08 12:31:49 -08:00
Dipti
d3c9b9d763 fixing import order. this fixes broken code
Signed-off-by: Dipti <dipti.dhond@candelatech.com>
2021-03-07 22:49:22 -08:00
Jed Reynolds
b3ad2303fa regression_test.sh: several fixes:
- make variables for report-data and html-reports consistent
- prefers unixy test_regression.rc file before test_regression.txt
- sources preferences from test_regression.rc or .txt file
- comments out FILENAME variable, appears unused
2021-03-07 14:13:09 -08:00
Jed Reynolds
c97430f61d regression_test.sh: several fixes:
- make variables for report-data and html-reports consistent
- prefers unixy test_regression.rc file before test_regression.txt
- sources preferences from test_regression.rc or .txt file
- comments out FILENAME variable, appears unused
2021-03-07 14:12:52 -08:00
Jed Reynolds
eb16e7980d updates gitignore to avoid test_regression.rc file 2021-03-07 14:10:49 -08:00
Jed Reynolds
7271d1ce1e moves regresssion_test.txt to regression_test.rc.example, adds examples and documentation 2021-03-07 14:08:35 -08:00
Dipti
549cbfdb5e organized imports in realm.py
Signed-off-by: Dipti <dipti.dhond@candelatech.com>
2021-03-05 23:45:02 -08:00
Dipti
1b87a6926b v1 classes are taken out of realm.py, into their own files
Signed-off-by: Dipti <dipti.dhond@candelatech.com>
2021-03-05 23:39:07 -08:00
DiptiDhond-Candela
8575340eb9 Delete regression_test.sh 2021-03-05 20:08:16 -08:00
Dipti
efb5d1ab58 eth port and parent changed
Signed-off-by: Dipti <dipti.dhond@candelatech.com>
2021-03-05 18:39:11 -08:00
Dipti
36f59bcf5e import fix
Signed-off-by: Dipti <dipti.dhond@candelatech.com>
2021-03-05 18:34:21 -08:00
Dipti
c3c503d3ca removal of classes from realm, removal of port_utils
Signed-off-by: Dipti <dipti.dhond@candelatech.com>
2021-03-05 18:20:31 -08:00
Logan Lipke
9b0dda2c1b wait_for_ip: changed stas_with_ips to dict, allowed for ipv4 and ipv6 2021-03-05 17:18:58 -08:00