Skip to content

Remove temp golden config after reload config with golden config.#14077

Merged
StormLiangMS merged 1 commit intosonic-net:masterfrom
liuh-80:dev/liuh/fix_test_bed_login_issue
Aug 13, 2024
Merged

Remove temp golden config after reload config with golden config.#14077
StormLiangMS merged 1 commit intosonic-net:masterfrom
liuh-80:dev/liuh/fix_test_bed_login_issue

Conversation

@liuh-80
Copy link
Contributor

@liuh-80 liuh-80 commented Aug 12, 2024

Remove temp golden config after reload config with golden config.

Why I did it

test_fallback_to_local_authorization_with_config_reload test case will reload config with AAA enabled.
After this test case, the golden config file will left on device, when some other code reload config, device will enable AAA and block other login again.

Work item tracking
  • Microsoft ADO: 28871521

How I did it

Remove temp golden config after reload config with golden config.

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

Remove temp golden config after reload config with golden config.

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

@liuh-80 liuh-80 marked this pull request as ready for review August 13, 2024 02:30
Copy link
Collaborator

@StormLiangMS StormLiangMS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@StormLiangMS StormLiangMS merged commit 00b78ee into sonic-net:master Aug 13, 2024
@congh-nvidia
Copy link
Contributor

Hi @StormLiangMS we also need this in 202405. Could you please cherry-pick?

@ZhaohuiS
Copy link
Contributor

@liuh-80 should we cherry pick it for 202311 as well?

@Gfrom2016
Copy link
Contributor

Hi @StormLiangMS and @liuh-80, 202405 nightly test is breaking due to this, could we cherry-pick this to 202405?

mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Sep 26, 2024
…nic-net#14077)

Remove temp golden config after reload config with golden config.

Why I did it
test_fallback_to_local_authorization_with_config_reload test case will reload config with AAA enabled.
After this test case, the golden config file will left on device, when some other code reload config, device will enable AAA and block other login again.

Work item tracking
Microsoft ADO: 28871521
How I did it
Remove temp golden config after reload config with golden config.

How to verify it
Pass all test case.
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202405: #14751

mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Sep 26, 2024
…nic-net#14077)

Remove temp golden config after reload config with golden config.

Why I did it
test_fallback_to_local_authorization_with_config_reload test case will reload config with AAA enabled.
After this test case, the golden config file will left on device, when some other code reload config, device will enable AAA and block other login again.

Work item tracking
Microsoft ADO: 28871521
How I did it
Remove temp golden config after reload config with golden config.

How to verify it
Pass all test case.
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202311: #14752

mssonicbld pushed a commit that referenced this pull request Sep 26, 2024
…4077)

Remove temp golden config after reload config with golden config.

Why I did it
test_fallback_to_local_authorization_with_config_reload test case will reload config with AAA enabled.
After this test case, the golden config file will left on device, when some other code reload config, device will enable AAA and block other login again.

Work item tracking
Microsoft ADO: 28871521
How I did it
Remove temp golden config after reload config with golden config.

How to verify it
Pass all test case.
mssonicbld pushed a commit that referenced this pull request Sep 26, 2024
…4077)

Remove temp golden config after reload config with golden config.

Why I did it
test_fallback_to_local_authorization_with_config_reload test case will reload config with AAA enabled.
After this test case, the golden config file will left on device, when some other code reload config, device will enable AAA and block other login again.

Work item tracking
Microsoft ADO: 28871521
How I did it
Remove temp golden config after reload config with golden config.

How to verify it
Pass all test case.
arista-hpandya pushed a commit to arista-hpandya/sonic-mgmt that referenced this pull request Oct 2, 2024
…nic-net#14077)

Remove temp golden config after reload config with golden config.

Why I did it
test_fallback_to_local_authorization_with_config_reload test case will reload config with AAA enabled.
After this test case, the golden config file will left on device, when some other code reload config, device will enable AAA and block other login again.

Work item tracking
Microsoft ADO: 28871521
How I did it
Remove temp golden config after reload config with golden config.

How to verify it
Pass all test case.
vikshaw-Nokia pushed a commit to vikshaw-Nokia/sonic-mgmt that referenced this pull request Oct 23, 2024
…nic-net#14077)

Remove temp golden config after reload config with golden config.

Why I did it
test_fallback_to_local_authorization_with_config_reload test case will reload config with AAA enabled.
After this test case, the golden config file will left on device, when some other code reload config, device will enable AAA and block other login again.

Work item tracking
Microsoft ADO: 28871521
How I did it
Remove temp golden config after reload config with golden config.

How to verify it
Pass all test case.
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.

6 participants