Jed Reynolds
f60f0055be
LFRequest error printing is now more centralized:
...
print_diagnostics extracts X-Error headers first
LFRequest can track errors in self.error_list
LFReuqest can print errors
Classes lf lfcli_base calling lfrequest.get_as_json() can expose 404 or other errors using lfrequest.print_errors()
Signed-off-by: Jed Reynolds <jed@candelatech.com >
2021-07-29 16:53:21 -07:00
Chuck SmileyRekiere
4f7154b881
lfcli_base.py: added success method that does not exit to allow for report generation from script after success
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-04-07 05:36:18 -06:00
Matthew Stidham
519cd785cb
Remove halt on error from all inheritors of realm
...
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com >
2021-03-17 14:26:06 -07: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
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
434feca6a5
Inheritance from base_profile works
...
Signed-off-by: Dipti <dipti.dhond@candelatech.com >
2021-03-02 13:46:24 -08:00
Jed Reynolds
f423588e59
whitespace
...
Signed-off-by: Jed Reynolds <jed@candelatech.com >
2021-03-02 13:13:57 -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
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
87210c1cb7
changed logic for var_time, improved error message for incorrect monitor_interval input
...
Signed-off-by: Dipti <dipti.dhond@candelatech.com >
2021-02-20 14:35:24 -08:00
Chuck SmileyRekiere
f3d0848c5c
Revert "creation of lfdata.py, import of lfdata.py"
...
This reverts commit 009b6110a1 .
2021-02-19 09:10:10 -07:00
Dipti
009b6110a1
creation of lfdata.py, import of lfdata.py
...
Signed-off-by: Dipti <dipti.dhond@candelatech.com >
2021-02-19 02:45:01 -08:00
Dipti
84760e6959
added imports to only when they are used (small imports), dataframe comparison underway
...
Signed-off-by: Dipti <dipti.dhond@candelatech.com >
2021-02-18 10:24:55 -08:00
Dipti
b1ebef8f19
added total_seconds function to calculate total seconds since epoch, test_time_elapsed column to help with dataframe comparison
...
Signed-off-by: Dipti <dipti.dhond@candelatech.com >
2021-02-17 12:47:45 -08:00
Dipti
9db0c32b38
df to file fully implemented and working
...
Signed-off-by: Dipti <dipti.dhond@candelatech.com >
2021-02-17 01:36:24 -08:00
Dipti
1a90891a74
added 'if debug' logic, df to excel now working, better print statements
...
Signed-off-by: Dipti <dipti.dhond@candelatech.com >
2021-02-16 14:52:38 -08:00
Dipti
836b24b781
changes csv to final output version
...
Signed-off-by: Dipti <dipti.dhond@candelatech.com >
2021-02-16 09:54:00 -08:00
Jed Reynolds
07a7ce5a22
adds log output method, please keep developing this
2021-02-15 16:48:59 -08:00
Dipti
89f17eb678
start of comparison of 2 dataframes
2021-02-12 11:37:56 -08:00
Dipti
283ad29523
labels port manager columns if they are not layer 3 columns
2021-02-11 01:30:43 -08:00
Dipti
81a502b182
commented out write_to_csv, added seconds to file name, fixed missing datapoint
2021-02-10 22:56:34 -08:00
Matthew Stidham
ca7225a444
adding parse_time to ipv4_variable_time
2021-02-10 17:22:39 -08:00
Dipti
1b7a29f77e
addition of query for port cols, beginning of acquiring port cols
2021-02-10 02:12:49 -08:00
Dipti
c3c0924cda
commented out broken code, added code so output_format and report_file exten. is passed in, exten is changed to csv to create file, then csv is changed to correct output format
2021-02-09 18:33:04 -08:00
Dipti
e0d1a63f94
correction of str concatenation, defaulting to csv file creation
2021-02-09 17:00:27 -08:00
Matthew Stidham
96ac1da9b8
new way to group all arguments of the same class together
2021-02-09 16:22:33 -08:00
Dipti
dda9b45740
fixed path saving. added script and LANforge information to csv file. copied df to other file output conversions
2021-02-08 22:51:05 -08:00
Dipti
f95974b1e7
addition of translation of csv to another format
2021-02-08 19:27:38 -08:00
Matthew Stidham
e1f507ce94
remove whitespace on edges from column names
2021-02-08 10:11:50 -08:00
Dipti
c3e9624ee5
ipv4_var_time now writes to disk - works
2021-02-06 01:55:36 -08:00
Dipti
0b451909bd
line spacing additions, small changes
2021-02-06 00:52:55 -08:00
Dipti
9a3e66dfa7
reformation of monitor loop - writes to disk
2021-02-05 16:55:01 -08:00
Matthew Stidham
08b476f8d6
Implement replace_special_char function
2021-02-04 13:48:05 -08:00
Matthew Stidham
0483b7dec3
get_milliseconds function
2021-02-04 11:52:56 -08:00
Jed Reynolds
a2d7841870
lfcli_base.py: adds -d for debug to bare argparse
2021-02-02 20:55:11 -08:00
Matthew Stidham
97516c825d
random characters for titles in regression test output
2021-02-02 14:53:03 -08:00
shivam
78e7148196
basic arg parse update
2021-01-27 17:15:20 -08:00
shivam
e4869e715a
test_utility update
2021-01-27 17:15:20 -08:00
Jed Reynolds
9a37ba42fe
lfcli_base.py: create_bare_argparse updates defaults for formatter
2021-01-27 17:15:20 -08:00
Dipti
033ed53e90
consistency in output
2020-12-18 15:10:41 -08:00
Jed Reynolds
062cf04d9b
lfcli_base.py: adds proxy construction logic
2020-12-18 12:36:26 -08:00
Jed Reynolds
6594a6ad34
lfcli_base.py: adds constant text for help on mode settings
2020-12-16 23:47:32 -08:00
Jed Reynolds
535f15e6c3
lfcli_base.py adds back --security option
2020-12-16 23:09:11 -08:00
Jed Reynolds
5c7fccf12f
lfcli_base.py: changes some False defaults to None
2020-12-16 14:59:45 -08:00
Jed Reynolds
67e7d2e034
lfcli_base.py: fixes self refrences to captured_signal methods
2020-12-16 14:44:58 -08:00
Dipti
96d6ffda06
arg switches pt 1
2020-12-14 13:12:00 -08:00
Dipti
6b4fbbbfd1
argparse groups added
2020-12-11 16:24:28 -08:00
Dipti
fcc4b20c1f
print out for script success clear
2020-12-11 00:16:02 -08:00
Dipti
e74e46a11b
lfcli base exit_success exit_fail get_passed_result_list
2020-12-10 01:08:40 -08:00
Dipti
c8b3204aac
edits
2020-12-08 15:50:28 -08:00