Skip to content

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

Merged
yaqiangz merged 2 commits intosonic-net:202012from
yaqiangz:202012_fix_vlan_refresh
Mar 8, 2023
Merged

[202012][dhcp_relay] Fix dhcp_relay restart error while add/del vlan (#2688)#2706
yaqiangz merged 2 commits intosonic-net:202012from
yaqiangz:202012_fix_vlan_refresh

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 force-pushed the 202012_fix_vlan_refresh branch from 5f5832c to f1d2645 Compare March 1, 2023 09:05
@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