[dhcp_server] test ip assignment with single and range ip configuration#12427
[dhcp_server] test ip assignment with single and range ip configuration#12427wangxin merged 8 commits intosonic-net:masterfrom
Conversation
ce26485 to
b8c72ea
Compare
b8c72ea to
594de42
Compare
643835c to
b447ab3
Compare
1595367 to
9a2434f
Compare
|
Hi @wangxin, cloud you help merge this PR? |
|
The pre-commit check detected issues in the files touched by this pull request. Detailed pre-commit check results: To run the pre-commit checks locally, you can follow below steps:
|
…on (sonic-net#12427) What is the motivation for this PR? To make sure dhcp server has the capability for usage. How did you do it? In this PR, first, we write common function to construct DHCP packet, parse VLAN configuration, parse port mapping and send packet and verify packet. second, we add cases for ip assignment with single ip configuration. last, we add case for ip assignment with range ip configuration. How did you verify/test it? Run tests on Arista-720DT-G48S4 and Nokia-7215 mx topo.
…on (sonic-net#12427) What is the motivation for this PR? To make sure dhcp server has the capability for usage. How did you do it? In this PR, first, we write common function to construct DHCP packet, parse VLAN configuration, parse port mapping and send packet and verify packet. second, we add cases for ip assignment with single ip configuration. last, we add case for ip assignment with range ip configuration. How did you verify/test it? Run tests on Arista-720DT-G48S4 and Nokia-7215 mx topo.
Description of PR
Summary:
This PR is part of test plan #11348 implementation
Type of change
Back port request
Approach
What is the motivation for this PR?
To make sure dhcp server has the capability for usage.
How did you do it?
In this PR,
first, we write common function to construct DHCP packet, parse VLAN configuration, parse port mapping and send packet and verify packet.
second, we add cases for ip assignment with single ip configuration.
last, we add case for ip assignment with range ip configuration.
How did you verify/test it?
Run tests on Arista-720DT-G48S4 and Nokia-7215 mx topo.
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation