-
Notifications
You must be signed in to change notification settings - Fork 738
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
GCU AAA test #4915
GCU AAA test #4915
Conversation
Need Yang modification to run correctly. |
sonic-net/sonic-buildimage#9724 is merged. Is it ready to review? In reply to: 1012651780 |
Yeah. It is ready for review. |
from tests.generic_config_updater.gu_utils import create_checkpoint, delete_checkpoint, rollback_or_reload | ||
|
||
pytestmark = [ | ||
pytest.mark.topology('t0'), |
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.
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.
Not sure if other topos have the same init config with t0.
For example, t0 dont have AAA or TACPLUS table in configDB, so to make GCU change on that, some test need to add init config to initialize the table
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.
Any topo should have the same init AAA config. Please let me know it is not.
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.
Will verify later.
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.
Apply AAA test to topo any
Description of PR
Summary: Testcase of AAA for generic updater apply-patch
Fixes # (issue)
Type of change
Back port request
Approach
What is the motivation for this PR?
End to End test support for Generic Updater apply-patch
This PR is to verify the usage of 'config apply-patch' works on AAA
How did you do it?
Make some config apply change. And check if the AAA config changed as expected.
How did you verify/test it?
Run test of sonic-mgmt/tests/generic_config_updater/test_aaa.py on KVM
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation