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

Adding Test Cases for Get, Set on the Api Attributes #191

Closed

Conversation

selldinesh
Copy link
Contributor

Description of PR
Summary: Contributing SAI test cases that qualifies the SAI apis. This PR consists of test cases that does Get and Set operation on the API.
The cases have been validated to be passing on Edgecore DUT with Broadcom asic

SAI-Challenger Version: : 40e09a6

@@ -1,41 +1,41 @@

Copy link
Contributor

Choose a reason for hiding this comment

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

please remove empty line

},
]

commands = [{'name': 'acl_table_1', 'op': 'create', 'type': 'SAI_OBJECT_TYPE_ACL_TABLE', 'attributes': ['SAI_ACL_TABLE_ATTR_ACL_STAGE', 'SAI_ACL_STAGE_INGRESS']}, {'name': 'acl_counter_1', 'op': 'create', 'type': 'SAI_OBJECT_TYPE_ACL_COUNTER', 'attributes': ['SAI_ACL_COUNTER_ATTR_TABLE_ID', '$acl_table_1']}]
Copy link
Contributor

Choose a reason for hiding this comment

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

As for me, the previous version was much more readable. Could you please revert?


def test_acl_counter_remove(self, npu):

commands = [{'name': 'acl_counter_1', 'op': 'remove'}, {'name': 'acl_table_1', 'op': 'remove'}]
Copy link
Contributor

Choose a reason for hiding this comment

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

please format

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.

2 participants