mirror of
				https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
				synced 2025-11-03 20:27:54 +00:00 
			
		
		
		
	upstream-port fix
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
This commit is contained in:
		@@ -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 cv_test as cvtest
 | 
				
			||||||
from cv_test_manager import *
 | 
					from cv_test_manager import *
 | 
				
			||||||
 | 
					from LANforge import LFUtils
 | 
				
			||||||
 | 
					
 | 
				
			||||||
class WiFiCapacityTest(cvtest):
 | 
					class WiFiCapacityTest(cvtest):
 | 
				
			||||||
    def __init__(self,
 | 
					    def __init__(self,
 | 
				
			||||||
@@ -402,8 +402,12 @@ class WiFiCapacityTest(cvtest):
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        # Test related settings
 | 
					        # Test related settings
 | 
				
			||||||
        cfg_options = []
 | 
					        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 == "":
 | 
					        if self.stations == "":
 | 
				
			||||||
            stas = self.station_map()  # See realm
 | 
					            stas = self.station_map()  # See realm
 | 
				
			||||||
            for eid in stas.keys():
 | 
					            for eid in stas.keys():
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user