Skip to content

Added Client-Type scenarios Existing Stations, Real + Virtual, Real + Existing Stations.#60

Open
manoj9088 wants to merge 2 commits into
masterfrom
ping_vr
Open

Added Client-Type scenarios Existing Stations, Real + Virtual, Real + Existing Stations.#60
manoj9088 wants to merge 2 commits into
masterfrom
ping_vr

Conversation

@manoj9088
Copy link
Copy Markdown
Collaborator

Also added functionality of pinging devices specified in device_list / ip's mentioned in resp_ip from --sta_port.


import shutil
from datetime import datetime, timedelta

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

No extra line

self.interval = interval
self.debug = debug
self.sta_list = sta_list
self.sta_list = sta_list if self.sta_list == [] else self.sta_list
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

check with if self.sta_list self.sta_list==[] is not required

Comment thread py-scripts/lf_interop_ping.py Outdated
Comment on lines +283 to +288






Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

No extra lines , please have flake8 & flake8-bugbear check



self.last_written_seq = {}
# self.last_Result_per_Station = {}
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

remove commented code

manoj9088 added 2 commits May 26, 2026 18:24
…for --clients_type -> Real Clients, Virtual Stations, Existing Virtual Stations, Real + Virtual Stations, Real + Existing Stations"

Signed-off-by: Manoj9088 <manoj.kolluru@candelatech.com>
… clients type Real, Virtual, Existing Station List, Real + Virtual, Real + Existing Station and Added functionality of Pinging different ips from one ip(--sta_port)

VERIFIED CLI:

1.python3 lf_interop_ping.py --mgr 192.168.207.78  --ping_interval 5 --ping_duration 1  --expected_passfail_value 5 --clients_type real  --sta_to_res --sta_port 1.1.eth1  --use_default_config --res_ip 192.168.204.80 --device_list 1.4,1.15
2.python3 lf_interop_ping.py --mgr 192.168.207.78  --ping_interval 5 --ping_duration 1  --expected_passfail_value 5 --clients_type both --target 8.8.8.8 --num_sta 5 --ssid NETGEAR_5G_wpa2 --passwd Password@123 --security wpa2 --radio 1.1.wiphy1 --use_default_config
3.python3 lf_interop_ping.py --mgr 192.168.207.78  --ping_interval 5 --ping_duration 1  --expected_passfail_value 5 --clients_type both --target 8.8.8.8 --use_existing_sta_list --existing_sta_list 1.1.sta00,1.1.sta01,1.1.sta02 --use_default_config
4.python3 lf_interop_ping.py --mgr 192.168.207.78  --ping_interval 5 --ping_duration 1  --expected_passfail_value 5 --clients_type virtual --target 8.8.8.8 --use_existing_sta_list --existing_sta_list 1.1.sta00,1.1.sta01,1.1.sta02 --use_default_config
5.python3 lf_interop_ping.py --mgr 192.168.207.78  --ping_interval 5 --ping_duration 1  --expected_passfail_value 5 --clients_type both --target 8.8.8.8 --use_existing_sta_list --existing_sta_list 1.1.sta00,1.1.sta01,1.1.sta02  --ssid NETGEAR_2G_wpa2 --passwd Password@123 --security wpa2

Signed-off-by: Manoj9088 <manoj.kolluru@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.

4 participants