Commit Graph

2655 Commits

Author SHA1 Message Date
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
Jed Reynolds
bdb9167b5f removes one-time temporary variables, fixes mgrlen evaluation in wrong spot
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-03-05 16:21:19 -08:00
Jed Reynolds
539841250e adds gitignore
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-03-05 16:20:39 -08:00
Jed Reynolds
6fb5313a6c LFRequest.py: do not die when attempting a port that is already deleted
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-03-05 16:06:41 -08:00
Jed Reynolds
8c6910a60f create_vr.py: adds redirects to cleanup, fixes full router query
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-03-05 16:06:41 -08:00
Jed Reynolds
0078234ead realm.py: adds guard against None in rm_port()
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-03-05 16:06:41 -08:00
Jed Reynolds
648ce07edc vr_profile2.py: adds call to refresh netsmith window
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-03-05 16:06:41 -08:00
Matthew Stidham
90e90fef12 missed one
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-05 15:05:40 -08:00
Matthew Stidham
7e87dc3cbf correct compairison condition in bash
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-05 15:02:44 -08:00
Matthew Stidham
10ea6ab99a bash doesn't like spaces around operands
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-05 14:54:07 -08:00
Matthew Stidham
342b1e94c1 Fixing incorrect commands to find the user's home directory
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-05 13:38:13 -08:00
Matthew Stidham
25e3e877dc Regression works on local machine
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-05 12:31:25 -08:00
Matthew Stidham
1a8d4e5827 Regression with 4 arguments so you can run it with a mgr command
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-05 11:50:09 -08:00
Dipti
210e9d06ad transitioniting rest of the profiles - version 1 - out of realm
Signed-off-by: Dipti <dipti.dhond@candelatech.com>
2021-03-05 01:02:40 -08:00
Jed Reynolds
a8f0781bb6 LFUtils.py: adds debug output
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-03-05 00:35:15 -08:00
Jed Reynolds
a1456dc92a vr_profile2.py: corrects lint errors in value comparisons, adds debugging
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-03-05 00:35:15 -08:00
Jed Reynolds
01e9167bd8 realm.py: updates factory method new_vr_profile, defaults to ver=2, uses version numbered module
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-03-05 00:35:15 -08:00
Jed Reynolds
9563d49c75 vr_profile2.py: updates import and moves file to version-numbered file
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-03-05 00:35:15 -08:00
Nikita Yadav
a421185a73 add_l4_endp flag file 2021-03-05 12:04:17 +05:30