1. 27 Apr, 2018 1 commit
  2. 26 Apr, 2018 5 commits
    • Thomas Markwalder's avatar
    • Thomas Markwalder's avatar
      [5535] Updated admin guide · d4c3cac2
      Thomas Markwalder authored
      d4c3cac2
    • Thomas Markwalder's avatar
      [5535] kea-dhcp6 parsing now supports relay "ip-addresses" · e564f4da
      Thomas Markwalder authored
      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
      e564f4da
    • Thomas Markwalder's avatar
      [5535] kea-dhcp4 parsing now supports relay "ip-addresses" · c71f3d38
      Thomas Markwalder authored
      src/bin/dhcp4/dhcp4_lexer.ll
      src/bin/dhcp4/dhcp4_parser.yy
          Modified to support "ip-address" and
          "ip-addresses" under "relay"
      
      src/bin/dhcp4/tests/get_config_unittest.cc
          Updated per process.
      
      src/bin/dhcp4/tests/config_parser_unittest.cc
          void checkResult() - modified to output parsing error text
      
          TEST_F(Dhcp4ParserTest, subnetRelayInfo)
          TEST_F(Dhcp4ParserTest, classifySubnets)
          - updated to use new Network methods
      
          TEST_F(Dhcp4ParserTest, subnetRelayInfoList) - new test
          to verify a list of addresses in relay
      c71f3d38
    • Thomas Markwalder's avatar
      [5535] RelayInfo parsing handles both ip-address and ip-addresses · 0e5e017d
      Thomas Markwalder authored
      src/lib/dhcpsrv/parsers/dhcp_parsers.*
          RelayInfoParser::parse() - reworked to support either
          ip-address or ip-addresses
      
          RelayInfoParser::addAddress() - new parser helper method
      
      src/lib/dhcpsrv/parsers/shared_network_parser.cc
          SharedNetwork4Parser::parse()
          SharedNetwork6Parser::parse()
          - both now parse "relay" element (was missing)
      
      src/lib/dhcpsrv/tests/shared_network_parser_unittest.cc
          Modified to support testing "relay" element parsing
          Added new tests:
              TEST_F(SharedNetwork4ParserTest, relayInfoTests)
              TEST_F(SharedNetwork6ParserTest, relayInfoTests)
      0e5e017d
  3. 25 Apr, 2018 1 commit
    • Thomas Markwalder's avatar
      [5535] dhcpsrv now supports multiple relay addresses in RelayInfo · 9e362be0
      Thomas Markwalder authored
      src/lib/dhcpsrv/network.*
          Network::RelayInfo
          - modified to support a list of IP addresses
          - added methods:
              addAddress(const asiolink::IOAddress& addr)
              bool hasAddresses()
              bool containsAddress(const asiolink::IOAddress& addr)
              +const IOAddressList& getAddresses()
      
          Network
          - added wrapper methods for convenience:
              addRelayAddress(const asiolink::IOAddress& addr)
              bool hasRelays()
              bool hasRelayAddress(const asiolink::IOAddress& addr)
              const IOAddressList& getRelayAddresses()
      
          - toElement() - modified to output ip-addresses list
      
          Updated the following accordingly:
              src/lib/dhcpsrv/cfg_subnets4.cc
              src/lib/dhcpsrv/cfg_subnets6.cc
              src/lib/dhcpsrv/parsers/dhcp_parsers.cc
              src/lib/dhcpsrv/subnet.cc
              src/lib/dhcpsrv/tests/cfg_shared_networks4_unittest.cc
              src/lib/dhcpsrv/tests/cfg_shared_networks6_unittest.cc
              src/lib/dhcpsrv/tests/cfg_subnets4_unittest.cc
              src/lib/dhcpsrv/tests/cfg_subnets6_unittest.cc
              src/lib/dhcpsrv/tests/dhcp_parsers_unittest.cc
              src/lib/dhcpsrv/tests/shared_network_unittest.cc
              src/lib/dhcpsrv/tests/subnet_unittest.cc
      9e362be0
  4. 23 Apr, 2018 5 commits
  5. 18 Apr, 2018 2 commits
  6. 12 Apr, 2018 4 commits
  7. 11 Apr, 2018 15 commits
  8. 10 Apr, 2018 7 commits