mirror of
				https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
				synced 2025-10-31 18:58:01 +00:00 
			
		
		
		
	Removed reliance on upstream port having ip
This commit is contained in:
		| @@ -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) | ||||
|   | ||||
| @@ -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: | ||||
|   | ||||
| @@ -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 | ||||
|   | ||||
| @@ -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 | ||||
|   | ||||
| @@ -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: | ||||
|   | ||||
| @@ -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: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Logan Lipke
					Logan Lipke