mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-01 03:07:56 +00:00
Modified path append to work better with Windows, updated use of wait_for_ip calls to work with new params
This commit is contained in:
@@ -1,13 +1,14 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import sys
|
||||
import os
|
||||
|
||||
if sys.version_info[0] != 3:
|
||||
print("This script requires Python 3")
|
||||
exit(1)
|
||||
|
||||
if 'py-json' not in sys.path:
|
||||
sys.path.append('../py-json')
|
||||
sys.path.append(os.path.join(os.path.abspath('..'), 'py-json'))
|
||||
|
||||
import argparse
|
||||
from LANforge.lfcli_base import LFCliBase
|
||||
@@ -89,7 +90,9 @@ class IPV6VariableTime(LFCliBase):
|
||||
def start(self, print_pass=False, print_fail=False):
|
||||
print("Starting test")
|
||||
self.station_profile.admin_up(self.resource)
|
||||
self.local_realm.wait_for_ip(ipv6=True)
|
||||
temp_stas = self.sta_list.copy()
|
||||
temp_stas.append("eth1")
|
||||
self.local_realm.wait_for_ip(self.resource, temp_stas, ipv6=True)
|
||||
cur_time = datetime.datetime.now()
|
||||
old_cx_rx_values = self.__get_rx_values()
|
||||
end_time = self.local_realm.parse_time(self.test_duration) + cur_time
|
||||
|
||||
Reference in New Issue
Block a user