Skip to content

Add support of using lab tacacs server by default#7624

Merged
wangxin merged 4 commits intosonic-net:masterfrom
wangxin:tacacs-change
Mar 3, 2023
Merged

Add support of using lab tacacs server by default#7624
wangxin merged 4 commits intosonic-net:masterfrom
wangxin:tacacs-change

Conversation

@wangxin
Copy link
Collaborator

@wangxin wangxin commented Mar 2, 2023

Description of PR

Summary:
Fixes # (issue)

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Back port request

  • 201911
  • 202012
  • 202205

Approach

What is the motivation for this PR?

The current default configuration of DUTs does not support using lab tacacs server for authentication.
This change added a new variable tacacs_enabled_by_default in group_vars file to control enablement of lab tacacs server.

How did you do it?

The ansible playbook for deploy minigraph was updated to support configuring lab tacacs server based on value of this variable.

The tacacs test scripts are updated to support recover the lab tacacs server in a clean way after test is done.

How did you verify/test it?

Test run the tacacs scripts.

Any platform specific information?

Supported testbed topology if it's a new test case?

Documentation

The current default configuration of DUTs does not support using
lab tacacs server for authentication.

This change added a new variable `tacacs_enabled_by_default` in
group_vars file to control enablement of lab tacacs server.

The ansible playbook for deploy minigraph was updated to support
configuring lab tacacs server based on value of this variable.

The tacacs test scripts are updated to support recover the lab
tacacs server in a clean way after test is done.

Signed-off-by: Xin Wang <[email protected]>
@wangxin wangxin merged commit 0d44587 into sonic-net:master Mar 3, 2023
wangxin added a commit that referenced this pull request Mar 6, 2023
What is the motivation for this PR?
The current default configuration of DUTs does not support using lab tacacs server for authentication.
This change added a new variable tacacs_enabled_by_default in group_vars file to control enablement of lab tacacs server.

How did you do it?
The ansible playbook for deploy minigraph was updated to support configuring lab tacacs server based on value of this variable.
The tacacs test scripts are updated to support recover the lab tacacs server in a clean way after test is done.

How did you verify/test it?
Test run the tacacs scripts.

Signed-off-by: Xin Wang <[email protected]>
@wangxin wangxin deleted the tacacs-change branch March 7, 2023 05:41
wangxin added a commit that referenced this pull request Mar 7, 2023
What is the motivation for this PR?
The current default configuration of DUTs does not support using lab tacacs server for authentication.
This change added a new variable tacacs_enabled_by_default in group_vars file to control enablement of lab tacacs server.

How did you do it?
The ansible playbook for deploy minigraph was updated to support configuring lab tacacs server based on value of this variable.
The tacacs test scripts are updated to support recover the lab tacacs server in a clean way after test is done.

How did you verify/test it?
Test run the tacacs scripts.

Signed-off-by: Xin Wang <[email protected]>
bingwang-ms pushed a commit to bingwang-ms/sonic-mgmt that referenced this pull request Jul 27, 2023
Enable TACACS for SONiC DUTs in starlab

PR sonic-net#7624 added support
of enabling tacacs for lab DUTs by default.

This change updated the inventory variable files for starlab devices
to enable TACACS by default.

Signed-off-by: Xin Wang <[email protected]>
ZhaohuiS pushed a commit to ZhaohuiS/sonic-mgmt that referenced this pull request Aug 18, 2023
Enable TACACS for SONiC DUTs in starlab

PR sonic-net#7624 added support
of enabling tacacs for lab DUTs by default.

This change updated the inventory variable files for starlab devices
to enable TACACS by default.

Signed-off-by: Xin Wang <[email protected]>
StormLiangMS pushed a commit to StormLiangMS/sonic-mgmt that referenced this pull request Dec 16, 2023
Enable TACACS for SONiC DUTs in starlab

PR sonic-net#7624 added support
of enabling tacacs for lab DUTs by default.

This change updated the inventory variable files for starlab devices
to enable TACACS by default.

Signed-off-by: Xin Wang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants