[dhcp_relay] sonic dhcp relay agent for IPv4#67
Merged
Blueve merged 20 commits intosonic-net:masterfrom Nov 5, 2025
Merged
Conversation
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
f4847c1 to
cfd6970
Compare
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Member
|
@yaqiangz Appreciate if you can provide feedback on the directory/file structure. |
cfd6970 to
4ab5782
Compare
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
4ab5782 to
cb1b92f
Compare
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
…and dhcp4relay[new code] folders Co-authored-by: Akshath TR <akshath.t.r@gmail.com> Co-authored-by: Ashutosh Agrawal <ashu@cisco.com>
cb1b92f to
37d3981
Compare
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
yaqiangz
reviewed
Jun 24, 2025
yaqiangz
reviewed
Jun 24, 2025
yaqiangz
reviewed
Jul 1, 2025
yaqiangz
reviewed
Jul 1, 2025
yaqiangz
reviewed
Jul 1, 2025
yaqiangz
reviewed
Jul 1, 2025
yaqiangz
reviewed
Jul 1, 2025
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Added missed declarations
8248735 to
92e6506
Compare
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Move pcappp_v24.09.zip and patch folder inside dhcp4relay directory
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Blueve
previously approved these changes
Nov 3, 2025
|
Close and re-open to rerun PR test |
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Signed-off-by: Ashutosh Agrawal <ashu@cisco.com>
Fixed a typo to retrigger PR checks
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Blueve
approved these changes
Nov 5, 2025
saiarcot895
reviewed
Dec 7, 2025
Collaborator
There was a problem hiding this comment.
Why is there a random zip file added here? If this is actually needed as a build dependency, compile it as a separate application or add it into the slave container.
Member
There was a problem hiding this comment.
@saiarcot895 Since, we are applying a minor patch on top of the downloaded PCAP++ source code, we didn't include it in the slave container. But I've modified the build process to now download the file instead of including it in the code. Please review the changes in this PR
ashutosh-agrawal
added a commit
to cshivashgit/sonic-dhcp-relay
that referenced
this pull request
Dec 8, 2025
- Replace 17MB pcappp_v24.09.zip binary with wget download from GitHub - Download from official release: github.com/seladb/PcapPlusPlus/archive/refs/tags/v24.09.tar.gz - Add SHA256 checksum verification (b14998ecf5718c2bfb6f709060e53f7ef67639b98bf2222a3cd23d820d70acdc) - Fix patch file paths to apply cleanly (remove PcapPlusPlus-24.09/ prefix) - Add .gitignore to exclude downloaded artifacts Addresses review comment from saiarcot895 on PR sonic-net#67
ashutosh-agrawal
added a commit
to cshivashgit/sonic-dhcp-relay
that referenced
this pull request
Dec 8, 2025
- Replace 17MB pcappp_v24.09.zip binary with wget download from GitHub - Download from official release: github.com/seladb/PcapPlusPlus/archive/refs/tags/v24.09.tar.gz - Add SHA256 checksum verification (b14998ecf5718c2bfb6f709060e53f7ef67639b98bf2222a3cd23d820d70acdc) - Fix patch file paths to apply cleanly (remove PcapPlusPlus-24.09/ prefix) - Add .gitignore to exclude downloaded artifacts Addresses review comment from saiarcot895 on PR sonic-net#67
Blueve
pushed a commit
that referenced
this pull request
Dec 11, 2025
* [sonic-dhcp4relay]: Defect fixes Below sonic-mgmt issues are fixed: 1. Random source port 2. Padding issues 3. DHCP Server fixes Signed-off-by: Shivashankar CR <shivashankar.c.r@gmail.com> * [sonic-dhcp4relay] Smart switch support Signed-off-by: Shivashankar CR <shivashankar.c.r@gmail.com> * Remove binary zip file and download PcapPlusPlus during build - Replace 17MB pcappp_v24.09.zip binary with wget download from GitHub - Download from official release: github.com/seladb/PcapPlusPlus/archive/refs/tags/v24.09.tar.gz - Add SHA256 checksum verification (b14998ecf5718c2bfb6f709060e53f7ef67639b98bf2222a3cd23d820d70acdc) - Fix patch file paths to apply cleanly (remove PcapPlusPlus-24.09/ prefix) - Add .gitignore to exclude downloaded artifacts Addresses review comment from saiarcot895 on PR #67 --------- Signed-off-by: Shivashankar CR <shivashankar.c.r@gmail.com> Co-authored-by: Ashutosh Agrawal <ashu@cisco.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why I did it
DHCP Relay agent for IPv4
How I did it
Merging dhcp4 changes into this repo, created
dhcp6[existing code] anddhcp4[new code] foldersHLD link:
https://github.com/sonic-net/SONiC/blob/2eb20e2d2bcc181ab8cf1f502173ac0dbd528698/doc/DHCPv4_relay/DHCPv4-relay-agent-High-Level-Design.md