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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
f423588e59
whitespace
...
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
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
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