mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-03 04:07:52 +00:00
Make it so VAP profile works with Realm again
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
@@ -60,7 +60,8 @@ port_utils = importlib.import_module("py-json.port_utils")
|
|||||||
PortUtils = port_utils.PortUtils
|
PortUtils = port_utils.PortUtils
|
||||||
lfdata = importlib.import_module("py-json.lfdata")
|
lfdata = importlib.import_module("py-json.lfdata")
|
||||||
LFDataCollection = lfdata.LFDataCollection
|
LFDataCollection = lfdata.LFDataCollection
|
||||||
|
vr_profile2 = importlib.import_module("py-json.vr_profile2")
|
||||||
|
VRProfile = vr_profile2.VRProfile
|
||||||
|
|
||||||
def wpa_ent_list():
|
def wpa_ent_list():
|
||||||
return [
|
return [
|
||||||
@@ -932,12 +933,10 @@ class Realm(LFCliBase):
|
|||||||
# debug_=self.debug)
|
# debug_=self.debug)
|
||||||
return vap_prof
|
return vap_prof
|
||||||
|
|
||||||
def new_vr_profile(self, ver=2):
|
def new_vr_profile(self):
|
||||||
if ver == 2:
|
vr_prof = VRProfile(local_realm=self,
|
||||||
from vr_profile2 import VRProfile
|
|
||||||
vap_prof = VRProfile(local_realm=self,
|
|
||||||
debug=self.debug)
|
debug=self.debug)
|
||||||
return vap_prof
|
return vr_prof
|
||||||
|
|
||||||
def new_http_profile(self, ver = 1):
|
def new_http_profile(self, ver = 1):
|
||||||
if ver == 1:
|
if ver == 1:
|
||||||
|
|||||||
Reference in New Issue
Block a user