Skip to content
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

Generic Config Updater Syslog server test #4725

Merged
merged 7 commits into from
Dec 3, 2021
Merged

Conversation

wen587
Copy link
Contributor

@wen587 wen587 commented Nov 18, 2021

Description of PR

Summary: Testcase of syslog server for generic updater apply-patch
Fixes # (issue)

Type of change

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

Back port request

  • 201911

Approach

What is the motivation for this PR?

End to End test support for Generic Updater apply-patch
This PR is to verify the usage of 'config apply-patch' works on syslog server

How did you do it?

First we setup clean syslog env. Then make some config apply change. And check if the syslog server is changed as expected.
Updated start-limit-hit function in gu_utils.py

How did you verify/test it?

Run test of sonic-mgmt/tests/generic_config_updater/test_syslog.py on KVM

Any platform specific information?

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

Documentation

@lgtm-com
Copy link

lgtm-com bot commented Nov 18, 2021

This pull request introduces 1 alert when merging 054dd9f into f82932a - view on LGTM.com

new alerts:

  • 1 for Non-callable called

@wen587
Copy link
Contributor Author

wen587 commented Nov 18, 2021

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@wen587 wen587 marked this pull request as ready for review November 19, 2021 03:07
@wen587 wen587 requested a review from a team as a code owner November 19, 2021 03:07
@wen587
Copy link
Contributor Author

wen587 commented Nov 19, 2021

sonic-syslog.yang is needed to complete the test.

Copy link
Contributor

@qiluo-msft qiluo-msft left a comment

Choose a reason for hiding this comment

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

Minor issues remain

@wen587 wen587 changed the title Generic Updater Syslog server test Generic Config Updater Syslog server test Dec 1, 2021
@wen587 wen587 merged commit 37253fd into sonic-net:master Dec 3, 2021
AntonHryshchuk pushed a commit to AntonHryshchuk/sonic-mgmt that referenced this pull request Jan 4, 2022
…c config updater (sonic-net#4725)

Summary:
Testcase of Syslog server for generic updater apply-patch

What is the motivation for this PR?
End to End test support for Generic Config Updater apply-patch
This PR is to verify the usage of 'config apply-patch' works on Syslog server

How did you do it?
First, we set up a clean Syslog env. Then make some config apply change. And check if the Syslog server is changed as expected.
Updated start-limit-hit function in gu_utils.py

How did you verify/test it?
Run test of sonic-mgmt/tests/generic_config_updater/test_syslog.py on KVM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants