Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [#2723] Removed check | Francis Dupont | 2023-02-07 | 1 | -26/+1 |
| | |||||
* | [#1428] Final code cleanup | Marcin Siodelski | 2020-10-05 | 1 | -1/+1 |
| | | | | | - Removed caching from getAllX functions in HostMgr - Renamed setIPReservationUnique to setIPReservationsUnique | ||||
* | [#1428] Calls to fetch many hosts by id/address | Marcin Siodelski | 2020-10-05 | 1 | -0/+32 |
| | | | | | The new calls have been added to the host backends to retrieve multiple hosts by subnet_id and address. | ||||
* | [#1428] Allow non-unique IPs in MySQL and PgSQL | Marcin Siodelski | 2020-10-05 | 1 | -10/+19 |
| | | | | | | | | Introduced new host API function which allows for configuring selected backends to accept non-unique IP reservations for multiple hosts. Support for it was added in MySQL, Postgres and Kea config file. It is not supported in Cassandra. New migrations for MySQL and Postgres have been created. | ||||
* | [#1163] Checkpoint: updated API | Francis Dupont | 2020-09-22 | 1 | -1/+87 |
| | |||||
* | [392-search-of-reservations-by-hostname] Checkpoint: did tests, todo doc and ↵ | Francis Dupont | 2019-10-15 | 1 | -2/+4 |
| | | | | hook | ||||
* | [392-search-of-reservations-by-hostname] Checkpont: add new methods - tests ↵ | Francis Dupont | 2019-10-15 | 1 | -0/+158 |
| | | | | to write | ||||
* | [313-return-a-list-of-all-reservations-by-subnet-id] Added getPage[46] | Francis Dupont | 2019-01-29 | 1 | -4/+147 |
| | |||||
* | [313-return-a-list-of-all-reservations-by-subnet-id] Added getAll[46] by ↵ | Francis Dupont | 2019-01-29 | 1 | -2/+95 |
| | | | | subnet - checkpoint of the day | ||||
* | [#158,!136] Added ability to remove all hosts for subnet id. | Marcin Siodelski | 2018-11-26 | 1 | -0/+30 |
| | |||||
* | [5704] host backends and kea-dhcp4/6 support global HR storage | Thomas Markwalder | 2018-08-07 | 1 | -7/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Added constants for special SubnetIDs: SUBNET_ID_GLOBAL, SUBNET_ID_MAX, SUBNET_ID_UNUSED - Modified code throughout to use these constants, rather than hard-coded values. Note, MySQL and PostgreSQL host backends convert from NULL to UNUSED and back. - kea-dhcp4/6 servers will now parse a "reservations" element at the global level. src/lib/dhcpsrv/subnet_id.h Added constants SubnetID SUBNET_ID_GLOBAL, SUBNET_ID_MAX, SUBNET_ID_UNUSED src/bin/dhcp4/dhcp4_lexer.ll src/bin/dhcp4/dhcp4_parser.yy src/bin/dhcp4/json_config_parser.cc kea-dhcp4 parsing now handles reservations as a global element src/bin/dhcp4/tests/config_parser_unittest.cc TEST_F(Dhcp4ParserTest, globalReservations) - new test to verify global HR parsing src/bin/dhcp4/tests/dora_unittest.cc src/lib/dhcpsrv/cfg_hosts.cc src/lib/dhcpsrv/host.cc src/lib/dhcpsrv/host_mgr.cc src/lib/dhcpsrv/mysql_host_data_source.cc src/lib/dhcpsrv/parsers/host_reservation_parser.cc src/lib/dhcpsrv/tests/alloc_engine4_unittest.cc src/lib/dhcpsrv/tests/alloc_engine_utils.cc src/lib/dhcpsrv/tests/host_mgr_unittest.cc src/lib/dhcpsrv/tests/host_reservation_parser_unittest.cc src/lib/dhcpsrv/tests/host_reservations_list_parser_unittest.cc src/lib/dhcpsrv/tests/host_unittest.cc Replaced SubnetID 0 with SUBNET_ID_UNUSED src/lib/dhcpsrv/srv_config.cc SrvConfig::toElement() - added global reservations output src/lib/dhcpsrv/tests/cfg_hosts_unittest.cc TEST_F(CfgHostsTest, globalSubnetIDs) TEST_F(CfgHostsTest, unusedSubnetIDs) - new tests src/lib/dhcpsrv/tests/host_unittest.cc Replaced SubnetID 0 with SUBNET_ID_UNUSED TEST_F(HostTest, toText) - updated to verify global ID output src/lib/dhcpsrv/tests/mysql_host_data_source_unittest.cc TEST_F(MySqlHostDataSourceTest, globalSubnetId4) TEST_F(MySqlHostDataSourceTest, globalSubnetId6) - new tests src/lib/dhcpsrv/tests/srv_config_unittest.cc TEST_F(SrvConfigTest, unparseHR) - added global HRs src/lib/dhcpsrv/testutils/generic_host_data_source_unittest.* GenericHostDataSourceTest::testGlobalSubnetId4() GenericHostDataSourceTest::testGlobalSubnetId6() src/bin/dhcp6/dhcp6_lexer.ll src/bin/dhcp6/dhcp6_parser.yy src/bin/dhcp6/json_config_parser.cc kea-dhcp6 now parses reservations as a global element src/bin/dhcp6/tests/config_parser_unittest.cc TEST_F(Dhcp6ParserTest, globalReservations) - new test | ||||
* | [5563] Changes done and compile | Francis Dupont | 2018-05-24 | 1 | -133/+37 |
| | |||||
* | [5208a] unused parameter warnings removed | Tomek Mrugalski | 2017-04-24 | 1 | -7/+9 |
| | |||||
* | [5208a] delete methods implemented in host data sources | Tomek Mrugalski | 2017-04-22 | 1 | -0/+25 |
| | |||||
* | [5208a] toElement() moved from CfgHosts to Host | Tomek Mrugalski | 2017-04-22 | 1 | -108/+10 |
| | |||||
* | [5207] Reverted part of earlier comments, add4/add6 description updated | Tomek Mrugalski | 2017-04-11 | 1 | -16/+0 |
| | |||||
* | [5207] extra checks added in add4(), add6() | Tomek Mrugalski | 2017-04-10 | 1 | -7/+14 |
| | |||||
* | [5207] Improved duplication checks when adding reservations | Tomek Mrugalski | 2017-04-10 | 1 | -3/+27 |
| | |||||
* | [5132] Changes after review (comment #9): | Tomek Mrugalski | 2017-04-03 | 1 | -0/+4 |
| | | | | | | | | - new tests added - needed => required - spaced added where needed - CfgHosts::toElement6 updated - | ||||
* | [5132] parser updated, unit-tests implemented | Tomek | 2017-03-29 | 1 | -1/+5 |
| | |||||
* | [fdunparse2] Snapshot for 4o6-subnet fix | Francis Dupont | 2017-03-07 | 1 | -1/+146 |
| | |||||
* | [4765] Client classes in HR can be specified in configuration file. | Marcin Siodelski | 2016-09-01 | 1 | -1/+3 |
| | |||||
* | [4552] Added support for DHCPv4 message fields into config parser. | Marcin Siodelski | 2016-08-23 | 1 | -2/+5 |
| | |||||
* | [4499] Removed inefficient conversion of the host identifier to text. | Marcin Siodelski | 2016-05-17 | 1 | -23/+5 |
| | |||||
* | [4302] Use new functions to retrieve reservations by any identifier. | Marcin Siodelski | 2016-03-29 | 1 | -22/+49 |
| | |||||
* | [4302] Refactored host data source classes. | Marcin Siodelski | 2016-03-24 | 1 | -38/+150 |
| | | | | | | The updated API exposes functions which retrieve hosts by any identifier and identifier type, rather than DUID or HW address. | ||||
* | [4319] Extend host reservation parser to parse options. | Marcin Siodelski | 2016-03-15 | 1 | -2/+5 |
| | |||||
* | [4236] Replaced license text in all files containing it. | Marcin Siodelski | 2015-12-16 | 1 | -11/+3 |
| | |||||
* | [4024] Fixed c++11 detected errors | Francis Dupont | 2015-08-27 | 1 | -1/+1 |
| | |||||
* | [3652] handle the IPv4 address already reserved case | Francis Dupont | 2015-05-21 | 1 | -0/+12 |
| | |||||
* | [master] remove '#include <config.h' from include files (#3782) | Francis Dupont | 2015-04-18 | 1 | -0/+1 |
| | |||||
* | [3699] Addressed review comments. | Marcin Siodelski | 2015-04-17 | 1 | -1/+8 |
| | |||||
* | [3699] Added traces for cases when no host is found. | Marcin Siodelski | 2015-04-17 | 1 | -3/+10 |
| | |||||
* | [3699] Added data tracing in the CfgHosts class. | Marcin Siodelski | 2015-04-16 | 1 | -0/+58 |
| | |||||
* | [3699] Added more traces to the CfgHosts class. | Marcin Siodelski | 2015-04-16 | 1 | -1/+28 |
| | |||||
* | [3699] Added trace messages to the CfgHosts class. | Marcin Siodelski | 2015-04-16 | 1 | -23/+67 |
| | |||||
* | [master] Compilation fix for NetBSD6 after #3563 | Tomek Mrugalski | 2015-02-06 | 1 | -1/+2 |
| | | | | - See 3643, comment 5 for explanation | ||||
* | [3563] Copyright years updated, minor cosmetics. | Tomek Mrugalski | 2015-02-03 | 1 | -2/+2 |
| | |||||
* | [3563] CfgHosts::get6(subnet_id, addr) implemented, with unit-tests. | Tomek Mrugalski | 2015-01-20 | 1 | -36/+82 |
| | |||||
* | [3563] HostContainer6 definitions added. | Tomek Mrugalski | 2015-01-20 | 1 | -4/+95 |
| | |||||
* | [master] Merge branch 'trac3564' | Marcin Siodelski | 2014-12-22 | 1 | -4/+40 |
|\ | |||||
| * | [3564] Resolve conflicts with the reserved addresses in allocation engine. | Marcin Siodelski | 2014-12-11 | 1 | -4/+40 |
| | | |||||
* | | [3643] Fix problem on Ubuntu and NetBSD Builds | Stephen Morris | 2014-12-15 | 1 | -5/+5 |
|/ | | | | | | | | | Both Ubuntu and NetBSD builds fail because of what appears to be an error trying to the use "equal_range" method of one of the classes associated with the Boost multi-index container. The cause is uncertain - other systems build successfully, so the problem might no lie here, e.g. it could be in the compiler. This fix attempts to side-step the problem by modifying the affected files so as not to use this method. | ||||
* | [master] Merge branch 'trac3628' | Marcin Siodelski | 2014-12-10 | 1 | -1/+21 |
|\ | | | | | | | | | | | | | Conflicts: src/lib/dhcpsrv/Makefile.am src/lib/dhcpsrv/cfg_hosts.cc src/lib/dhcpsrv/tests/cfg_hosts_unittest.cc | ||||
| * | [3628] Addressed review comments. | Marcin Siodelski | 2014-12-09 | 1 | -3/+22 |
| | | | | | | | | | | | | One of the major changes was to eliminate possibility of defining the dead reservation: neither hostname nor IP address reserved and covering it with suitable unit tests. | ||||
* | | [3561] Implemented basic host manager gathering hosts from the config. | Marcin Siodelski | 2014-12-01 | 1 | -4/+10 |
|/ | |||||
* | [3562] Addressed review comments. | Marcin Siodelski | 2014-11-04 | 1 | -4/+8 |
| | |||||
* | [3562] Implemented storage class for Hosts. | Marcin Siodelski | 2014-10-23 | 1 | -0/+190 |