BIND 10 #3151: PD: Configuration parsers much be able to parse PD configuration
BIND 10 Development
do-not-reply at isc.org
Tue Sep 24 11:34:39 UTC 2013
#3151: PD: Configuration parsers much be able to parse PD configuration
-------------------------------------+-------------------------------------
Reporter: tomek | Owner:
Type: enhancement | UnAssigned
Priority: medium | Status:
Component: dhcpconf | reviewing
Keywords: | Milestone:
Sensitive: 0 | Sprint-DHCP-20130918
Sub-Project: DHCP | Resolution:
Estimated Difficulty: 0 | CVSS Scoring:
Total Hours: 0 | Defect Severity: N/A
| Feature Depending on Ticket:
| Add Hours to Ticket: 0
| Internal?: 0
-------------------------------------+-------------------------------------
Changes (by tmark):
* owner: tmark => UnAssigned
* status: assigned => reviewing
Comment:
As of git f67708b12cc011dcaa6a6352792b42f154527bec,
DHCP6 configuration processing now supports a list of prefix delegation
pools.
The dhcp6.spec file element, "subnet6", was modified to contain an
element, "pd_pools".
This element is a list element containing "pd-pool" elements. Each "pd-
pool" element contains
three scalar elements: "prefix", "prefix-len", and "delegated-len".
Two new parser classes were added to dhcp6/config_parser.cc,
!PdPoolListParser and !PdPoolParser. The former parses "pd-pools",
invoking the latter for each "pd-pool"
element therein.
I added a unit test of the spec file itself. This ensures that the spec
file is valid. I used this technique with D2 and found it quite helpful.
I also added three new unit tests which specifically test the prefix pool
parsing.
!ChangeLog entry:
6xx. [func] tmark
Added support for configuring prefix delegation pools in DHCP6 subnets
to b10-dhcp6.
(Trac# 3151 git TBD)
--
Ticket URL: <http://bind10.isc.org/ticket/3151#comment:3>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list