Skip to content

[202205][dhcp_relay] Fix dhcp_relay restart error while add/del vlan (#2688)#2707

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

[202205][dhcp_relay] Fix dhcp_relay restart error while add/del vlan (#2688)#2707
yaqiangz merged 2 commits intosonic-net:202205from
yaqiangz:202205_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
Copy link
Contributor Author

yaqiangz commented Mar 2, 2023

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@yaqiangz
Copy link
Contributor Author

yaqiangz commented Mar 2, 2023

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@yaqiangz
Copy link
Contributor Author

yaqiangz commented Mar 3, 2023

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@yaqiangz
Copy link
Contributor Author

yaqiangz commented Mar 6, 2023

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

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