Commit Graph

  • bc09dd7698 create-cv-dut: Improve parser, exit on bad security type. Ben Greear 2022-01-31 13:25:31 -08:00
  • 509d091b66 lfcli_base.LFCLIBase.create_basic_argparse: Add noclean argument Matthew Stidham 2022-01-31 09:50:49 -08:00
  • e9901bb35e create_bridge: Move noclean to lfclibase Matthew Stidham 2022-01-31 09:50:33 -08:00
  • ba88468f8c create_bond: Move noclean to lfclibase Matthew Stidham 2022-01-31 09:50:20 -08:00
  • ae4cac5587 lf_ftp.py: text and whitespace updates - autopep8 Scott Wedge 2022-01-31 09:07:32 -06:00
  • df85ca92f2 lf_ftp.py: add kpi.csv and resource-2 features Scott Wedge 2022-01-31 08:17:36 -06:00
  • 1da6d7d2f3 python/cv: Start adding debugging to create_chamberview Ben Greear 2022-01-30 20:18:02 -08:00
  • b774389d54 remove create_bond_and_station logic. Ben Greear 2022-01-30 16:54:39 -08:00
  • 9a63700d99 create_bond: Inherit from realm, add pass/fail. Ben Greear 2022-01-30 11:16:00 -08:00
  • bbfc9a1077 lfutils: wait_until_ports_admin_up treat 404 ports as down. Ben Greear 2022-01-30 11:14:50 -08:00
  • ad1b0187e7 gen-cx: Add example cmd used to verify changes on machine heather. Ben Greear 2022-01-30 10:24:27 -08:00
  • 998f25cb95 generic-endp: Fix multitude of errors. Ben Greear 2022-01-30 10:18:31 -08:00
  • c5ddccbdfd generic-cx: code cleanup and return error checking. Ben Greear 2022-01-29 18:05:50 -08:00
  • d532d7f8bf logging: Add set_json logic to lf_logger_config Ben Greear 2022-01-29 16:35:06 -08:00
  • 2f3eb58c41 Add --log_level option to lfcli base class. Ben Greear 2022-01-29 16:29:54 -08:00
  • 24e75a8ab3 create_l4.py : changed prints to logger Chuck SmileyRekiere 2022-01-29 10:41:13 -07:00
  • 0f1ffdd0ee l4_cxprofile.py : moved prints to logger create_l4.py : moved prints to logger -needed for testing Chuck SmileyRekiere 2022-01-29 10:09:11 -07:00
  • f0fdc40cca l3_cxprofile.py : moved logger debug back behind if debug or if self.debug Chuck SmileyRekiere 2022-01-29 08:38:00 -07:00
  • 90be6e8dfd py-json/station_profile.py : moved logger.debug back behind if self.debug and if debug Chuck SmileyRekiere 2022-01-29 08:04:49 -07:00
  • c099c578b8 realm.py : changed prints to logger messages Chuck SmileyRekiere 2022-01-29 07:54:08 -07:00
  • 793a215e2b Add logging to example_security_connection script. Ben Greear 2022-01-29 06:12:50 -08:00
  • 41f587e424 lfutils: wait_until_ports_disappear will return True or False Ben Greear 2022-01-29 06:11:51 -08:00
  • 40bc34f04d LFUtils.py : changes prints to logger Chuck SmileyRekiere 2022-01-28 17:21:53 -07:00
  • 4067621b40 gen_cxprofile.py : changed pprint to logger and pformat Chuck SmileyRekiere 2022-01-28 15:51:57 -07:00
  • b8787de105 lf_webpage.py: Added multi resource compatibility, started logging implementation, still WIP Logan Lipke 2022-01-28 13:09:08 -08:00
  • eea68062c0 gen_cxprofile.py : changed prints to logger Chuck SmileyRekiere 2022-01-28 11:47:13 -07:00
  • 22a4473c7d http_profile.py: update def create() for resource-2 tests, add logging module Scott Wedge 2022-01-28 12:13:51 -06:00
  • 2164d5fc16 l3_cxprofile.py : updated to use logger Chuck SmileyRekiere 2022-01-28 10:50:28 -07:00
  • ff56cdccfb test_l3_unicast_traffic_gen: Fix improper station creation in test_l3_unicast_traffic_gen Matthew Stidham 2022-01-28 09:33:40 -08:00
  • e824080c24 regression_test: Use eval so that commands with quotes are properly executed Matthew Stidham 2022-01-28 09:33:19 -08:00
  • ec3a09b60f LFUtils: When debug is on, clearly state all stations have appeared in success case Matthew Stidham 2022-01-27 17:07:58 -08:00
  • 3426f22bcc test_l3.py : pep8 , white space changes Chuck SmileyRekiere 2022-01-27 17:01:43 -07:00
  • 109d24e505 test_l3.py added exit(0) for pass , exit(1) for fail Chuck SmileyRekiere 2022-01-27 16:47:46 -07:00
  • 1dc0a5c2ab py-json/station_profile.py : prints changed to logger Chuck SmileyRekiere 2022-01-27 15:05:51 -07:00
  • f4ecff6bb4 regression-test: Always produce an HTML report Matthew Stidham 2022-01-27 13:17:58 -08:00
  • 56f8c0a820 regression_test: don't quote the command when not in an eval command add test_l3 to regression_test Matthew Stidham 2022-01-27 12:53:33 -08:00
  • ae78aee979 regression_test: Fix scenario.py method call Matthew Stidham 2022-01-27 11:24:28 -08:00
  • 261b491b23 create_l3_stations: remove trailing semicolons and make argumentse explicit Matthew Stidham 2022-01-27 10:29:27 -08:00
  • 615dd1c9c3 regression-test: check test script return code to detect failure. Ben Greear 2022-01-27 10:40:37 -08:00
  • 57f8a83020 lf_logger_config_test.py : removed spacing from simple logger format, added filename lf_logger_config_test.py : updated to show example of using lf_logger_config.json one directy up lf_logger_config.json , lf_logger_config_example.json : updated with simple format Chuck SmileyRekiere 2022-01-27 10:37:55 -07:00
  • d697963cec create-cx: Add return code checking for cx and endp creation. Ben Greear 2022-01-26 16:47:05 -08:00
  • 4bb9cb4b82 l3-stations: error checking for station creation. Ben Greear 2022-01-26 16:06:26 -08:00
  • 12add4503a py-json/realm.py : moved back to using lists (original code from a couple of days ago) Chuck SmileyRekiere 2022-01-26 12:22:51 -07:00
  • d3035aca57 test_l3_longevity.py : changed printed errors to raise ValueError so script exits on mis configuration Chuck SmileyRekiere 2022-01-26 12:13:55 -07:00
  • 4acd3beb29 realm.py : removed the len(endpoint) > 1 Chuck SmileyRekiere 2022-01-26 11:58:56 -07:00
  • 676bcab1d7 lfcli_base.check_connect: Replace while loop with for loop for additional security. Add timeout argument Matthew Stidham 2022-01-25 15:25:34 -08:00
  • a9e0189e8d Revert "realm.wait_until_ports_disappear: endp_list needs a length greater than 0, not 1" Matthew Stidham 2022-01-25 15:14:14 -08:00
  • a9c6ab4f12 realm.wait_until_ports_disappear: endp_list needs a length greater than 0, not 1 Matthew Stidham 2022-01-25 15:11:34 -08:00
  • 629069cfad realm.wait_until_endps_appear: check to make sure there is a port in the endpoints list Matthew Stidham 2022-01-25 15:09:07 -08:00
  • d131abe916 realm.wait_until_endps_appear: Replace try: except: loop with if condition, so we don't potentially hide bugs remove unnecessary variables Matthew Stidham 2022-01-25 15:00:34 -08:00
  • 282667b861 LFUtils: Use pythonic name for get_as_json Replace all while loops with for loops, for security Matthew Stidham 2022-01-25 14:46:33 -08:00
  • 02dd8e41d5 sandbox/lf_logger_config_example.json : multiple loggers in one module test sandbox/lf_sublogger_2.py : testing multiple loggers Chuck SmileyRekiere 2022-01-25 15:10:58 -07:00
  • e128a6aa5f LFUtils.wait_until_ports_appear: alert the user if a port is phantom Use a for loop for increased stability remove deprecated variables Matthew Stidham 2022-01-25 13:10:26 -08:00
  • 1ced503244 lf_logger_config.py : default root logger to info form warning Chuck SmileyRekiere 2022-01-25 13:51:14 -07:00
  • 43e6b7ef09 test_generic: Switch from print statements to logger statements Matthew Stidham 2022-01-25 11:56:18 -08:00
  • 7ad7f003c7 lfcli_base.py added --lf_logger_config_json to base args Chuck SmileyRekiere 2022-01-25 12:37:32 -07:00
  • 944021855a station_profile: Timestamp printing needed an additional parentheses Matthew Stidham 2022-01-24 18:19:17 -08:00
  • df5879fc77 sta_connect.setup: check_exists should be used as an argument in rm_port, the existing code was probably from before we had the check_exists method Matthew Stidham 2022-01-24 17:11:37 -08:00
  • 0c9215abb5 lf_logger_config_example.json : sandbox example for using logging config lf_logger_config_test.py : example program lf_sublogger.py : included module sample lf_sublogger_2.py : included an inherited module same. Chuck SmileyRekiere 2022-01-24 16:56:56 -07:00
  • b7236d5007 sta_connect2: wait_until_ports_appear needs list of ports Matthew Stidham 2022-01-24 15:48:36 -08:00
  • a4eb0fceb9 lf_logger_config.json : the defaults in the file may need to be worked out, or just that there will be custome configurations test_l3.py : intial pass of using the logger functionality Chuck SmileyRekiere 2022-01-24 15:53:34 -07:00
  • eb63792064 test_l3.py : updated to use logger Chuck SmileyRekiere 2022-01-24 15:26:18 -07:00
  • 0a0bd5e25b LFUtils.wait_until_ports_appear: Improve docstring for port_list if port_list is not a list, make it a list Matthew Stidham 2022-01-24 14:29:39 -08:00
  • 3201f297cc sta_scan_test: Fix improper wait_until_ports_appear port_list input Matthew Stidham 2022-01-24 14:28:45 -08:00
  • 7e175950a7 lf_logger_config.py : intial checkin of the lf logger library for minimal wrapper around the python logger lf_logger_config.json : example of how to set different log levels for various modules. Chuck SmileyRekiere 2022-01-24 15:24:38 -07:00
  • a16072f062 station_profile.create: print timestamp in milliseconds when removing ports when debug is on Matthew Stidham 2022-01-24 12:56:39 -08:00
  • dbc9c21b80 sta_scan_test: Don't use positional arguments. We were passing the port list into the URL field for wait_until_ports_appear Matthew Stidham 2022-01-24 12:05:53 -08:00
  • 199dcb7ca1 sta_connect2: debug needs to be done as store_true, just like the rest of lanforge_scripts Matthew Stidham 2022-01-24 11:54:48 -08:00
  • ad845bafa3 regression_test: If the test is a success, reset LOGGING to a blank string Matthew Stidham 2022-01-24 10:49:23 -08:00
  • 693adadf30 realm.rm_port: Don't spout an error if the port exists, just return False. Matthew Stidham 2022-01-24 09:44:06 -08:00
  • 8fb5a4c5f8 Both files: Fix wait_until_ports_disappear arguments, debug is called by debug_, not debug Matthew Stidham 2022-01-24 09:31:03 -08:00
  • 563111c851 tip_statio_powersave: pass debug to arguments Matthew Stidham 2022-01-21 17:17:40 -08:00
  • 05fa06d8a6 test_l4: Pass debug information to realm Matthew Stidham 2022-01-21 17:16:11 -08:00
  • 32e772b809 test_l3_WAN_LAN: Pass debug to realm Matthew Stidham 2022-01-21 17:13:38 -08:00
  • a124ccde42 test_ip_variable_time: Pass debug to rm_port Matthew Stidham 2022-01-21 17:10:51 -08:00
  • 782c0b1d2c test_ipv4_ttls: Pass debug information to functions Matthew Stidham 2022-01-21 17:09:58 -08:00
  • ff0b787d8a test_ipv4_ps: Pass debug information to rm_port Matthew Stidham 2022-01-21 17:08:43 -08:00
  • 2b6a74914b test_ip_connection: Pass debug information to rm_port command Matthew Stidham 2022-01-21 17:07:34 -08:00
  • 7233c31940 sta_scan_test: Pass debug argument to wait_until_ports_appear Matthew Stidham 2022-01-21 17:04:32 -08:00
  • 07f6bf3ca6 sta_connect2: Pass debug argument to wait_until_ports_disappear Matthew Stidham 2022-01-21 17:03:17 -08:00
  • 35e21fdd68 sta_connect2: use debug argument flag and pass on to functions Matthew Stidham 2022-01-21 17:00:22 -08:00
  • 44a260be66 create_vr: Create more debug output when debug is on Matthew Stidham 2022-01-21 16:57:42 -08:00
  • 90cf89fa05 sta_connect: add debug when wait_until_something_something Matthew Stidham 2022-01-21 16:56:09 -08:00
  • 7d4cf97a23 test_l3_unicast_traffic_gen: Output more debug output when debug is turned on Matthew Stidham 2022-01-21 16:52:45 -08:00
  • ac9d722a18 regression_test: add back logging recording logic Matthew Stidham 2022-01-21 16:21:42 -08:00
  • 0c28b8745c scenario.py: Python logic allows us to easily compare lists of integers the way we want to Matthew Stidham 2022-01-21 08:58:34 -08:00
  • c9cdfe40be scenario.py: Use logic to test versions so that when we upgrade LANforge to 5.4.6 that scenario will still use the events tab without manual fixing. Matthew Stidham 2022-01-21 08:49:47 -08:00
  • f86e86545e scenario.py: Also check if LANforge version is 5.4.5 when determining whether to use events json data or not Matthew Stidham 2022-01-20 16:14:25 -08:00
  • 38724f7daa regression_test: Check if user is using anaconda, if so, install lanforge-scripts appropriately if the user is not using any virtual environment, install from pip using --user flag Matthew Stidham 2022-01-20 16:05:56 -08:00
  • ea9bad3ce6 regression_test: append to filename.txt, don't overwrite data from scenario.py Matthew Stidham 2022-01-20 15:39:28 -08:00
  • 63211997a9 regression_test: Use correct arguments for lf_dataplane_test Matthew Stidham 2022-01-20 15:25:23 -08:00
  • 4c1ab7edbc regression_test: Fix mamin logic of regression-test which was broken. Restore it back to where it was and add in the new features Matthew Stidham 2022-01-20 12:49:23 -08:00
  • 2901944573 test_l3_powersave_traffic: make the local_realm input argument for modules explicit Matthew Stidham 2022-01-20 10:17:49 -08:00
  • a6241dc08c regression_test: Store report_data in report_data Matthew Stidham 2022-01-20 08:40:19 -08:00
  • c89b3930e0 regression_test: fix logic, fix arguments Matthew Stidham 2022-01-20 08:35:55 -08:00
  • a19b9e42ab test_l3_powersave_traffic: print ports when debug is on at beginning and end of test Matthew Stidham 2022-01-19 16:05:06 -08:00
  • 8a502c918c station_profile: Do not try to run set() on a dictionary, that does not work. port_list needs to be a list of the keys in the 'interfaces' output of lanforge json Matthew Stidham 2022-01-19 15:39:54 -08:00
  • e646d20141 adjust_apache.pl: fixes bug where tab character could break file Jed Reynolds 2022-01-19 14:14:37 -08:00
  • 91259d1474 regression_test: Save report-data to report-data. Matthew Stidham 2022-01-19 14:01:33 -08:00
  • d135d1ee6e StationProfile.create: LFRequest needs to be fed the url to make the request to Matthew Stidham 2022-01-19 09:52:28 -08:00