dhcpkit_vpp.tests.protocols.test_layer3 module

Test whether layer 3 parsing and generating works

class dhcpkit_vpp.tests.protocols.test_layer3.IPv6TestCase(methodName='runTest')[source]

Bases: dhcpkit_vpp.tests.protocols.FrameTestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_ipv6_length()[source]
test_l4_payload_type()[source]
test_protocol_version()[source]
test_trailing_data()[source]
test_unknown_payload_type()[source]
test_validate_destination()[source]
test_validate_flow_label()[source]
test_validate_hop_limit()[source]
test_validate_next_header()[source]
test_validate_payload()[source]
test_validate_source()[source]
test_validate_traffic_class()[source]
class dhcpkit_vpp.tests.protocols.test_layer3.UnknownLayer3PacketTestCase(methodName='runTest')[source]

Bases: dhcpkit_vpp.tests.protocols.FrameTestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_pseudo_header()[source]