Skip to content

Commit

Permalink
pfc tests migration to snappi
Browse files Browse the repository at this point in the history
  • Loading branch information
ANISH-GOTTAPU committed Jun 8, 2021
1 parent 91bf065 commit 903b055
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/snappi/pfc/files/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ def __gen_traffic(testbed_config,
test_flow.size.fixed = data_pkt_size
test_flow.rate.percentage = test_flow_rate_percent
test_flow.duration.fixed_seconds.seconds = data_flow_dur_sec
test_flow.duration.fixed_seconds.delay.nanoseconds = data_flow_delay_nanosec
test_flow.duration.fixed_seconds.delay.nanoseconds = int(data_flow_delay_nanosec)

test_flow.metrics.enable = True
test_flow.metrics.loss = True
Expand All @@ -251,7 +251,7 @@ def __gen_traffic(testbed_config,
bg_flow.size.fixed = data_pkt_size
bg_flow.rate.percentage = bg_flow_rate_percent
bg_flow.duration.fixed_seconds.seconds = data_flow_dur_sec
bg_flow.duration.fixed_seconds.delay.nanoseconds = data_flow_delay_nanosec
bg_flow.duration.fixed_seconds.delay.nanoseconds = int(data_flow_delay_nanosec)

bg_flow.metrics.enable = True
bg_flow.metrics.loss = True
Expand Down

0 comments on commit 903b055

Please sign in to comment.