Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test policer functional tests #92

Closed
wants to merge 1 commit into from
Closed

Conversation

StepanVovkPLV
Copy link
Collaborator

@StepanVovkPLV StepanVovkPLV commented Apr 4, 2023

Adds 2 tests:

- test_policer_basic_functionality
- test_policer_rules_priority
- test_policer_rate_config

Depend on #110 , #109

Copy link
Collaborator

@yuriilisovskyi yuriilisovskyi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Squash the commits and sign them

@StepanVovkPLV StepanVovkPLV force-pushed the test_policer_func_ipv4 branch 5 times, most recently from 8a7f3fe to e0e62b0 Compare April 24, 2023 08:26
@StepanVovkPLV StepanVovkPLV force-pushed the test_policer_func_ipv4 branch 3 times, most recently from f6b1d73 to 5dbc989 Compare April 25, 2023 08:22
tgen_utils_setup_streams,
tgen_utils_start_traffic,
tgen_utils_stop_traffic,

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove space here, add space after )

if qdisc_type == 'port':
for port in port_with_rule:
tc_rule_1['dev'] = port
out = await TcFilter.add(input_data=[{dent: [tc_rule_1]}])
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

list comprehension

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

?

@github-actions

This comment was marked as resolved.

1 similar comment
@github-actions

This comment was marked as resolved.

@github-actions

This comment was marked as resolved.

@github-actions

This comment was marked as resolved.

@StepanVovkPLV StepanVovkPLV force-pushed the test_policer_func_ipv4 branch 2 times, most recently from a5b4fa5 to 4225e79 Compare April 25, 2023 14:09
Signed-off-by: Stepan Vovk <stepan.vovk@plvision.eu>
Copy link
Collaborator

@SerhiyBoikoPLV SerhiyBoikoPLV left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.

@StepanVovkPLV
Copy link
Collaborator Author

Closed in favor of this #120

@StepanVovkPLV StepanVovkPLV deleted the test_policer_func_ipv4 branch May 2, 2023 06:35
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants