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

[202012][dhcp_relay] Fix dhcp_relay restart error while add/del vlan (#2688) #2706

Merged
merged 2 commits into from
Mar 8, 2023

Conversation

yaqiangz
Copy link
Contributor

@yaqiangz yaqiangz commented Mar 1, 2023

Why I did

Cherry-pick and resolve conflicts of this PR: #2688
In device that doesn't have dhcp_relay service, restart dhcp_relay after add/del vlan would encounter failed

How I did it

Add support to check whether device is support dhcp_relay service.

How to verify it

  1. Unit test
  2. Build and install in device

Previous command output (if the output of a command-line utility has changed)

New command output (if the output of a command-line utility has changed)

…et#2688)

Why I did
In device that doesn't have dhcp_relay service, restart dhcp_relay after add/del vlan would encounter failed

How I did it
Add support to check whether device is support dhcp_relay service.

How to verify it
1. Unit test
2. Build and install in device

Signed-off-by: Yaqiang Zhu <yaqiangzhu@microsoft.com>
@yaqiangz yaqiangz merged commit 5b0f0fc into sonic-net:202012 Mar 8, 2023
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