mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-02 03:37:55 +00:00
Fixed create_qvlan.py script
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
This commit is contained in:
@@ -17,6 +17,7 @@ from vap_profile import VAPProfile
|
||||
from mac_vlan_profile import MACVLANProfile
|
||||
from wifi_monitor_profile import WifiMonitor
|
||||
from gen_cxprofile import GenCXProfile
|
||||
from qvlan_profile import QVLANProfile
|
||||
from port_utils import PortUtils
|
||||
# ---- ---- ---- ---- Other Imports ---- ---- ---- ----
|
||||
import re
|
||||
@@ -658,7 +659,7 @@ class Realm(LFCliBase):
|
||||
else:
|
||||
if debug:
|
||||
print("Found IP: %s on port: %s" % (v['ip'], sta_eid))
|
||||
print("Incrementing stations with IP addresses found")
|
||||
print("Incmenting stations with IP addresses found")
|
||||
num_sta_with_ips += 1
|
||||
else:
|
||||
num_sta_with_ips += 1
|
||||
@@ -911,6 +912,9 @@ class Realm(LFCliBase):
|
||||
# mac_vlan_profile = mac_vlan_profile2.MACVLANProfile2(self.lfclient_host, self.lfclient_port, local_realm=self, debug_=self.debug)
|
||||
return mac_vlan_profile
|
||||
|
||||
def new_qvlan_profile(self):
|
||||
return QVLANProfile(self.host, self.port, local_realm=self, debug_=self.debug)
|
||||
|
||||
def new_test_group_profile(self, ver = 1):
|
||||
if ver == 1:
|
||||
test_group_profile = TestGroupProfile(self.lfclient_host, self.lfclient_port, local_realm=self, debug_=self.debug)
|
||||
|
||||
Reference in New Issue
Block a user