mirror of
				https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
				synced 2025-11-04 04:38:02 +00:00 
			
		
		
		
	Revert "import realm properly in station_layer3.py"
This reverts commit a1c739701e.
			
			
This commit is contained in:
		@@ -9,8 +9,10 @@ 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):
 | 
			
		||||
@@ -26,7 +28,7 @@ class STATION(LFCliBase):
 | 
			
		||||
        self.name_prefix = name_prefix
 | 
			
		||||
        self.upstream = upstream
 | 
			
		||||
 | 
			
		||||
        self.local_realm = Realm(lfclient_host=self.host, lfclient_port=self.port)
 | 
			
		||||
        self.local_realm = 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