Skip to content

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

Merged
jleveque merged 1 commit intosonic-net:201911from
yozhao101:fix_dhcp_relay
Apr 23, 2021
Merged

[201911][Monit] Use VLAN name to differentiate each Monit service of dhcp_relay#7378
jleveque merged 1 commit intosonic-net:201911from
yozhao101:fix_dhcp_relay

Conversation

@yozhao101
Copy link
Copy Markdown
Contributor

Signed-off-by: Yong Zhao yozhao@microsoft.com

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)

each dhcrelay process.

Signed-off-by: Yong Zhao <yozhao@microsoft.com>
@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