Skip to content

Commit d7abceb

Browse files
Durga-CTgoyalsaurabh06
authored andcommitted
test_l3.py: Added comment for existing_station_list skip logic
VERIFIED CLI : 1. For running Multicast with real clients python3 test_l3.py --lfmgr 192.168.207.78 --test_duration 1m --polling_interval 5s --upstream_port eth1 --endp_type mc_udp --side_b_min_bps=10000000 --tos BE --real 2. For running layer 3 traffic with real clients python3 test_l3.py --lfmgr 192.168.207.78 --test_duration 1m --polling_interval 5s --upstream_port eth1 --endp_type lf_udp --side_b_min_bps=10000000 --tos BE --real 3. For running Multicast with both Existing and Virtual Stations python3 test_l3.py --lfmgr 192.168.207.78 --endp_type mc_udp --tos BK --upstream_port eth1 --radio 'radio==wiphy1 stations==2 ssid==NETGEAR-2 ssid_pw==Password@123 security==wpa2' --test_duration 1m --polling_interval 5s --side_b_min_bps 102400000 --sta_start_offset 2000 --use_existing_station_list --existing_station_list 1.1.sta0000,1.1.sta0001
1 parent 470bc53 commit d7abceb

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

py-scripts/test_l3.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2122,6 +2122,10 @@ def build(self, rebuild=False):
21222122
etype, self.side_b, tos=_tos, add_tos_to_name=True)
21232123
self.mtx_endps = self.multicast_profile.get_mc_names()
21242124
logger.info("Creating test station port(s)")
2125+
# For real + virtual or existing + virtual combinations, the first
2126+
# station profile represents the real/existing stations. Only the
2127+
# remaining profiles are used to create virtual stations, so skip
2128+
# station creation for i == 0 when using existing station lists.
21252129
for i, station_profile in enumerate(self.station_profiles):
21262130
if not rebuild and (not self.use_existing_station_lists or self.use_existing_station_lists and i != 0):
21272131
station_profile.use_security(

0 commit comments

Comments
 (0)