mirror of
				https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
				synced 2025-10-31 02:38:03 +00:00 
			
		
		
		
	import realm properly in station_layer3.py
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
		| @@ -9,10 +9,8 @@ import time | ||||
| if 'py-json' not in sys.path: | ||||
|     sys.path.append('../py-json') | ||||
| from LANforge import LFUtils | ||||
| from LANforge import lfcli_base | ||||
| from LANforge.lfcli_base import LFCliBase | ||||
| from LANforge.LFUtils import * | ||||
| import realm | ||||
| from realm import Realm | ||||
|  | ||||
| class STATION(LFCliBase): | ||||
| @@ -28,7 +26,7 @@ class STATION(LFCliBase): | ||||
|         self.name_prefix = name_prefix | ||||
|         self.upstream = upstream | ||||
|  | ||||
|         self.local_realm = realm.Realm(lfclient_host=self.host, lfclient_port=self.port) | ||||
|         self.local_realm = Realm(lfclient_host=self.host, lfclient_port=self.port) | ||||
|         self.station_profile = self.local_realm.new_station_profile() | ||||
|         self.station_profile.ssid = self.ssid | ||||
|         self.station_profile.ssid_pass = self.paswd, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Matthew Stidham
					Matthew Stidham