-
Notifications
You must be signed in to change notification settings - Fork 29
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): Added the test case to verify SNMP user #877
base: main
Are you sure you want to change the base?
Conversation
CodSpeed Performance ReportMerging #877 will not alter performanceComparing Summary
|
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
8dd61b3
to
1119961
Compare
Conflicts have been resolved. A maintainer will review the pull request shortly. |
Quality Gate passedIssues Measures |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
Conflicts have been resolved. A maintainer will review the pull request shortly. |
Quality Gate passedIssues Measures |
msg = f"{user} 'group_name' or 'version' field missing in the input" | ||
raise ValueError(msg) | ||
if user.version == "v3" and not (user.auth_type or user.priv_type): | ||
msg = f"{user}; At least one of 'auth_type' or 'priv_type' must be provided." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
msg = f"{user}; At least one of 'auth_type' or 'priv_type' must be provided." | |
msg = f"{user} 'auth_type' or 'priv_type' field is required with 'version: v3'" |
Description
Verifies the SNMP user configurations for specified version(s).
Fixes #852
Checklist:
pre-commit run
)tox -e testenv
)