mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-02 19:58:03 +00:00
cv-dataplane: Support putting kpi into influxdb.
Signed-off-by: Ben Greear <greearb@candelatech.com>
This commit is contained in:
@@ -19,7 +19,11 @@ the options and how best to input data.
|
|||||||
--raw_line 'cust_pkt_sz: 88 1200' \
|
--raw_line 'cust_pkt_sz: 88 1200' \
|
||||||
--raw_line 'directions: DUT Transmit;DUT Receive' \
|
--raw_line 'directions: DUT Transmit;DUT Receive' \
|
||||||
--raw_line 'traffic_types: UDP;TCP' \
|
--raw_line 'traffic_types: UDP;TCP' \
|
||||||
--test_rig Testbed-01
|
--test_rig Testbed-01 --pull_report \
|
||||||
|
--influx_host c7-graphana --influx_port 8086 --influx_org Candela \
|
||||||
|
--influx_token=-u_Wd-L8o992701QF0c5UmqEp7w7Z7YOMaWLxOMgmHfATJGnQbbmYyNxHBR9PgD6taM_tcxqJl6U8DjU1xINFQ== \
|
||||||
|
--influx_bucket ben \
|
||||||
|
--influx_tag testbed Ferndale-01
|
||||||
|
|
||||||
Note:
|
Note:
|
||||||
--raw_line 'line contents' will add any setting to the test config. This is
|
--raw_line 'line contents' will add any setting to the test config. This is
|
||||||
@@ -219,7 +223,11 @@ def main():
|
|||||||
--raw_line 'cust_pkt_sz: 88 1200' \
|
--raw_line 'cust_pkt_sz: 88 1200' \
|
||||||
--raw_line 'directions: DUT Transmit;DUT Receive' \
|
--raw_line 'directions: DUT Transmit;DUT Receive' \
|
||||||
--raw_line 'traffic_types: UDP;TCP' \
|
--raw_line 'traffic_types: UDP;TCP' \
|
||||||
--test_rig Testbed-01
|
--test_rig Testbed-01 --pull_report \
|
||||||
|
--influx_host c7-graphana --influx_port 8086 --influx_org Candela \
|
||||||
|
--influx_token=-u_Wd-L8o992701QF0c5UmqEp7w7Z7YOMaWLxOMgmHfATJGnQbbmYyNxHBR9PgD6taM_tcxqJl6U8DjU1xINFQ== \
|
||||||
|
--influx_bucket ben \
|
||||||
|
--influx_tag testbed Ferndale-01
|
||||||
|
|
||||||
"""
|
"""
|
||||||
)
|
)
|
||||||
@@ -267,6 +275,7 @@ def main():
|
|||||||
CV_Test.setup()
|
CV_Test.setup()
|
||||||
CV_Test.run()
|
CV_Test.run()
|
||||||
|
|
||||||
|
CV_Test.check_influx_kpi(args)
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
main()
|
main()
|
||||||
|
|||||||
Reference in New Issue
Block a user