2.15. test_dhcp module

class test_dhcp.TestDHCP(methodName='runTest')

Bases: framework.VppTestCase

DHCP Test Case

send_and_assert_no_replies(intf, pkts, remark)
setUp()
tearDown()
test_dhcp6_proxy()

DHCPv6 Proxy

test_dhcp_proxy()

DHCPv4 Proxy

validate_relay_options(pkt, intf, ip_addr, fib_id, oui)
verify_dhcp6_advert(pkt, intf, peer)
verify_dhcp6_solicit(pkt, intf, peer_ip, peer_mac, fib_id=0, oui=0, dst_mac=None, dst_ip=None)
verify_dhcp_discover(pkt, intf, src_intf=None, fib_id=0, oui=0, dst_mac=None, dst_ip=None)
verify_dhcp_offer(pkt, intf, fib_id=0, oui=0)
test_dhcp.mk_ll_addr(mac)