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:
Chuck SmileyRekiere
2021-10-25 17:51:35 -04:00
parent 03bbf60634
commit cdccc492d9
3 changed files with 47 additions and 26 deletions

View File

@@ -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:

View File

@@ -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):