#
# Define the DHCPv6 option space.
#
# Option numbers are assigned by IANA:
# http://www.iana.org/assignments/dhcpv6-parameters
#
option dhcp6.time-servers code 1040 = array of ip6-address;
option dhcp6.time-offset code 1041 = signed integer 32;

#
# Define the DOCSIS option space.
# TODO: DOCSIS oro definition
#
# this space is already known by Kea
option space docsis code width 2 length width 2;
option vsio.docsis code 4491 = encapsulate docsis;
option docsis.tftp-servers code 32 = array of ip6-address;
% option docsis.tftp-servers local;
option docsis.cablelabs-configuration-file code 33 = text;
% option docsis.cablelabs-configuration-file alias config-file;
% option docsis.cablelabs-configuration-file local;
option docsis.cablelabs-syslog-servers code 34 = array of ip6-address;
% option docsis.cablelabs-syslog-servers alias syslog-servers;
% option docsis.cablelabs-syslog-servers local;
#option docsis.device-id code 36 = string;
% option docsis.device-id code 36 = "X";
% option docsis.device-id local;

# 
# Declare some options.
#
option dhcp6.time-servers 3ffe:bbbb:aaaa:aaaa::1, 3ffe:bbbb:aaaa:aaaa::2;
option docsis.tftp-servers 3ffe:cccc:aaaa:aaaa::1, 3ffe:cccc:aaaa:aaaa::2;

#
# DNS server IP address to update dynamically
#
ddns-update-style interim;
ddns-domainname "foo.com";

#
# Per-host settings.
#
host cablemodem-1 {
	host-identifier option
		dhcp6.client-id 00:01:00:01:0c:00:a1:41:00:06:5b:50:99:f6;
	fixed-address6 3ffe:aaaa:aaaa:aaaa::ffff;
	ddns-domainname "bar.com";
	option dhcp6.time-servers 3ffe:aaaa:aaaa:aaaa::1, 
				   3ffe:aaaa:aaaa:aaaa::2;
	option docsis.tftp-servers 3ffe:aaaa:aaaa:aaaa::1,
				   3ffe:aaaa:aaaa:aaaa::2;
	option dhcp6.time-offset -14400;	# -4 hours
	option docsis.cablelabs-configuration-file "bootfile.cfg";
	option docsis.cablelabs-syslog-servers 3ffe:aaaa:aaaa:aaaa::1,
					       3ffe:aaaa:aaaa:aaaa::2;
}

#host cablemodem-2 {
#	host-identifier option docsis.device-id 00:06:5B:50:99:F6;
#	option dhcp6.time-servers 3ffe:dddd:aaaa:aaaa::1, 
#				   3ffe:dddd:aaaa:aaaa::2;
#	option docsis.tftp-servers 3ffe:dddd:aaaa:aaaa::1,
#				   3ffe:dddd:aaaa:aaaa::2;
#	option dhcp6.time-offset -14400;	# -4 hours
#	option docsis.cablelabs-configuration-file "bootfile.cfg";
#	option docsis.cablelabs-syslog-servers 3ffe:aaaa:aaaa:aaaa::1,
#					       3ffe:aaaa:aaaa:aaaa::2;
#}

# XXX: for testing
subnet6 3ffe:aaaa:aaaa:aaaa::/64 {
}


