8.2.2. DHCP - Client and Proxy¶
8.2.2.1. eth2p-ethip4-ip4base-ip4dhcpclient-func¶
DHCPv4 Client related test cases
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
VPP sends a DHCP DISCOVER | DUT1: |
VPP sends a DHCPv4 DISCOVER with hostname | DUT1: |
VPP sends DHCPv4 REQUEST after OFFER | DUT1: |
VPP doesn’t send DHCPv4 REQUEST after OFFER with wrong XID | DUT1: |
VPP honors DHCPv4 lease time | DUT1: |
8.2.2.2. eth2p-ethip4-ip4base-ip4dhcpproxy-func¶
DHCPv4 proxy test cases
- [Top] Network Topologies: TG = DUT with two links between the nodes.
- [Enc] Packet Encapsulations: Eth-IPv4-UDP-BOOTP-DHCP
- [Cfg] DUT configuration: DUT is configured with DHCPv4 proxy.
- [Ver] TG verification: Test DHCPv4 packets are sent on TG on first link to DUT and received on TG on second link. On receive TG verifies if DHCPv4 packets are valid.
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
TC01: VPP proxies valid DHCPv4 request to DHCPv4 server | DUT1: |
TC02: VPP proxy ignores invalid DHCPv4 request | DUT1: |
8.2.2.3. eth2p-ethip6-ip6base-ip6dhcpproxy-func¶
DHCPv6 proxy test cases
- [Top] Network Topologies: TG = DUT with two links between the nodes.
- [Cfg] DUT configuration: DUT is configured with DHCPv6 proxy.
- [Ver] TG verification: Test DHCPv6 packets are sent on TG on first link to DUT and received on TG on second link. On receive TG verifies if DHCPv6 packets are valid
- [Ref] Applicable standard specifications: RFC 3315
Name | VPP API Test (VAT) Commands History - Commands Used Per Test Case |
---|---|
TC01: VPP proxies valid DHCPv6 request to DHCPv6 server | DUT1: |