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
Matthew Stidham
cd46e17589
formatting error in measure_station_time_up
...
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com >
2021-03-01 10:58:43 -08:00
Jed Reynolds
d2c1714417
adjust_apache.pl: more improvements:
...
- reformatted inconsistent indentation
- added options '-a' automatic '-h' help '-d' debug
- tests for '-t STDIN' to determine if interactive mode terminal
- prints diff -y comparison of diff files
- does not copy if no changes
- logs warnings and errors using logger
- you can check journalctl to see where backup and editfiles are
- reduces debug output
Signed-off-by: Jed Reynolds <jed@candelatech.com >
2021-02-27 12:56:12 -08:00
Jed Reynolds
c6ce8e2eee
adjust_apache.pl: several fixes:
...
- avoids printing eth0 hostname multiple times
- stops printing LF-HOSTNAME-NEXT multiple times
- fixes die() on untracked ip address
- fixes warnings about duplicate IPs for hostnames
- writes to temp file before copying it over to /etc/hosts
- checks length of /tmp/t_hosts_X file and exits if length is zero
- backs up /etc/hosts to /etc/.hosts-$datetime before starting edits
Signed-off-by: Jed Reynolds <jed@candelatech.com >
2021-02-26 18:34:01 -08:00
Jed Reynolds
5f39aee5bc
vr_profile: debugging breakpoint
...
Signed-off-by: Jed Reynolds <jed@candelatech.com >
2021-02-26 18:34:01 -08:00
Jed Reynolds
b8cb1df566
vr_profile: WIP improved bounding box
...
Signed-off-by: Jed Reynolds <jed@candelatech.com >
2021-02-26 18:34:01 -08:00
Chuck SmileyRekiere
3049685ae2
lf_snp_test.py : more generic controller name script cleanup lf_dfs_test.py minor script cleanup
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-02-26 17:31:02 -07:00
Matthew Stidham
6a343f7995
measure_station_time_up now works on multiple stations
...
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com >
2021-02-26 14:37:18 -08:00
Jed Reynolds
ab19b3ae95
vr_profile: WIP computing bounding box of all VRs and vrcx entities
...
Signed-off-by: Jed Reynolds <jed@candelatech.com >
2021-02-26 13:45:43 -08:00
Jed Reynolds
4f85aa86c9
create_vr.py: fixes broken requires/default option for vr_name
...
Signed-off-by: Jed Reynolds <jed@candelatech.com >
2021-02-26 12:29:04 -08:00
Jed Reynolds
4990a1397e
vr_profile.py: can query routers and router connections, get coordinates
...
Signed-off-by: Jed Reynolds <jed@candelatech.com >
2021-02-26 12:28:40 -08:00
Jed Reynolds
dd47bf0e63
LFUtils.py: adds list_to_alias_map() a generic version of port_list_to_alias_map
...
Signed-off-by: Jed Reynolds <jed@candelatech.com >
2021-02-26 12:28:04 -08:00
Dipti
dcf85ba785
compare two dfs, small bugs but logic is now there
...
Signed-off-by: Dipti <dipti.dhond@candelatech.com >
2021-02-25 09:38:48 -08:00
Matthew Stidham
7d03848c90
Get time point for when the stations are up
...
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com >
2021-02-24 20:07:07 -08:00
Matthew Stidham
932ddb1698
create measure_station_time_up
...
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com >
2021-02-24 17:28:56 -08:00
Matthew Stidham
6ca7eb5a67
correct the testgroup del_group command
...
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com >
2021-02-24 14:00:46 -08:00
Matthew Stidham
1ff7b5df50
Correct the rm_group command in testgroup.py
...
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com >
2021-02-24 13:57:54 -08:00
Chuck SmileyRekiere
c1537145e8
test_l3_longevity.py : removed controller programming
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-02-24 14:33:58 -07:00
Chuck SmileyRekiere
8cb00b99b5
Revert "test_l3_longevity.py : move results to report-data"
...
This reverts commit 2ec33b65de .
2021-02-24 13:59:14 -07:00
Chuck SmileyRekiere
2ec33b65de
test_l3_longevity.py : move results to report-data
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-02-24 13:53:08 -07:00
Matthew Stidham
b65722b07b
Do not run scenario_throughput, it takes too long
...
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com >
2021-02-24 12:40:17 -08:00
Matthew Stidham
433fe14aff
Additional testgorup regression tests
...
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com >
2021-02-24 11:49:53 -08:00
Matthew Stidham
f3453d7350
Fix test_fileio command
...
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com >
2021-02-24 11:44:55 -08:00
Matthew Stidham
dcd3f2a108
Added a new logging function using the python logging function into lfcli base and updating realm to use the new function
...
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com >
2021-02-24 11:25:03 -08:00
Dipti
12ec1f640c
edits to duration loop, doesn't need to pause when toggling 'another iteration'
...
Signed-off-by: Dipti <dipti.dhond@candelatech.com >
2021-02-23 22:41:35 -08:00
Dipti
cb757f5d28
no longer dependencies on LFclibase in test script
...
Signed-off-by: Dipti <dipti.dhond@candelatech.com >
2021-02-23 13:25:41 -08:00
Matthew Stidham
8785416614
Fixing formatting errors
...
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com >
2021-02-23 13:01:31 -08:00
Dipti
ba440709fa
test class no longer needs self.host,client,url
...
Signed-off-by: Dipti <dipti.dhond@candelatech.com >
2021-02-23 12:56:30 -08:00
Matthew Stidham
ddc27c44da
Use functions so that run_l3_longevity and scenario work in regression
...
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com >
2021-02-23 12:15:12 -08:00
Jed Reynolds
b1aace043e
vr_profile.py: can now make Netsmith window update and sync
...
Signed-off-by: Jed Reynolds <jed@candelatech.com >
2021-02-23 08:12:26 -08:00
Chuck SmileyRekiere
6270a3a6f6
lf_dfs_test.py: changed reference to controller from product specific name
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-02-23 07:30:34 -07:00
Chuck SmileyRekiere
369caa965d
lf_cisco_power.py -> lf_tx_power.py steps towards more generic solutions
2021-02-23 07:11:23 -07:00
Chuck SmileyRekiere
047c843c3b
cisco_wifi_ctl.py -> wifi_ctl_9800_3504.py and associated changes
2021-02-23 07:07:49 -07:00
Chuck SmileyRekiere
55dbb4c6a9
cisco_ap_ctl.py -> ap_ctl.py , lf_cisco_power.py, lf_dfs_test.py : update to use ap_ctl.py
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-02-23 06:13:32 -07:00
Chuck SmileyRekiere
d00fe37f52
lf_cisco_dfs.py -> lf_dfs_test.py lf_cisco_snp.py -> lf_snp_test.py beginning of moving product name
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-02-23 05:59:49 -07:00
Dipti
833f8b4b6b
unselect another iteration
...
Signed-off-by: Dipti <dipti.dhond@candelatech.com >
2021-02-22 18:58:08 -08:00
Dipti
4ff5e2c45f
changes to sleep time and 'load' instead of 'create'
...
Signed-off-by: Dipti <dipti.dhond@candelatech.com >
2021-02-22 18:05:20 -08:00
Chuck SmileyRekiere
dfede65bba
lf_cisco_dfs.py : script clean up
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-02-22 18:17:40 -07:00
Matthew Stidham
0aaa22705e
Fix realm layer 4 monitor function by removing DataFrame error from previous test
...
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com >
2021-02-22 16:54:30 -08:00
Matthew Stidham
5af72ba83b
add wait_until_ports_disappear to sta_connect2
...
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com >
2021-02-22 16:15:53 -08:00
Matthew Stidham
5853ef6f52
Change how regression test marks an error in order to make it more accurate
...
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com >
2021-02-22 16:14:54 -08:00
Nikita Yadav
53dbc8b55b
changed inherit class from lfclibase to Realm
2021-02-23 03:04:30 +05:30
Chuck SmileyRekiere
a947e440a1
lf_cisco_dfs.py : dfs code clean up
2021-02-22 13:46:09 -07:00
Nikita Yadav
365bd94a77
changed inherit class from lfclibase to Realm
2021-02-23 01:22:19 +05:30
Matthew Stidham
3830e7e55d
correct scenario.py
...
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com >
2021-02-22 11:31:50 -08:00
Jed Reynolds
c01f7f4c8e
variation of run_cv_scenario that clicks pause
...
Signed-off-by: Jed Reynolds <jed@candelatech.com >
2021-02-22 09:32:05 -08:00