2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-28 20:47:48 +00:00

88 Commits

Author SHA1 Message Date
Francis Dupont
c14a4b48f3 [#275, !130] Regen flex/bison 2018-11-27 08:39:22 -05:00
Francis Dupont
196a77b3d3 [master] Regen flex/bison 2018-11-20 22:58:30 +00:00
Thomas Markwalder
33c86243dc [#260,!120] Packet queueing is now optional
src/bin/dhcp<4/6>/ctrl_dhcp<4/6>_srv.cc
    ControlledDhcpv<4/6>Srv::processConfig() - now calls
        IfaceMgr::configureDHCPPacketQueue

src/bin/dhcp<4/6>/dhcp<4/6>_parser.yy
    dhpc-queue-control parsing updated to enforce
    enable-queue/queue-type rules

src/bin/dhcp<4/6>/tests/config_parser_unittest.cc
    TEST_F(Dhcp<4/6>ParserTest, dhcpQueueControl)
    TEST_F(Dhcp<4/6>ParserTest, dhcpQueueControlInvalid)

src/lib/dhcp/iface_mgr.*
    IfaceMgr
    - closeSockets()  - now calls stopDHCPReceiver

    - openSockets<4/6>() -  now calls startDHCPReceiver

    - receive<4/6>Indirect() - new function which monitors receiver
    thread watch sockets, reads DHCP packets from queue

    - receive<4/6>Direct() - new function which monitors and reads DHCP
    packets from interface sockets directly

    - receive<4/6>() - rewritten to call receive<4/6>Indirect
    if receiver thread is running, otherwise it calls receive<4/6>Direct

    - configureDHCPPacketQueue() - new function which either enables queuing
    by creating a new packet queue, or disables it by destroying the
    existing queue

src/lib/dhcp/packet_queue_mgr.h
    PacketQueue::destroyPacketQueue() - new function

src/lib/dhcp/packet_queue_mgr<4/6>.cc
    PacketQueueMgr<4/6>::PacketQueueMgr<4/6>() - no longer creates a
    default packet queue

src/lib/dhcpsrv/cfg_iface.cc
    CfgIface::closeSockets() - removed call to stopDHCPReceiver
    CfgIface::openSockets() - removed call to startDHCPReceiver

src/lib/dhcpsrv/parsers/dhcp_queue_control_parser.*
    DHCPQueueControlParser
    - removed unused family_ member
    - parse() - added support for enable-queue

src/lib/dhcpsrv/tests/dhcp_queue_control_parser_unittest.cc
    - new file
2018-11-20 13:22:59 -05:00
Francis Dupont
478b523060 [#268,!125] Regen flex/bison 2018-11-20 19:00:41 +01:00
Francis Dupont
cafeba167e [#182, !128] Regen flex/bison 2018-11-20 13:51:15 +00:00
Francis Dupont
e1def12420 [#270, !129] regen bison with 3.2.1 2018-11-17 21:55:25 +00:00
Francis Dupont
2ce409a598 [master] Regen bison 3.0.5 (>= 3.1 bugged) 2018-11-15 14:08:33 +00:00
Francis Dupont
b0b1d2e765 [master] Regen bison with 3.2.1 (last) version 2018-11-15 13:38:22 +00:00
Thomas Markwalder
dbef8eac8e [#32,!23] dhcp6 now parses "config-control" element 2018-10-05 09:17:50 -04:00
Francis Dupont
f2366df139 [master] regen flex/bison 2018-08-16 11:44:40 +00:00
Francis Dupont
762e88096c [master] regen flex/bison 2018-08-16 11:37:55 +00:00
Thomas Markwalder
e564f4daac [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
2018-04-26 14:24:46 -04:00
Francis Dupont
9c8713d95a [master] regen flex/bison 2018-04-11 15:35:03 +00:00
Francis Dupont
c78317c046 [trac5374] regen flex/bison 2018-04-06 14:23:38 +00:00
Francis Dupont
8819c56a43 [trac5374] regen flex/bison 2018-04-05 22:18:09 +00:00
Francis Dupont
74de17c9be [trac5374] regen flex/bison 2018-04-05 22:14:34 +00:00
Francis Dupont
21f1be7867 [trac5374] regen flex/bison 2018-04-01 12:45:56 +00:00
Francis Dupont
920a75fe37 [trac5374] regen bison 2017-11-27 02:10:43 +00:00
Francis Dupont
a05c060612 [trac5374] regen flex/bison 2017-11-27 02:04:20 +00:00
Francis Dupont
4e5ae0aee9 [trac5425] regen flex/bison 2017-11-19 10:33:24 +00:00
Francis Dupont
0356097066 [trac5425] regen flex/bison 2017-11-03 21:51:59 +00:00
Tomek Mrugalski
18d31ca1da [master] parsers regenerated 2017-09-18 08:45:31 +00:00
Tomek Mrugalski
4840b636c4 [master] parsers regenerated 2017-09-05 11:25:26 +00:00
Tomek Mrugalski
502e648327 [5350] Parsers regenerated. 2017-09-04 13:58:52 +02:00
Francis Dupont
cef2b630c7 [master] regen 2017-08-07 07:55:00 +00:00
Francis Dupont
0c9b8b887b [trac5241] regen 2017-07-28 14:15:50 +00:00
Francis Dupont
5d1ab11b2a [master] regen flex/bison files 2017-07-06 11:12:16 +00:00
Francis Dupont
fb7b01209c [trac5121] regen 2017-01-26 23:49:29 +00:00
Francis Dupont
d2a71d82fa [master] regen flex/bison files 2017-01-25 14:15:40 +00:00
Francis Dupont
3e730be6be [trac5097] regen flex/bison files 2017-01-12 00:57:16 +00:00
Francis Dupont
b0249911dd [master regen flex/bison files 2017-01-10 22:25:58 +00:00
Francis Dupont
7be6514d9b [master] Finished merge of trac5035 (migrate lease expiration config) 2017-01-10 23:24:39 +01:00
Francis Dupont
45ddaa8ad6 [trac5044fd] regen 2017-01-09 18:42:48 +01:00
Francis Dupont
ae995dc442 [trac5035] regen 2017-01-07 05:35:05 +00:00
Francis Dupont
1f20c19d8b trac5017: regen parsers 2016-12-20 17:12:50 +00:00
Tomek Mrugalski
5eb78ae50b [5017] flex/bison files regenerated 2016-12-16 18:47:27 +01:00
Francis Dupont
eb68451c83 trac5036: regen 2016-12-10 10:19:43 +00:00
Tomek Mrugalski
58e7eba199 [5036] Regenerated flex/bison files added. 2016-12-08 13:21:00 +01:00