Removed reliance on upstream port having ip

This commit is contained in:
Logan Lipke
2020-11-13 17:06:01 -08:00
parent 1592f768e0
commit c6f0088846
6 changed files with 6 additions and 6 deletions

View File

@@ -99,7 +99,7 @@ class IPV4L4(LFCliBase):
def start(self, print_pass=False, print_fail=False):
temp_stas = self.sta_list.copy()
temp_stas.append(self.local_realm.name_to_eid(self.upstream_port)[2])
# temp_stas.append(self.local_realm.name_to_eid(self.upstream_port)[2])
self.station_profile.admin_up()
if self.local_realm.wait_for_ip(temp_stas):
self._pass("All stations got IPs", print_pass)

View File

@@ -102,7 +102,7 @@ class IPV4L4(LFCliBase):
self.port_util.set_ftp(port_name=self.local_realm.name_to_eid(self.upstream_port)[2], resource=1, on=True)
temp_stas = self.sta_list.copy()
self.station_profile.admin_up()
temp_stas.append(self.local_realm.name_to_eid(self.upstream_port)[2])
# temp_stas.append(self.local_realm.name_to_eid(self.upstream_port)[2])
if self.local_realm.wait_for_ip(temp_stas):
self._pass("All stations got IPs", print_pass)
else:

View File

@@ -85,7 +85,7 @@ class IPV4L4(LFCliBase):
def start(self, print_pass=False, print_fail=False):
self.port_util.set_ftp(port_name=self.local_realm.name_to_eid(self.upstream_port)[2], resource=1, on=True)
temp_stas = self.sta_list.copy()
temp_stas.append(self.local_realm.name_to_eid(self.upstream_port)[2])
# temp_stas.append(self.local_realm.name_to_eid(self.upstream_port)[2])
cur_time = datetime.datetime.now()
interval_time = cur_time + datetime.timedelta(minutes=10)
passes = 0

View File

@@ -82,7 +82,7 @@ class IPV4L4(LFCliBase):
def start(self, print_pass=False, print_fail=False):
temp_stas = self.sta_list.copy()
temp_stas.append(self.local_realm.name_to_eid(self.upstream_port)[2])
# temp_stas.append(self.local_realm.name_to_eid(self.upstream_port)[2])
cur_time = datetime.datetime.now()
interval_time = cur_time + datetime.timedelta(minutes=10)
passes = 0

View File

@@ -95,7 +95,7 @@ class IPV4VariableTime(LFCliBase):
def start(self, print_pass=False, print_fail=False):
self.station_profile.admin_up()
temp_stas = self.station_profile.station_names.copy()
temp_stas.append(self.upstream)
# temp_stas.append(self.upstream)
if self.local_realm.wait_for_ip(temp_stas):
self._pass("All stations got IPs", print_pass)
else:

View File

@@ -94,7 +94,7 @@ class IPV6VariableTime(LFCliBase):
def start(self, print_pass=False, print_fail=False):
self.station_profile.admin_up()
temp_stas = self.station_profile.station_names.copy()
temp_stas.append(self.upstream)
# temp_stas.append(self.upstream)
if self.local_realm.wait_for_ip(temp_stas, ipv4=False, ipv6=True):
self._pass("All stations got IPs", print_pass)
else: