mgmt_vrf_namespace_tacacs: Tacacs enhancement on top of namespace sol…#2424
Closed
kannankvs wants to merge 1 commit intosonic-net:masterfrom
kannankvs:mgmt_vrf_namespace_tacacs
Closed
mgmt_vrf_namespace_tacacs: Tacacs enhancement on top of namespace sol…#2424kannankvs wants to merge 1 commit intosonic-net:masterfrom kannankvs:mgmt_vrf_namespace_tacacs
kannankvs wants to merge 1 commit intosonic-net:masterfrom
kannankvs:mgmt_vrf_namespace_tacacs
Conversation
…ution for management vrf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
- What I did
This enhancement is done along with the PR sonic-net/sonic-utilities#428.
Enhanced the configuration for using --use-mgmt-vrf for tacacs server configuration on top of namespace based solution for management VRF to configure the required rules for namespace solution.
- How I did it
Namespace solution requires DNAT as explained in the design document
https://github.com/kannankvs/mvrf_namespace/blob/master/Management%20VRF%20Design%20Document%20Namespace.md
hostcfgd is enhanced to support maximum of 10 tacacs servers. Mapping between the user configured tacacs server IP/port and internally used local IP/port are maintained in this file for adding and deleting those NAT rules.
- How to verify it
(a) mgmt_vrf_namespace: management vrf using namespace solution #2405
(b) [submodule]: Update common/swss/sairedis submodules #422.
(a) config aaa authentication login tacacs+
(b) config tacacs authtype login
(c) config tacacs passkey testing123
(d) config tacacs add --use-mgmt-vrf serveripaddress