2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 21:45:37 +00:00
Commit Graph

27647 Commits

Author SHA1 Message Date
Suzanne Goldlust
93a4498dac Add new file 2019-10-29 18:57:13 +01:00
Suzanne Goldlust
769a317cea Add new file 2019-10-29 18:57:13 +01:00
Suzanne Goldlust
3d3d7d26a2 Add new file 2019-10-29 18:57:13 +01:00
Suzanne Goldlust
23318edbfa Update _template.json 2019-10-29 18:57:13 +01:00
Suzanne Goldlust
1c89d414a8 Add new file 2019-10-29 18:57:13 +01:00
Suzanne Goldlust
840a96f63a Add new file 2019-10-29 18:57:13 +01:00
Suzanne Goldlust
c119ba5825 Update _template.json 2019-10-29 18:57:13 +01:00
Suzanne Goldlust
2f9c30203e Add new file 2019-10-29 18:57:13 +01:00
Suzanne Goldlust
b54d861872 Update config-get.json 2019-10-29 18:57:13 +01:00
Suzanne Goldlust
dd280c6416 Add new file 2019-10-29 18:57:13 +01:00
Suzanne Goldlust
5d6ca8abab Update _template.json 2019-10-29 18:57:13 +01:00
Suzanne Goldlust
3393bc5767 Update config-reload.json 2019-10-29 18:57:13 +01:00
Suzanne Goldlust
b0c2c68966 Add new file 2019-10-29 18:57:13 +01:00
Tomek Mrugalski
057eb28159 [#10,!3] Template updated. 2019-10-29 18:57:13 +01:00
Tomek Mrugalski
88c2621cbf [#10,!3] api.xml regen 2019-10-29 18:57:13 +01:00
Tomek Mrugalski
43eb8b698d [#10,!3] Updated generate-templates to better emphasize not documented cmds 2019-10-29 18:57:13 +01:00
Tomek Mrugalski
3bfa961c45 [#10,!3] Generated API is now an appendix 2019-10-29 18:57:13 +01:00
Tomek Mrugalski
0875cf30ae [#10,!3] Couple convenience make targets added 2019-10-29 18:57:13 +01:00
Tomek Mrugalski
66a390fe09 [#10,!3] Docgen sources are now documented. 2019-10-29 18:57:13 +01:00
Tomek Mrugalski
84a5a8af7d [#10,!3] generate-templates script updated 2019-10-29 18:57:13 +01:00
Tomek Mrugalski
f77ae9c9ee [#10,!3] Three more commands documented. 2019-10-29 18:57:13 +01:00
Tomek Mrugalski
1e8166dcce [#10,!3] Build order changed. 2019-10-29 18:57:13 +01:00
Tomek Mrugalski
c6b9d78908 [#10,!3] docgen moved to doc/docgen 2019-10-29 18:57:13 +01:00
Tomek Mrugalski
be3e7a5fdc [#10,!3] API reference is now an appendix 2019-10-29 18:57:13 +01:00
Tomek Mrugalski
bf55ad45cf [#10, !3] cache-clear,get documented 2019-10-29 18:57:13 +01:00
Tomek Mrugalski
2c7b4cfdec [#10, !3] docgen now generates a list of hooks 2019-10-29 18:57:13 +01:00
Tomek Mrugalski
4df92d31c2 [#10,!3] reservation-get/del/all references updated. 2019-10-29 18:57:13 +01:00
Tomek Mrugalski
6cc5d94b7c [gitlab10/5422] list for specific daemons are now generated. 2019-10-29 18:57:13 +01:00
Tomek Mrugalski
e0021f33d0 [5422] Bug in kea-docgen fixed. 2019-10-29 18:57:13 +01:00
Tomek Mrugalski
e48ae94afa [5422] renamed to kea-docgen 2019-10-29 18:57:13 +01:00
Tomek Mrugalski
c370715fcd [5422] template generator added 2019-10-29 18:57:13 +01:00
Tomek Mrugalski
49bfad5bef [5422] reservation-{add,del,get} documented. 2019-10-29 18:57:13 +01:00
Tomek Mrugalski
b20dd55ce7 [5422] template added. 2019-10-29 18:57:13 +01:00
Tomek Mrugalski
af95c71339 [5422] Some parameters are now optional. 2019-10-29 18:57:13 +01:00
Tomek Mrugalski
38da58d3c6 [5422] List of supported commands added. 2019-10-29 18:57:13 +01:00
Tomek Mrugalski
c671e542b6 [5422] Template handling improved. 2019-10-29 18:57:12 +01:00
Tomek Mrugalski
e833c57668 [5422] Initial kea-docgen implemented 2019-10-29 18:57:12 +01:00
Tomek Mrugalski
9f39603952 [#129,!55] Regenerated parser/lexer for dhcp6 2018-10-30 11:51:33 +01:00
Tomek Mrugalski
f6f85dfd9f [#129,!55] Reverted not needed changes 2018-10-30 11:23:06 +01:00
Thomas Markwalder
ef8592eb72 [#129,!55] Add missing global keyword parsing to kea-dhcp6
src/bin/dhcp6/dhcp6_lexer.ll
src/bin/dhcp6/dhcp6_parser.yy
    adde keyword value of "global"

src/bin/dhcp6/tests/config_parser_unittest.cc
    TEST_F(Dhcp6ParserTest, hostReservationPerSubnet) - added check
    for "global" mode value

src/bin/dhcp6/tests/get_config_unittest.cc
     Updated generated config tests
2018-10-30 11:06:19 +01:00
Thomas Markwalder
6214dfbc92 [master] Removed mistaken file from bin/dhcp4
This file was created by mistake:

        src/bin/dhcp4/dhcp4_lexer.yy

    It has been removed.
2018-10-29 11:59:56 -04:00
Thomas Markwalder
21cac7d0a0 [#42,!103] Initial receiver thread and packet queuing
New files:
    src/lib/dhcp -
    packet_queue.h - defines packet queuing template classes
    socket_info.h - contains existing class extracted iface_mgr.h
    tests/packet_queue4_unittest.cc
    tests/packet_queue6_unittest.cc

src/lib/dhcp/iface_mgr.*
IfaceMgr:: - new functions
    - receiveDHCP<4/6>Packets() - thread worker function which
    monitors interface sockets, enqueues packets as they are read

    - receiveDHCP<4/6>Packet() - reads a single packet from a socket

    - startDHCPReceiver(const uint16_t family) - runs
    receiveDHCP<4/6?appropriate worker function in a thread

    - stopReceiver() - stops the receiver thread

    - setPacketQueue<4/6> - replaces the default packet queue instance

    receiveDHCP<4/6>() - modified to monitor receiver watch
    socekts rather than interface sockets.  Dequeue packets
    from packet queue.

src/lib/dhcp/tests/iface_mgr_unittest.cc
    TEST_F(IfaceMgrTest, packetQueue4)
    TEST_F(IfaceMgrTest, packetQueue6)

src/lib/dhcpsrv/cfg_iface.cc
    CfgIface::openSockets() - starts DHCP receiver
    CfgIface::closeSockets() - stops DHCP receiver
2018-10-29 11:27:12 -04:00
Francis Dupont
0a9e50ce1b [65-libyang-config-translator] Last improvements before merge 65-libyang-tools_base 65-libyang-finish-doc_base 65-libyang-getParam_base 2018-10-25 18:08:48 +02:00
Francis Dupont
df75c9cafc [65-libyang-config-translator] Small fixes (translator_config.cc to be reviewed) 2018-10-25 14:08:34 +02:00
Tomek Mrugalski
38caaefce4 [#65,!96] converted size() > 0 to !empty()
- also fixes in nested structures
2018-10-25 13:18:50 +02:00
Tomek Mrugalski
206ce1b44d [#65,!96] Now both MapElement and ListElement have functional empty() 2018-10-25 12:47:53 +02:00
Tomek Mrugalski
8c910e9c6a [#65,!96] Commented out code removed. 2018-10-25 12:30:59 +02:00
Tomek Mrugalski
df53eb47f4 [#65,!96] TranslatorConfig reworked
- getParam added
 - many larger functions refactored
2018-10-25 12:29:17 +02:00
Francis Dupont
6ba2a0862a [65-libyang-config-translator] Added examples 2018-10-24 18:24:24 +02:00
Francis Dupont
3303549e34 [65-libyang-config-translator] Small improvements 2018-10-24 16:09:24 +02:00