mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-02 03:37:55 +00:00
1. Create pandas_extensions.py
2. Remove unused imports Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
@@ -12,35 +12,28 @@ Example:
|
||||
--passwd "BLANK" #password
|
||||
--bssid 78:d2:94:4f:20:c5,78:d2:94:4f:20:c5 #bssid names
|
||||
--sta_name "sta001,sta002" #station names
|
||||
--mac 04:f0:21:89:3e:ea,04:f0:21:89:4e:ea #mac
|
||||
--bss_trans #flag to set BSS transition on all stations
|
||||
"""
|
||||
import sys
|
||||
import os
|
||||
import importlib
|
||||
import argparse
|
||||
import time
|
||||
import json
|
||||
from os import path
|
||||
import argparse
|
||||
import time
|
||||
import datetime
|
||||
|
||||
if sys.version_info[0] != 3:
|
||||
print("This script requires Python 3")
|
||||
exit(1)
|
||||
|
||||
|
||||
sys.path.append(os.path.join(os.path.abspath(__file__ + "../../../")))
|
||||
|
||||
lfcli_base = importlib.import_module("py-json.LANforge.lfcli_base")
|
||||
LFCliBase = lfcli_base.LFCliBase
|
||||
LFUtils = importlib.import_module("py-json.LANforge.LFUtils")
|
||||
realm = importlib.import_module("py-json.realm")
|
||||
Realm = realm.Realm
|
||||
|
||||
|
||||
class client_connect(Realm):
|
||||
--mac 04:f0:21:89:3e:ea,04:f0:21:89:4e:ea #mac
|
||||
--bss_trans #flag to set BSS transition on all stations
|
||||
"""
|
||||
import sys
|
||||
import os
|
||||
import importlib
|
||||
|
||||
if sys.version_info[0] != 3:
|
||||
print("This script requires Python 3")
|
||||
exit(1)
|
||||
|
||||
|
||||
sys.path.append(os.path.join(os.path.abspath(__file__ + "../../../")))
|
||||
|
||||
lfcli_base = importlib.import_module("py-json.LANforge.lfcli_base")
|
||||
LFCliBase = lfcli_base.LFCliBase
|
||||
LFUtils = importlib.import_module("py-json.LANforge.LFUtils")
|
||||
realm = importlib.import_module("py-json.realm")
|
||||
Realm = realm.Realm
|
||||
|
||||
|
||||
class client_connect(Realm):
|
||||
def __init__(self, lfclient_host="localhost", lfclient_port=8080, radio=None, sta_name=None,
|
||||
ssid=None, security=None, paswd=None, bssid=None, mac=None, bss_trans=False):
|
||||
super().__init__(lfclient_host, lfclient_port)
|
||||
|
||||
Reference in New Issue
Block a user