]> git.ipfire.org Git - thirdparty/kea.git/commit
[5535] kea-dhcp6 parsing now supports relay "ip-addresses"
authorThomas Markwalder <tmark@isc.org>
Thu, 26 Apr 2018 18:24:46 +0000 (14:24 -0400)
committerThomas Markwalder <tmark@isc.org>
Thu, 26 Apr 2018 18:24:46 +0000 (14:24 -0400)
commite564f4daacc6882461eb0d80389b841cf3190f93
tree851b9024e9c477d3de248e705a73b67eee74d6b2
parentc71f3d383f4749a3444f9b32be5f2d6bad1ec013
[5535] kea-dhcp6 parsing now supports relay "ip-addresses"

src/bin/dhcp6/dhcp6_lexer.ll
src/bin/dhcp6/dhcp6_parser.yy
    Modified to support "ip-address" and
    "ip-addresses" under "relay"

src/bin/dhcp6/tests/get_config_unittest.cc
    Updated per process.

src/bin/dhcp6/tests/config_parser_unittest.cc
    void checkResult() - modified to output parsing error text

    TEST_F(Dhcp6ParserTest, subnetRelayInfo)
    TEST_F(Dhcp6ParserTest, sharedNetworksDerive)
    - updated to use new Network methods

    TEST_F(Dhcp6ParserTest, subnetRelayInfoList) - new test
    to verify a list of addresses in relay
src/bin/dhcp6/dhcp6_lexer.cc
src/bin/dhcp6/dhcp6_lexer.ll
src/bin/dhcp6/dhcp6_parser.cc
src/bin/dhcp6/dhcp6_parser.h
src/bin/dhcp6/dhcp6_parser.yy
src/bin/dhcp6/location.hh
src/bin/dhcp6/position.hh
src/bin/dhcp6/stack.hh
src/bin/dhcp6/tests/config_parser_unittest.cc
src/bin/dhcp6/tests/get_config_unittest.cc