Skip to content

Pr port reset#6

Open
Sidartha-CT wants to merge 419 commits intomasterfrom
pr_port_reset
Open

Pr port reset#6
Sidartha-CT wants to merge 419 commits intomasterfrom
pr_port_reset

Conversation

@Sidartha-CT
Copy link
Copy Markdown
Owner

No description provided.

smileyrekiere and others added 30 commits July 12, 2025 09:24
This test requires specific setup with an attenuator and two APs
that support FT-PSK (11r).  Verified to the best of ability

Verification:

./lf_roam_test.py  for hard roam remove --soft_roam TRUE

./lf_roam_test.py\
 --mgr 192.168.50.11\
 --ap1_bssid "04:f0:21:f2:ea:79"\
 --ap2_bssid "04:f0:21:f2:ea:79"\
 --fiveg_radios "1.1.wiphy1"\
 --band "fiveg"\
 --sniff_radio "wiphy0"\
 --num_sta 1\
 --ssid_name "routed-AP"\
 --security "open"\
 --security_key "BLANK"\
 --duration None\
 --upstream "eth2"\
 --iteration 1\
 --channel "36"\
 --option "ota"\
 --dut_name ["AP1","AP2"]\
 --traffic_type "lf_udp"\
 --log_file False\
 --debug False\
 --iteration_based

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
Verification:
./run_voip_cs.py --help

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
…N-4243

Added details to AP auto tests

Verification:
./lf_check.py\
 --json_rig ./ct_rig_json/ct_us_005_rig.json\
 --json_dut ./ct_dut_json/ct_005_AXE11000_dut.json\
 --json_test ./ct_tests_json/ct_us_005/ct_ap_auto/ct_ap_auto_capacity_005.json:ct_ap_auto_capacity_005\
 --db_override ./tools/test_005_delete_7_18_25.db\
 --path '/home/lanforge/html-reports/ct_us_005

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
create the directory

Verified: vscode
           //// lf_check.py 008 ct_us_008
            "args": [
                "--json_rig","./ct_rig_json/ct_us_008_rig_TP_BE19000.json",
                "--json_dut","./ct_dut_json/ct_008_TP_BE19000_dut.json",
                "--json_test","./ct_tests_json/ct_us_008/ct_perf_functional/ct_test_l3.json:ct_test_l3",
                "--db_override","./tools/test_008_delete_7_18_25.db",
                "--path","/home/lanforge/html-reports/ct_us_008"
            ]

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
…t_test_l3.json

Initial commit

Verificed:
            //// lf_check.py 008 ct_us_008
            "args": [
                "--json_rig","./ct_rig_json/ct_us_008_rig_TP_BE19000.json",
                "--json_dut","./ct_dut_json/ct_008_TP_BE19000_dut.json",
                "--json_test","./ct_tests_json/ct_us_008/ct_perf_functional/ct_test_l3.json:ct_test_l3",
                "--db_override","./tools/test_008_delete_7_18_25.db",
                "--path","/home/lanforge/html-reports/ct_us_008"
            ]

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
Signed-off-by: Alex Gavin <alex.gavin@candelatech.com>
Verified:
./testgroup.py --list_groups

Signed-off-by: Alex Gavin <alex.gavin@candelatech.com>
Signed-off-by: Alex Gavin <alex.gavin@candelatech.com>
Signed-off-by: Alex Gavin <alex.gavin@candelatech.com>
Verified:
./lf_wifi_capacity_test.py \
	--duration	60000 \
	--protocol 	UDP \
	--upstream 	1.2.AP-ROOT-LAN \
	--stations 	1.1.sta0000 \
	--batch_size 	1

Signed-off-by: Alex Gavin <alex.gavin@candelatech.com>
Verified:
./lf_wifi_capacity_test.py \
    --duration      60000 \
    --protocol      UDP \
    --upstream      1.2.AP-ROOT-LAN \
    --stations      1.1.sta0000 \
    --batch_size    1

Signed-off-by: Alex Gavin <alex.gavin@candelatech.com>
…oint is given

The check_request_rate and check_errors methods were crashing when
the user was only using a single station. They now check if they have
received a list of endpoints or a single endpoint.

Verification
./test_l4.py
	--mgr localhost
	--upstream_port eth1
	--radio wiphy0
	--num_stations 1
	--security open
	--ssid 102-tplinkB-5g
	--test_duration 30s
	--url "dl http://192.168.0.103/ /dev/null"
	--requests_per_ten 600
	--test_type 'urls'
	--test_rig Test-Lab
	--dut_hw_version Linux
	--test_id "L4 data"

Signed-off-by: Liam Reynolds <liam.reynolds@candelatech.com>
Signed-off-by: Sidartha-CT <neelapu.sidartha@candelatech.com>
…ion.

    - Waits up to 20 retries for all CXs (connections) to be created.
    - Devices will be excluded from the test if their cross-connections are not created.
    - Moved the device categorization code in main below the monitor_cx call to ensure it uses the updated values.

Signed-off-by: Sidartha-CT <neelapu.sidartha@candelatech.com>
Signed-off-by: Sidartha-CT <neelapu.sidartha@candelatech.com>
Signed-off-by: Sidartha-CT <neelapu.sidartha@candelatech.com>
-For the purpose of testhouse ,moved dewebgui code to above the generate_report.

Signed-off-by: Sidartha-CT <neelapu.sidartha@candelatech.com>
-Images generated from testhouse live_view are being stored in result directory, then added to report via add_live_view_images_to_report_function.

Signed-off-by: Sidartha-CT <neelapu.sidartha@candelatech.com>
Verified CLI(Real Clients) :python3 lf_webpage.py --ap_name "Cisco" --mgr 192.168.204.75 --ssid Cisco-5g --security wpa2 --passwd sharedsecret --upstream_port eth1 --duration 1m --bands 5G --client_type Real --file_size 2MB --device_list 1.95

Verified CLI(Virtual Clients) : python3 lf_webpage.py --ap_name "Netgear" --mgr 192.168.204.75 --twog_ssid NETGEAR_2G_wpa2 --twog_security wpa2 --twog_passwd Password@123 --twog_radio wiphy0 --upstream_port eth1 --duration 1m --bands 2.4G --client_type Virtual --file_size 2MB --num_stations 3

Signed-off-by: Sidartha-CT <neelapu.sidartha@candelatech.com>
… data.

-Some CXs were occasionally disappearing during L3 endpoint monitoring, affecting the whole test. Added exception handling to continue with remaining devices.

Signed-off-by: Sidartha-CT <neelapu.sidartha@candelatech.com>
…vices

Signed-off-by: Sidartha-CT <neelapu.sidartha@candelatech.com>
-For the purpose of testhouse ,moved dewebgui code to above the generate_report.

Signed-off-by: Sidartha-CT <neelapu.sidartha@candelatech.com>
…images.

-Images generated from testhouse live_view are being stored in result directory, then added to report.

Signed-off-by: Sidartha-CT <neelapu.sidartha@candelatech.com>
Verified CLI : python3 lf_interop_qos.py --ap_name Cisco --mgr 192.168.204.75 --mgr_port 8080 --ssid Cisco --passwd cisco@123 --security wpa2 --upstream eth1 --test_duration 1m --download 1000000 --upload 0 --traffic_type lf_udp --tos "VO,VI,BE,BK"

Signed-off-by: Sidartha-CT <neelapu.sidartha@candelatech.com>
- Added logic to handle connectivity checks when tests are triggered from the WebGUI
Verified CLI: python3 lf_interop_ping_plotter.py --mgr 192.168.244.97 --real --target 8.8.8.8 --ping_interval 1 --ping_duration 1m --ssid xiab_2G_WPA2 --security wpa2 --passwd lanforge --server_ip 192.168.1.14 --wait_time 30

Signed-off-by: Nikhita <kadali.nikhita@candelatech.com>
Signed-off-by: Alex Gavin <alex.gavin@candelatech.com>
Signed-off-by: Alex Gavin <alex.gavin@candelatech.com>
Signed-off-by: Alex Gavin <alex.gavin@candelatech.com>
Verified:
./lf_wifi_capacity_test.py \
	--protocol 	UDP \
	--upstream 	1.1.eth1 \
	--stations 	1.1.sta0000 \
	--batch_size 	1

./run_cv_scenario.py \
	--lfmgr 	192.168.1.101 \
	--lanforge_db 	BaseState \
	--cv_scenario 	BaseScenario \
	--cv_test 	'WiFi Capacity'

Signed-off-by: Alex Gavin <alex.gavin@candelatech.com>
Verified:
./lf_wifi_capacity_test.py \
    --protocol      UDP \
    --upstream      1.1.eth1 \
    --stations      1.1.sta0000 \
    --batch_size    1

Signed-off-by: Alex Gavin <alex.gavin@candelatech.com>
smileyrekiere and others added 29 commits September 24, 2025 18:33
updated log message to be actionable.

Verified:
--help_summary - to check for syntax

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
updated log message to be actionable.

Verified:
--help_summary - to check for syntax

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
updated log message to be actionable.

Verified:
--help_summary - to check for syntax

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
updated log message to be actionable.

Verified:
--help_summary - to check for syntax

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
changed logger.info to logger.error
updated log message to be actionable.

Verified:
--help_summary - to check for syntax

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
…s and save images.

-Images generated from testhouse live_view are being stored in result directory, then added to report via add_live_view_images_to_report_function.

Signed-off-by: Sidartha-CT <neelapu.sidartha@candelatech.com>
Signed-off-by: Sidartha-CT <neelapu.sidartha@candelatech.com>
…tions from individual scripts.

Signed-off-by: Sidartha-CT <neelapu.sidartha@candelatech.com>
…elated code.

-While running with testhouse, after the status goes to 'stopped' in the WebGUI CSVs, the images are generated. To include these images in the report, call generate_all_report after the WebGUI code.

Signed-off-by: Sidartha-CT <neelapu.sidartha@candelatech.com>
… images for all tests.

-Images generated from testhouse live_view are being stored in result directory, then added to report via add_live_view_images_to_report_function.

Signed-off-by: Sidartha-CT <neelapu.sidartha@candelatech.com>
-flake8-bugbear flagged it as "Result of comparison is not used. This line doesn't do anything. Did you intend to prepend it with assert?"

Signed-off-by: Sidartha-CT <neelapu.sidartha@candelatech.com>
Verified CLI: python3 lf_mixed_traffic.py --mgr 192.168.204.75 --tests 1 2 3 4 5 --target google.com --ping_interval 5 --upstream_port 1.1.eth1 --side_b_min_bps 3000000 --side_a_min 1000000 --side_b_min 1000000 --traffic_type lf_tcp --tos VI --ftp_file_sizes 10MB --http_file_size 5MB --direction Download --mc_tos BE --real --qos_serial --mixed_traffic_loop 1 --ping_test_duration 1m --qos_test_duration 30s --ftp_test_duration 30s --http_test_duration 30s --multicast_test_duration 30s --pre_cleanup --use_default_config
Signed-off-by: Sidartha-CT <neelapu.sidartha@candelatech.com>
Signed-off-by: Narayana-CT <narayana.pinapatruni@candelatech.com>
… report

 VERIFIED CLI - python3 -u lf_ftp.py --file_name 192.168.204.75_groups --group_name grp1,grp2  --file_sizes 5MB --mgr 192.168.204.75 --traffic_duration 1M --directions Download --clients_type Real --bands 5G --upstream_port eth1   --profile_name profile1,profile1 --wait_time 60

Signed-off-by: Renusree-ct <renusree.rayavarapu@candelatech.com>
… HTTP report

 VERIFIED CLI - python3 -u lf_webpage.py --file_name 192.168.204.75_groups --group_name grp1,grp2  --file_size 5MB --mgr 192.168.204.75 --duration 1m --client_type Real --bands 5G --upstream_port eth1  --profile_name profile1,profile1 --wait_time 60

Signed-off-by: Renusree-ct <renusree.rayavarapu@candelatech.com>
https://candelatech.atlassian.net/browse/LAN-4430

Verified:
./lf_update.py\
 --mgr 192.168.50.104\
 --root_user root\
 --root_password lanforge\
 --user lanforge\
 --user_password lanforge\
 --mgr_ssh_port 22\
 --lfver 5.5.1\
 --kver 6.15.6+\
 --user_timeout 10\
 --root_timeout 600\
 --log_level info

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
Verified:
        // ./lf_update.py 523c
        "args":[
            "--mgr", "192.168.50.104",  // local 004
            // "--mgr", "192.168.100.116", // ct_us_001
            // "--mgr", "192.168.88.40", // warehouse
            // "--mgr", "192.168.101.18", // ct_us_002
            // "--mgr", "192.168.100.194", // ct_us_004
            // "--mgr", "192.168.100.194", // ct_us_005-1
            // "--mgr", "192.168.101.91", // ct_us_005-2
            // "--mgr", "192.168.102.197", // ct_us_007
            // "--mgr", "192.168.101.137", // ct_us_008-1
            // "--mgr", "192.168.101.117", // ct_us_008-2
            // "--mgr", "192.168.102.212", // ct_us_008-3
            // "--mgr", "192.168.100.221", // ct_us_009
            // "--mgr", "192.168.88.40",   // ct_us_warehouse
            "--root_user", "root",
            "--root_password", "lanforge",
            "--user", "lanforge",
            "--user_password", "lanforge",
            "--mgr_ssh_port", "22",
            "--log_level","info",
            "--lfver","5.5.2",
            "--kver","6.15.6+",
            "--user_timeout","10",
            "--root_timeout","400",
            "--log_level","info"
        ]

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
updated to show the configured server and the version of server
read.
Updated to show the configured kernel and the version of the kernel read.

        // ./lf_update.py 523c
        "args":[
            "--mgr", "192.168.50.104",  // local 004
            // "--mgr", "192.168.100.116", // ct_us_001
            // "--mgr", "192.168.88.40", // warehouse
            // "--mgr", "192.168.101.18", // ct_us_002
            // "--mgr", "192.168.100.194", // ct_us_004
            // "--mgr", "192.168.100.194", // ct_us_005-1
            // "--mgr", "192.168.101.91", // ct_us_005-2
            // "--mgr", "192.168.102.197", // ct_us_007
            // "--mgr", "192.168.101.137", // ct_us_008-1
            // "--mgr", "192.168.101.117", // ct_us_008-2
            // "--mgr", "192.168.102.212", // ct_us_008-3
            // "--mgr", "192.168.100.221", // ct_us_009
            // "--mgr", "192.168.88.40",   // ct_us_warehouse
            "--root_user", "root",
            "--root_password", "lanforge",
            "--user", "lanforge",
            "--user_password", "lanforge",
            "--mgr_ssh_port", "22",
            "--log_level","info",
            "--lfver","5.5.2",
            "--kver","6.15.6+",
            "--user_timeout","10",
            "--root_timeout","400",
            "--log_level","info"
        ]


Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
…revent errors.

Signed-off-by: Sidartha-CT <neelapu.sidartha@candelatech.com>
…he purpose of clustered LF.

Signed-off-by: Sidartha-CT <neelapu.sidartha@candelatech.com>
Signed-off-by: Sidartha-CT <neelapu.sidartha@candelatech.com>
Signed-off-by: Sidartha-CT <neelapu.sidartha@candelatech.com>
…e of clustered LF.

Signed-off-by: Sidartha-CT <neelapu.sidartha@candelatech.com>
…orting

Signed-off-by: Sidartha-CT <neelapu.sidartha@candelatech.com>
… version check.

Signed-off-by: Sidartha-CT <neelapu.sidartha@candelatech.com>
Signed-off-by: Sidartha-CT <neelapu.sidartha@candelatech.com>
-Changed nargs for --release argument, as release arg is not needed for laptops.

Signed-off-by: Sidartha-CT <neelapu.sidartha@candelatech.com>
Signed-off-by: Sidartha-CT <neelapu.sidartha@candelatech.com>
…pep8.

Verifed CLI : python3 lf_interop_port_reset_test.py --host 192.168.207.78 --mgr_ip eth1 --dut AP --ssid NETGEAR_2G_wpa2 --encryp psk2 --passwd Password@123 --reset 5 --time_int 3 --release  --device_list DESKTOP-DDPI3HE,ubuntu24

Signed-off-by: Sidartha-CT <neelapu.sidartha@candelatech.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants