mirror of
https://github.com/Telecominfraproject/wlan-testing.git
synced 2025-11-03 04:18:15 +00:00
added attenuator serial function
This commit is contained in:
@@ -42,6 +42,7 @@ from csv_to_influx import CSVtoInflux
|
|||||||
from influx2 import RecordInflux
|
from influx2 import RecordInflux
|
||||||
from lf_multipsk import MultiPsk
|
from lf_multipsk import MultiPsk
|
||||||
from lf_rvr_test import RvrTest
|
from lf_rvr_test import RvrTest
|
||||||
|
from attenuator_serial import AttenuatorSerial
|
||||||
|
|
||||||
|
|
||||||
class RunTest:
|
class RunTest:
|
||||||
@@ -752,6 +753,14 @@ class RunTest:
|
|||||||
influx.glob()
|
influx.glob()
|
||||||
return self.msthpt_obj
|
return self.msthpt_obj
|
||||||
|
|
||||||
|
def attenuator_serial(self):
|
||||||
|
self.obj = AttenuatorSerial(
|
||||||
|
lfclient_host=self.lanforge_ip,
|
||||||
|
lfclient_port=self.lanforge_port
|
||||||
|
)
|
||||||
|
val = self.obj.show()
|
||||||
|
return val
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
influx_host = "influx.cicd.lab.wlan.tip.build"
|
influx_host = "influx.cicd.lab.wlan.tip.build"
|
||||||
|
|||||||
Reference in New Issue
Block a user