dhcpkit.tests.ipv6.extensions.test_prefix_delegation module

Test the Prefix Delegation option implementation

class dhcpkit.tests.ipv6.extensions.test_prefix_delegation.IAPDOptionTestCase(methodName='runTest')[source]

Bases: dhcpkit.tests.ipv6.options.test_option.OptionTestCase

setUp()[source]

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

test_bad_option_length()[source]
test_get_option_of_type()[source]
test_get_options_of_type()[source]
test_get_prefixes()[source]
test_sort()[source]
test_validate_iaid()[source]
test_validate_t1()[source]
test_validate_t2()[source]
class dhcpkit.tests.ipv6.extensions.test_prefix_delegation.IAPrefixOptionTestCase(methodName='runTest')[source]

Bases: dhcpkit.tests.ipv6.options.test_option.OptionTestCase

setUp()[source]

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

test_bad_option_length()[source]
test_validate_address()[source]
test_validate_preferred_lifetime()[source]
test_validate_valid_lifetime()[source]