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

feat(anta.tests): Added testcase for MLAG primary priority #532

Merged
merged 2 commits into from
Feb 7, 2024

Conversation

MaheshGSLAB
Copy link
Contributor

Description

Added testcase for MLAG primary priority

Fixes #529
Success: The test will pass if the MLAG state is set as 'primary' and the priority matches the input.
Failure: The test will fail if the MLAG state is not 'primary' or the priority doesn't match the input.
Skipped: The test will be skipped if MLAG is 'disabled'.

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have run pre-commit for code linting and typing (pre-commit run)
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes (tox -e testenv)

@MaheshGSLAB MaheshGSLAB marked this pull request as ready for review January 18, 2024 05:58
Copy link
Contributor

@carl-baillargeon carl-baillargeon left a comment

Choose a reason for hiding this comment

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

LGTM!

anta/tests/mlag.py Outdated Show resolved Hide resolved
@titom73 titom73 merged commit ec8c171 into aristanetworks:main Feb 7, 2024
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add the testcase to verify MLAG priority feature
4 participants