NAME
Net::DHCPv6::Option::IAPD - Identity Association for Prefix Delegation option (code 25)
VERSION
version 0.001
SYNOPSIS
my $iapd = Net::DHCPv6::Option::IAPD->new(iaid => 1, t1 => 3600, t2 => 5400);
$iapd->add_option($iaprefix);
DESCRIPTION
Implements the IA_PD option (OPTION_IA_PD, code 25) per RFC 8415 §21.22. Contains an IAID, T1, T2, and sub-options (typically IAPrefix options). Same wire layout as IA_NA.
ALPHA STATUS
ALPHA SOFTWARE. This is an early release. The interface is experimental and subject to change without notice.
METHODS
- new(iaid => $num, t1 => $num, t2 => $num, options => $optionlist)
-
Constructor.
iaidis required. - iaid
-
Returns the IAID.
- t1
-
Returns T1 (renew time) in seconds.
- t2
-
Returns T2 (rebind time) in seconds.
- options
-
Returns the internal Net::DHCPv6::OptionList of sub-options.
- add_option($option)
-
Add a sub-option.
- get_option($code)
-
Retrieve the first sub-option with the given code.
SEE ALSO
Net::DHCPv6::Option, Net::DHCPv6::Option::IAPrefix, Net::DHCPv6::Option::IANA
AUTHOR
Dean Hamstead <dean@fragfest.com.au>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2026 by Dean Hamstead.
This is free software, licensed under:
The MIT (X11) License