mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-03 12:18:00 +00:00
1. Create pandas_extensions.py
2. Remove unused imports Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
@@ -2,22 +2,16 @@
|
||||
import sys
|
||||
import os
|
||||
import importlib
|
||||
import re
|
||||
import time
|
||||
import pprint
|
||||
import datetime
|
||||
import base64
|
||||
import csv
|
||||
from pprint import pprint
|
||||
import time
|
||||
import random
|
||||
import string
|
||||
import datetime
|
||||
|
||||
|
||||
sys.path.append(os.path.join(os.path.abspath(__file__ + "../../../")))
|
||||
|
||||
lfdata = importlib.import_module("py-json.lfdata")
|
||||
LFDataCollection = lfdata.LFDataCollection
|
||||
base_profile = importlib.import_module("py-json.base_profile")
|
||||
BaseProfile = base_profile.BaseProfile
|
||||
|
||||
@@ -674,7 +668,7 @@ class L3CXProfile2(BaseProfile):
|
||||
end_time = start_time + datetime.timedelta(seconds=duration_sec)
|
||||
|
||||
#create lf data object
|
||||
lf_data_collection= LFDataCollection(local_realm=self.local_realm,debug=self.debug)
|
||||
lf_data_collection = LFDataCollection(local_realm=self.local_realm,debug=self.debug)
|
||||
while datetime.datetime.now() < end_time:
|
||||
csvwriter.writerow(lf_data_collection.monitor_interval(start_time_=start_time,sta_list_=sta_list_edit, created_cx_=created_cx, layer3_fields_=layer3_fields,port_mgr_fields_=",".join(port_mgr_cols)))
|
||||
time.sleep(monitor_interval_ms)
|
||||
|
||||
Reference in New Issue
Block a user