mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-01 03:07:56 +00:00
py-json/port_probe.py :
py-scripts/port_probe.py py-script/test_ip_variable_time.py Starting point from previous work
This commit is contained in:
@@ -13,7 +13,6 @@ if 'py-json' not in sys.path:
|
||||
|
||||
from time import sleep
|
||||
from LANforge.lfcli_base import LFCliBase
|
||||
from realm import Realm
|
||||
|
||||
|
||||
# see https://stackoverflow.com/questions/9295439/python-json-loads-fails-with-valueerror-invalid-control-character-at-line-1-c/16544933#16544933
|
||||
@@ -55,7 +54,7 @@ class ProbePort2(LFCliBase):
|
||||
|
||||
|
||||
def main():
|
||||
parser = Realm.create_bare_argparse(
|
||||
parser = LFCliBase.create_bare_argparse(
|
||||
prog=__name__,
|
||||
description='''\
|
||||
Example:
|
||||
|
||||
@@ -40,7 +40,6 @@ realm = importlib.import_module("py-json.realm")
|
||||
Realm = realm.Realm
|
||||
sys.path.append("../py-dashboard")
|
||||
from InfluxRequest import RecordInflux
|
||||
port_probe = importlib.import_module("py-json.port_probe")
|
||||
|
||||
|
||||
class IPVariableTime(Realm):
|
||||
|
||||
Reference in New Issue
Block a user