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

[201911][Monit] Use VLAN name to differentiate each Monit service of dhcp_relay #7378

Merged
merged 1 commit into from
Apr 23, 2021

Conversation

yozhao101
Copy link
Contributor

Signed-off-by: Yong Zhao [email protected]

Why I did it

Since we will have multiple dhcrelay processes if there exists different VLANs in the table VLAN_INTERFACE of CONIFG_DB,
we should use unique service name for each dhcrelay process in Monit configuration file. Otherwise, Monit service will fail to work.

How I did it

I append the VLAN name to the end of each service name such that they are unique.

How to verify it

I verified this on a virtual testbed.

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012

Description for the changelog

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

@jleveque jleveque merged commit aeae87d into sonic-net:201911 Apr 23, 2021
@yozhao101 yozhao101 deleted the fix_dhcp_relay branch April 23, 2021 01:04
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