Commit Graph

555 Commits

Author SHA1 Message Date
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
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
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
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
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
Dipti
877ec79f7f deleted dupe init code in realm.py
Signed-off-by: Dipti <dipti.dhond@candelatech.com>
2021-02-19 11:12:45 -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
Jed Reynolds
2dbb6a6585 vr_profile.py: adding cleanup and refresh methods
- Refresh is to help update the state of the VirtualRouterFrame
- cleanup for removing a named virtual router

Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-02-16 15:02:13 -08:00
Jed Reynolds
9b541cb20c vr_profile.py: adding dwell time on nc_show_vr to try helping Netsmith update
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-02-16 15:02:13 -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
a988444dc8 creates a virtual router, WIP 2021-02-15 16:48:59 -08:00
Jed Reynolds
40e766a7a8 uses the logg() method 2021-02-15 16:48:59 -08:00
Jed Reynolds
07a7ce5a22 adds log output method, please keep developing this 2021-02-15 16:48:59 -08:00
Jed Reynolds
30e4bbc38b LFUtils: restricts input to string 2021-02-15 16:48:59 -08:00
Dipti
89f17eb678 start of comparison of 2 dataframes 2021-02-12 11:37:56 -08:00
Logan Lipke
820db9e03e Changed command for lfcurl 2021-02-11 17:44:46 -08:00
Dipti
283ad29523 labels port manager columns if they are not layer 3 columns 2021-02-11 01:30:43 -08:00
Dipti
5e4cca4c5c fixed headers 2021-02-10 23:51:28 -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
Dipti
5ca632527c port manager cols works 2021-02-10 21:44:28 -08:00
Dipti
7e19dc16fe fixed broken code due to merge 2021-02-10 18:22:57 -08:00
Dipti
35c4af6b4d merges 2021-02-10 18:20:40 -08:00
Matthew Stidham
ca7225a444 adding parse_time to ipv4_variable_time 2021-02-10 17:22:39 -08:00
Logan Lipke
687b6603bb Added week and millisecond units to parse_time 2021-02-10 16:56:14 -08:00
Matthew Stidham
083aa65e35 fix realm error 2021-02-10 13:34:29 -08:00
Matthew Stidham
d80a912d89 Merge branch 'master' of github.com:greearb/lanforge-scripts 2021-02-10 13:25:50 -08:00
Matthew Stidham
f7162411e6 create scripts print when they are finished 2021-02-10 13:25:41 -08:00
Dipti
52e8662ec5 list manipulation and dict formation of port info for retrieving from port manager 2021-02-10 12:27:46 -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
Logan Lipke
a3e1f572c6 Added lfcurl GenCXProfile type WIP 2021-02-09 17:58:34 -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
9aa823aede corrected filename to str format, was not working earlier, now working. removed unnecessary comments 2021-02-06 02:01:58 -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
8dba7a9182 comments, line spacing changes 2021-02-06 00:52:55 -08:00
Chuck SmileyRekiere
a9c5365e13 realm.py : catch exception no endp_list['endpoint'] 2021-02-05 18:37:03 -07:00
Matthew Stidham
c75235aa43 Merge branch 'master' of github.com:greearb/lanforge-scripts 2021-02-05 17:25:57 -08:00
Matthew Stidham
6ab3e1e2da regression_test updates 2021-02-05 17:25:31 -08:00
Dipti
9a3e66dfa7 reformation of monitor loop - writes to disk 2021-02-05 16:55:01 -08:00
Dipti
5cb8c5dd20 checks if response is none 2021-02-05 16:55:01 -08:00