Integrate Iot in Mixed Traffic#198
Conversation
smileyrekiere
left a comment
There was a problem hiding this comment.
@sivakondri-CT see that threading is used, threads will share resources is that the intent? Is the intent to communicate between threads?
|
…ixed traffic test Signed-off-by: sivakondri-CT <kondru.sankar@candelatech.com>
memnochproxy
left a comment
There was a problem hiding this comment.
Please remove duration_to_seconds, replace with LFCliBase::parse_time
py-scripts/lf_mixed_traffic.py
Outdated
| logger.info('Iot Test Completed.') | ||
|
|
||
|
|
||
| def duration_to_seconds(duration): |
There was a problem hiding this comment.
Please replace calls to this method with LFCliBase parse_time
py-scripts/lf_mixed_traffic.py
Outdated
| else: | ||
| selected_tests = [int(t) for t in args.tests] | ||
| duration_map = { | ||
| 1: duration_to_seconds(getattr(args, "ping_test_duration", 0)), |
There was a problem hiding this comment.
Use LFCliBase::parse_time please
There was a problem hiding this comment.
Hi @memnochproxy, I have updated the PR to use LFCliBase::parse_time
…ed traffic test report
VERIFIED CLI 1 : python3 lf_mixed_traffic.py --mgr 192.168.207.78 \
--upstream_port eth1 \
--test_name mixedtraffic \
--mixed_traffic_loop 1 \
--real \
--use_default_config \
--pre_cleanup \
--target www.google.com \
--ping_interval 5 \
--ping_test_duration 1m \
--side_a_min 0 \
--side_b_min 10000000 \
--traffic_type lf_tcp \
--tos VO,VI,BE,BK \
--qos_test_duration 1m \
--tests 1 2 \
--iot_test \
--iot_delay 5 \
--iot_device_list "switch.smart_plug_1_socket_1" \
--iot_testname "mixedtraffic_iot"
VERIFIED CLI 2 : python3 lf_mixed_traffic.py --mgr 192.168.207.78 \
--upstream_port eth1 \
--test_name mixedtraffic \
--mixed_traffic_loop 1 \
--real \
--use_default_config \
--pre_cleanup \
--target www.google.com \
--ping_interval 5 \
--ping_test_duration 1m \
--side_a_min 0 \
--side_b_min 10000000 \
--traffic_type lf_tcp \
--tos VO,VI,BE,BK \
--qos_test_duration 1m \
--tests 1 2
Signed-off-by: sivakondri-CT <kondru.sankar@candelatech.com>
9ba701a to
fee9d0e
Compare
No description provided.