Commit Graph

2611 Commits

Author SHA1 Message Date
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
Jed Reynolds
f595c3dd87 create_vr: WIP using refresh_netsmith()
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-03-04 17:09:08 -08:00
Matthew Stidham
116f3a87ca Add testgroup2 to regression_test
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-04 16:00:53 -08:00
Matthew Stidham
ac09538ee9 Create testgroup2.py which allows users to create a testgroup from scratch without needing a scenario
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-04 15:57:54 -08:00
Matthew Stidham
2fe55f5f7d Incorrect call for the password in the second argument
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-04 13:52:17 -08:00
Matthew Stidham
6d197c4aad Security and Radio were backwards
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-04 13:48:18 -08:00
Matthew Stidham
e3c1153c7b fix regression test logic to determine length of user defined variables
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-04 13:34:21 -08:00
Matthew Stidham
413232eb26 import l3_cxprofile2 to realm
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-04 13:03:55 -08:00
Matthew Stidham
3b9511d674 Import L3CXProfile into realm so that we prevent breakage with clients scripts.
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-04 12:40:20 -08:00
Matthew Stidham
87db19116c Make it easy to use regression_test with a local system
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-04 11:15:37 -08:00
Logan Lipke
56a6bc170c wait_for_ip call uses -1 for timeout 2021-03-03 16:31:26 -08:00
Logan Lipke
9e42a81221 wait_for_ip: changed default timeout to 360 seconds, timeout can be set to -1 to determine timeout using mean association time, added check for ipv4/ipv6 only 2021-03-03 16:30:30 -08:00
Matthew Stidham
eb986a8cc1 new import for l3_cxprofile
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-03 14:07:15 -08:00
Dipti
ff8553f548 inheritance of L3CXProf v1 is back to LFClibase
Signed-off-by: Dipti <dipti.dhond@candelatech.com>
2021-03-03 13:09:52 -08:00
Dipti
5d35b07825 lfdata added to master
Signed-off-by: Dipti <dipti.dhond@candelatech.com>
2021-03-03 12:55:02 -08:00
Matthew Stidham
9308f1df87 Fix die_on_error command so it doesn't trigger on a 404 error
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-03 12:09:37 -08:00
Chuck SmileyRekiere
ae9ea83ea7 lf_snp_test.py : regression testing 2021-03-03 07:04:22 -07:00
Dipti
37b44441a6 delete base_profile from realm.py, add updated logg function from logg in base_profile in realm.py to base_profile.py file
Signed-off-by: Dipti <dipti.dhond@candelatech.com>
2021-03-03 00:47:09 -08:00
Dipti
bf5dbb841a pushing lfdata from dipti-branch, adding version number for all new_x_profile in realm.py, version number in test_vt_2
Signed-off-by: Dipti <dipti.dhond@candelatech.com>
2021-03-03 00:32:26 -08:00
Dipti
d580c8789a inheritance + import edits
Signed-off-by: Dipti <dipti.dhond@candelatech.com>
2021-03-02 23:29:57 -08:00
Dipti
016c05b708 adddition of l3cx_profile2, testbase, vt_2
Signed-off-by: Dipti <dipti.dhond@candelatech.com>
2021-03-02 20:12:44 -08:00
Dipti
209b88f682 imports added for L3CXProfile2
Signed-off-by: Dipti <dipti.dhond@candelatech.com>
2021-03-02 20:06:00 -08:00
Dipti
434feca6a5 Inheritance from base_profile works
Signed-off-by: Dipti <dipti.dhond@candelatech.com>
2021-03-02 13:46:24 -08:00
Jed Reynolds
208e99aa9f realm.py: fix vr_profile import, todo on lint warning about undeclared variable, fixes lint warning on static method
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-03-02 13:15:58 -08:00
Jed Reynolds
37c4606df7 vr_profile.py: forcing refresh, renamed variable
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-03-02 13:13:57 -08:00
Jed Reynolds
5975b178f6 create_vr.py: debugging
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-03-02 13:13:57 -08:00
Jed Reynolds
2a27a70489 realm.py: should not need self.halt_on_error because that's what self.exit_on_error is for
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-03-02 13:13:57 -08:00
Jed Reynolds
2b8eacdd19 vr_profile.py: WIP fixing caching of vrcx list, fixing scope on some temporary variables
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-03-02 13:13:57 -08:00
Jed Reynolds
b869a46c12 create_vr.py: start() method attempts to test if vrcx is in router WIP
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-03-02 13:13:57 -08:00
Jed Reynolds
f423588e59 whitespace
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-03-02 13:13:57 -08:00
Jed Reynolds
7b43f6d2fe update_dependencies.py: adds simple-geometry library
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-03-02 13:13:57 -08:00
Dipti
4bcddb1c8d import fix
Signed-off-by: Dipti <dipti.dhond@candelatech.com>
2021-03-02 13:06:47 -08:00
Dipti
362b6f8a07 fixing mistake. adding L4CXProfile
Signed-off-by: Dipti <dipti.dhond@candelatech.com>
2021-03-02 13:02:54 -08:00
Chuck SmileyRekiere
6ac8cd0269 l3_cxprofile.py : change inheritance to LFCliBase from BaseProfile 2021-03-02 08:20:52 -07:00
Jed Reynolds
a73e9723d5 create_vr.py: start() method attempts to move vrcx
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-03-02 00:08:00 -08:00
Jed Reynolds
27a94d00e7 vr_profile.py: WIP adding placement logic for moving vrcx into a virtual router
- introduces cached_routers since routers take over 1s to query, self.router_list() updates self.cached_routers
- positional placement math is correct
- adds method for finding cached router given nominal parameters of resource_id and name
- vrcx naming is broken, somehow rd0a becomes a mythical 1.1.rd0a
- netsmith window not updated after moving vrcx yet

Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-03-02 00:08:00 -08:00
Jed Reynolds
b3b36be2ae create_vr.py: adding vrcx movement
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-03-02 00:08:00 -08:00
Jed Reynolds
6c9d1e484d LFRequest.py: adds stacktrace output to errors that exit
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-03-02 00:08:00 -08:00
Jed Reynolds
ccf5688f5e vr_profile.py: WIP adding placement logic for virtual routers, getting point within VR bounds
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-03-02 00:08:00 -08:00
Jed Reynolds
af7002d495 vr_profile.py: WIP adding placement logic for virtual routers
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-03-02 00:08:00 -08:00
Jed Reynolds
97141b2229 realm.py: adds arguments to logg to display structure
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-03-02 00:08:00 -08:00
Dipti
2f102bab82 fixing imports on both files
Signed-off-by: Dipti <dipti.dhond@candelatech.com>
2021-03-01 14:55:22 -08:00
Dipti
5706f48eb0 BaseProfile addition - baseprofile is inherited by L3CXProfile
Signed-off-by: Dipti <dipti.dhond@candelatech.com>
2021-03-01 14:51:29 -08:00
Dipti
76b2b90d1d l3_cxprofile taken out of realm, version number put into realm.py
Signed-off-by: Dipti <dipti.dhond@candelatech.com>
2021-03-01 14:40:51 -08:00
Dipti
00cf3c827c l3_cxprofile taken out of realm, version number put into realm.py
Signed-off-by: Dipti <dipti.dhond@candelatech.com>
2021-03-01 14:38:41 -08:00