sonic-mgmt
sonic-mgmt copied to clipboard
Setup TACACS server on ptf for daily work and none TACACS test case
Setup TACACS server on ptf for daily work and none TACACS test case.
Why I did it
Improve TACACS feature coverage.
Work item tracking
- Microsoft ADO: 26156377
How I did it
Setup TACACS server on PTF device and bind to port 49. Because one test bed may run test case in parallel with multiple DUT: For none TACACS test case, run test case with new TACACS server on port 49. For TACACS test case, run test case with old TACACS server on port 59. Force user login with TACACS account, account name is 'admin' password is the value in 'ansible_altpasswords' variable or 'ansible_altpassword' variable.
How to verify it
Pass all test case.
Which release branch to backport (provide reason below if selected)
- [ ] 201811
- [ ] 201911
- [ ] 202006
- [ ] 202012
- [ ] 202106
- [ ] 202111
- [ ] 202205
- [ ] 202211
- [ ] 202305
Tested branch (Please provide the tested image version)
Description for the changelog
Setup TACACS server on ptf for daily work and none TACACS test case.