diff --git a/README.md b/README.md index b44416e7..fadad6ab 100644 --- a/README.md +++ b/README.md @@ -11,13 +11,13 @@ these scripts are more modern and may be a good place to start: | Name | Purpose | |------------------|-----------| -| `lf_portmod.pl` | Query and update physical and virtual ports | -| `lf_firemod.pl` | Query and update connections (Layer 3) | -| `lf_icemod.pl` | Query and update WAN links and impairments | -| `lf_attenmod.pl` | Query and update CT70X programmable attenuators | -| `lf_associate_ap.pl` | Query and update wifi stations | -| `lf_tos_test.py` | Python script to generate traffic at different QoS and report in spreadsheet | -| `lf_sniff.py` | Python script to create packet capture files, especially OFDMA /AX captures | +| `lf_associate_ap.pl` | LANforge server script for associating virtual stations to an arbitrary SSID | +| `lf_attenmod.pl` | Query and update CT70X programmable attenuators | +| `lf_firemod.pl` | Query and update connections (Layer 3) | +| `lf_icemod.pl` | Query and update WAN links and impairments | +| `lf_portmod.pl` | Query and update physical and virtual ports | +| `lf_tos_test.py` | Generate traffic at different QoS and report in spreadsheet | +| `lf_sniff.py` | Create packet capture files, especially OFDMA /AX captures | The `lf_wifi_rest_example.pl` script shows how one might call the other scripts from within a script. @@ -27,38 +27,38 @@ Read more examples in the [scripting LANforge](http://www.candelatech.com/lfcli_ ### Python Scripts ### -When starting to use Python, please run the update_deps.py script located in py-scripts to install all necessary dependencies for this library. +When starting to use Python, please run the update_dependencies.py script located in py-scripts to install all necessary dependencies for this library. | Name | Purpose | |------|---------| -| `lf_tos_test.py` | Python script to generate traffic at different QoS and report performance in a spreadsheet | -| `lf_sniff.py` | Python script to create packet capture files, especially OFDMA /AX captures | -| `cicd_TipIntegration.py` | Python script for Facebook TIP infrastructure| +| `lf_tos_test.py` | Generate traffic at different QoS and report performance in a spreadsheet | +| `lf_sniff.py` | Create packet capture files, especially OFDMA /AX captures | +| `cicd_TipIntegration.py` | Facebook TIP infrastructure| | `cicd_testrail.py` | TestRail API binding for Python 3 | -| `cicd_testrailAndInfraSetup.py` | Python script for Facebook TIP infrastructure | -| `lf_cisco_dfs.py` | Python scripts customized for cisco controllers | -| `lf_cisco_snp.py` | Python script customized for cisco controllers | -| `lf_dut_sta_vap_test.py` | Python script to load an existing scenario, start some layer 3 traffic, and test the Linux based DUT that has SSH server | -| `run_cv_scenario.py` | Python script to set the LANforge to a BLANK database then it will load the specified database and start a graphical report | -| `sta_connect2.py` | Python script to create a station, run TCP and UDP traffic then verify traffic was received. Stations are cleaned up afterwards | -| `test_fileio.py` | Python script to test FileIO traffic | -| `test_generic.py` | Python script to test generic traffic using generic cross-connect and endpoint type | -| `test_ipv4_connection.py` | Python script to test connections to a VAP of varying security types (WEP, WPA, WPA2, WPA3, Open) | -| `test_ipv4_l4.py` | Python script to test layer 4 traffic using layer 4 cross-connect and endpoint type | -| `test_ipv4_l4_ftp_upload.py` | Python script to test ftp upload traffic | -| `test_ipv4_l4_ftp_urls_per_ten.py` | Python script to test the number of urls per ten minutes in ftp traffic | -| `test_ipv4_l4_ftp_wifi.py` | Python script to test ftp upload traffic wifi-wifi | -| `test_ipv4_l4_urls_per_ten.py` | Python script to test urls per ten minutes in layer 4 traffic | -| `test_ipv4_l4_wifi.py` | Python script to test layer 4 upload traffic wifi-wifi| -| `test_ipv4_ttls.py` | Python script to test connection to ttls system | -| `test_ipv4_variable_time.py` | Python script to test connection and traffic on VAPs of varying security types (WEP, WPA, WPA2, WPA3, Open) | -| `test_ipv6_connection.py` | Python script to test IPV6 connection to VAPs of varying security types (WEP, WPA, WPA2, WPA3, Open) | -| `test_ipv6_variable_time.py` | Python script to test IPV6 connection and traffic on VAPs of varying security types (WEP, WPA, WPA2, WPA3, Open) | -| `test_l3_WAN_LAN.py` | Python script to test traffic over a bridged NAT connection | -| `test_l3_longevity.py` | Python script customized for cisco controllers | -| `test_l3_scenario_throughput.py` | Python script to load an existing scenario and run the simultaneous throughput over time and generate report and P=plot the G=graph| -| `test_l3_unicast_traffic_gen.py` | Python script to generate unicast traffic over a list of stations| -| `tip_station_powersave.py` | Python script to generate and test for powersave packets within traffic run over multiple stations | +| `cicd_testrailAndInfraSetup.py` | Facebook TIP infrastructure | +| `lf_dfs_test.py` | Test testing dynamic frequency selection (dfs) between an AP connected to a controller and Lanforge| +| `lf_snp_test.py` | Test scaling and performance (snp) run various configurations and measures data rates | +| `lf_dut_sta_vap_test.py` | Load an existing scenario, start some layer 3 traffic, and test the Linux based DUT that has SSH server | +| `run_cv_scenario.py` | Set the LANforge to a BLANK database then it will load the specified database and start a graphical report | +| `sta_connect2.py` | Create a station, run TCP and UDP traffic then verify traffic was received. Stations are cleaned up afterwards | +| `test_fileio.py` | Test FileIO traffic | +| `test_generic.py` | Test generic traffic using generic cross-connect and endpoint type | +| `test_ipv4_connection.py` | Test connections to a VAP of varying security types (WEP, WPA, WPA2, WPA3, Open) | +| `test_ipv4_l4.py` | Test layer 4 traffic using layer 4 cross-connect and endpoint type | +| `test_ipv4_l4_ftp_upload.py` | Test ftp upload traffic | +| `test_ipv4_l4_ftp_urls_per_ten.py` | Test the number of urls per ten minutes in ftp traffic | +| `test_ipv4_l4_ftp_wifi.py` | Test ftp upload traffic wifi-wifi | +| `test_ipv4_l4_urls_per_ten.py` | Test urls per ten minutes in layer 4 traffic | +| `test_ipv4_l4_wifi.py` | Test layer 4 upload traffic wifi-wifi| +| `test_ipv4_ttls.py` | Test connection to ttls system | +| `test_ipv4_variable_time.py` | Test connection and traffic on VAPs of varying security types (WEP, WPA, WPA2, WPA3, Open) | +| `test_ipv6_connection.py` | Test IPV6 connection to VAPs of varying security types (WEP, WPA, WPA2, WPA3, Open) | +| `test_ipv6_variable_time.py` | Test IPV6 connection and traffic on VAPs of varying security types (WEP, WPA, WPA2, WPA3, Open) | +| `test_l3_WAN_LAN.py` | Test traffic over a bridged NAT connection | +| `test_l3_longevity.py` | Create variable stations on multiple radios, configurable rates, PDU, ToS, TCP and/or UDP traffic, upload and download, attenuation | +| `test_l3_scenario_throughput.py` | Load an existing scenario and run the simultaneous throughput over time and generate report and P=plot the G=graph| +| `test_l3_unicast_traffic_gen.py` | Generate unicast traffic over a list of stations| +| `tip_station_powersave.py` | Generate and test for powersave packets within traffic run over multiple stations | ### Perl and Shell Scripts ### @@ -70,20 +70,23 @@ When starting to use Python, please run the update_deps.py script located in py- | `attenuator_series.pl` | Reads a CSV of attenuator settings and replays them to CT70X programmble attenuator | | `ftp-upload.pl` | Use this script to collect and upload station data to FTP site | | `imix.pl` | packet loss survey tool | -| `lf_associate_ap.pl` | LANforge server script for associating virtual stations to an chosen SSID | +| `lf_associate_ap.pl` | LANforge server script for associating virtual stations to an chosen SSID | | `lf_attenmod.pl` | This program is used to modify the LANforge attenuator through the LANforge | | `lf_auto_wifi_cap.pl` | This program is used to automatically run LANforge-GUI WiFi Capacity tests | -| `lf_cmc_macvlan.pl` | This program is used to stress test the LANforge system, and may be used as an example for others who wish to automate LANforge tests | +| `lf_cmc_macvlan.pl` | Stress test sets up traffic types of udp , tcp , continuously starts and stops the connections | | `lf_create_bcast.pl` | creates a L3 broadcast connection | | `lf_cycle_wanlinks.pl` | example of how to call lf_icemod.pl from a script | | `lf_endp_script.pl` | create a hunt script on a L3 connection endpoint | | `lf_firemod.pl` | queries and modifies L3 connections | +| `lf_generic_ping.pl` | Generate a batch of Generic lfping endpoints | +| `lf_gui_cmd.pl` | Initiate a stress test | | `lf_icemod.pl` | queries and modified WANLink connections | | `lf_ice.pl` | adds and configures wanlinks | | `lf_l4_auth.pl` | example of scripting L4 http script with basic auth | | `lf_l4_reset.sh` | reset any layer 4 connection that reaches 0 Mbps over last minute | | `lf_log_parse.pl` | Convert the timestamp in LANforge logs (it is in unix-time, miliseconds) to readable date | | `lf_loop_traffic.sh` | Repeatedly start and stop a L3 connection | +| `lf_macvlan_l4.pl` | Set up connection types: lf_udp, lf_tcp across 1 real port and many macvlan ports on 2 machines. Then continously starts and stops the connections. | | `lf_mcast.bash` | Create a multicast L3 connection endpoint | | `lf_monitor.pl` | Monitor L4 connections | | `lf_nfs_io.pl` | Creates and runs NFS connections | diff --git a/lf_cmc_macvlan.pl b/lf_cmc_macvlan.pl index 1fc6c73f..cf596f85 100755 --- a/lf_cmc_macvlan.pl +++ b/lf_cmc_macvlan.pl @@ -5,7 +5,7 @@ # This script sets up connections of types: # lf, lf_udp, lf_tcp, custom_ether, custom_udp, and custom_tcp -# across 1 real port and manny macvlan ports on 2 machines. +# across 1 real port and many macvlan ports on 2 machines. # It then continously starts and stops the connections. # Un-buffer output diff --git a/lf_create_bcast.pl b/lf_create_bcast.pl index 43ae031c..0cb9910c 100755 --- a/lf_create_bcast.pl +++ b/lf_create_bcast.pl @@ -1,4 +1,12 @@ #!/usr/bin/perl -w + +# This program creates a UDP broadcast connection + +# Written by Candela Technologies Inc. +# Udated by: +# +# + use strict; use warnings; use Carp;