Skip to content

Conversation

@jpmprog
Copy link
Collaborator

@jpmprog jpmprog commented Jan 7, 2026

What it says on the tin, makes the WiFi
Capacity Test py-json script work from
WebGUI.

Patch at customer request.

Copy link
Collaborator

@smileyrekiere smileyrekiere left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why would you not what the file name in the logging

self.create_test_config(self.config_name, "Wifi-Capacity-", add_port)
idx += 1

self.apply_cfg_options(cfg_options, self.enables, self.disables, self.raw_lines, self.raw_lines_file)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't this line necessary ? self.apply_cfg_options? we do use self.raw_lines and raw_lines_files ,

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The file name is left out of the logging as the --logger_no_file flag is passed from WebGUI. It was less of a decision on my end, and more of a interface change to make it more compatible.

What it says on the tin, makes the WiFi
Capacity Test py-json script work from
WebGUI.

Patch at customer request.

CLI to run:
./lf_wifi_capacity_test.py --mgr localhost \
                           --port 8080 \
                           --instance_name wificap-webgui-inst \
                           --local_lf_report_dir /home/lanforge/Desktop \
                           --raw_lines_file /home/lanforge/wificap.txt

CLI issued by WebGUI:
./lf_wifi_capacity_test.py --mgr 192.168.102.229 \
                           --logger_no_file \
                           --pull_report \
                           --raw_line rpt_path:/home/lanforge \
                           --instance_name 'WBGUIWCAPTEST' \
                           --raw_lines_file '/home/lanforge/local/interop-webGUI/media/uploads/chamber_tests/WBGUIWCAPTEST/wificap.txt'

Signed-off-by: John-Paul M. Powers <jpmp@candelatech.com>
@jpmprog jpmprog force-pushed the 0001-scripts-lf_wifi_capacity_test.py-WebGUI-fix.patch branch from 4d84def to 5b1ab8c Compare January 7, 2026 18:45
@a-gavin a-gavin requested a review from smileyrekiere January 7, 2026 18:50
@jpmprog jpmprog merged commit e3a7520 into master Jan 12, 2026
4 checks passed
@jpmprog jpmprog deleted the 0001-scripts-lf_wifi_capacity_test.py-WebGUI-fix.patch branch January 12, 2026 21:27
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.

3 participants