Revert "Update py_scripts to be in line with pip standards"

This reverts commit 37df48594e.
This commit is contained in:
Chuck SmileyRekiere
2021-09-09 05:32:05 -06:00
parent 5328154e21
commit 743b5f56c9
31 changed files with 235 additions and 260 deletions

View File

@@ -13,7 +13,7 @@ if 'py-json' not in sys.path:
import argparse
from LANforge.lfcli_base import LFCliBase
from LANforge import LFUtils
from realm import Realm, WifiMonitor
import realm
import time
import datetime
@@ -40,12 +40,12 @@ class IPV4VariableTime(LFCliBase):
self.debug = _debug_on
self.name_prefix = name_prefix
self.test_duration = test_duration
self.local_realm = Realm(lfclient_host=self.host, lfclient_port=self.port)
self.local_realm = realm.Realm(lfclient_host=self.host, lfclient_port=self.port)
self.station_profile = self.local_realm.new_station_profile()
self.cx_profile = self.local_realm.new_l3_cx_profile()
self.vap_profile = self.local_realm.new_vap_profile()
self.vap_profile.vap_name = "vap0000"
self.monitor = WifiMonitor(self.lfclient_url, self.local_realm, debug_=_debug_on)
self.monitor = realm.WifiMonitor(self.lfclient_url, self.local_realm, debug_=_debug_on)
self.station_profile.lfclient_url = self.lfclient_url
self.station_profile.ssid = self.ssid