From e9aef2eb0f0ed5c4e7903933e468bc23078f309a Mon Sep 17 00:00:00 2001 From: Matthew Stidham Date: Tue, 4 May 2021 16:04:48 -0700 Subject: [PATCH] upstream-port fix Signed-off-by: Matthew Stidham --- py-scripts/lf_wifi_capacity_test.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/py-scripts/lf_wifi_capacity_test.py b/py-scripts/lf_wifi_capacity_test.py index 96c7136a..e7525b18 100755 --- a/py-scripts/lf_wifi_capacity_test.py +++ b/py-scripts/lf_wifi_capacity_test.py @@ -317,7 +317,7 @@ if 'py-json' not in sys.path: from cv_test_manager import cv_test as cvtest from cv_test_manager import * - +from LANforge import LFUtils class WiFiCapacityTest(cvtest): def __init__(self, @@ -402,8 +402,12 @@ class WiFiCapacityTest(cvtest): # Test related settings cfg_options = [] + + + eid = LFUtils.name_to_eid(self.upstream) + port = "%i.%i.%s"%(eid[0], eid[1], eid[2]) - port_list = [self.upstream] + port_list = [port] if self.stations == "": stas = self.station_map() # See realm for eid in stas.keys():