mirror of
				https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
				synced 2025-11-04 04:38:02 +00:00 
			
		
		
		
	Adding Cleanup Delay in Station Profile
This commit is contained in:
		@@ -3395,7 +3395,7 @@ class StationProfile:
 | 
				
			|||||||
        # First, request remove on the list.
 | 
					        # First, request remove on the list.
 | 
				
			||||||
        for port_eid in desired_stations:
 | 
					        for port_eid in desired_stations:
 | 
				
			||||||
            self.local_realm.rm_port(port_eid, check_exists=True, debug_=debug_)
 | 
					            self.local_realm.rm_port(port_eid, check_exists=True, debug_=debug_)
 | 
				
			||||||
 | 
					            time.sleep(delay)
 | 
				
			||||||
        # And now see if they are gone
 | 
					        # And now see if they are gone
 | 
				
			||||||
        LFUtils.wait_until_ports_disappear(base_url=self.lfclient_url,  port_list=desired_stations)
 | 
					        LFUtils.wait_until_ports_disappear(base_url=self.lfclient_url,  port_list=desired_stations)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user