-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Build and include tacacs+ for PTF Py3 only image #20701
Conversation
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.
LGTM
&& make install \ | ||
&& ln -s /usr/local/sbin/tac_plus /usr/sbin/tac_plus \ | ||
&& ln -s /usr/local/bin/tac_pwd /usr/sbin/tac_pwd | ||
{% endif %} |
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.
Why not use the source code from an organization like https://github.com/facebook/tac_plus
I assume it would be better than the fork of a personal account?
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.
@wangxin thanks. I have updated the repo.
Why I did it The "tacacs+" package is not available in the apt repository for Debian Bullseye and beyond. The sonic-mgmt tests require tacacs+ and this PR builds it from source and adds it to the PY3 only image. Work item tracking Microsoft ADO (number only): 29946202 How I did it Clone tacacs+ from https://github.com/robot527/tac_plus build and install it. How to verify it By running sonic-mgmt restart-ptf step with newly built image. Tested branch (Please provide the tested image version) Not applicable. Description for the changelog [docker-ptf]: Build and include tacacs+ for py3only image The "tacacs+" package is not available in the apt repository for Debian Bullseye and beyond. The sonic-mgmt tests require tacacs+ and this commit builds it from source and adds it to the PY3 only image. Link to config_db schema for YANG module changes Not applicable.
Why I did it
The "tacacs+" package is not available in the apt repository for Debian Bullseye and beyond. The sonic-mgmt tests require tacacs+ and this PR builds it from source and adds it to the PY3 only image.
Work item tracking
How I did it
Clone tacacs+ from https://github.com/robot527/tac_plus build and install it.
How to verify it
By running sonic-mgmt restart-ptf step with newly built image.
Which release branch to backport (provide reason below if selected)
Tested branch (Please provide the tested image version)
Not applicable.
Description for the changelog
[docker-ptf]: Build and include tacacs+ for py3only image
Link to config_db schema for YANG module changes
Not applicable.
A picture of a cute animal (not mandatory but encouraged)