2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-29 04:57:52 +00:00

32833 Commits

Author SHA1 Message Date
Marcin Siodelski
83a5989497 [#1928] Throw committing not started transaction 2021-07-21 10:49:50 +00:00
Marcin Siodelski
5552c198fe [#1928] Remove const cast from test code 2021-07-21 10:49:50 +00:00
Marcin Siodelski
7fa1447e1e [#1928] Use qualified column name in query 2021-07-21 10:49:50 +00:00
Marcin Siodelski
c38c2f21b6 [#1928] Use EXPECT_EQ instead of ASSERT_EQ 2021-07-21 10:49:50 +00:00
Andrei Pavel
43ce058995 [#1928] Added missing messages comment 2021-07-21 10:49:50 +00:00
Andrei Pavel
ba7bba1fcc [#1928] Applied suggested change to comment 2021-07-21 10:49:50 +00:00
Andrei Pavel
92f93fd581 [#1928] Corrected the typo 2021-07-21 10:49:50 +00:00
Andrei Pavel
28a3ba2533 [#1928] Corrected the typo 2021-07-21 10:49:50 +00:00
Andrei Pavel
54e47a90ef [#1928] Corrected copyright date 2021-07-21 10:49:50 +00:00
Marcin Siodelski
c1286d14a5 [#1928] ClientClassDef copy constructor fixed
Added a unit test for copy constructor and copy all the data.
2021-07-21 10:49:50 +00:00
Andrei Pavel
7467628857 [#1928] Format spaces in MySQL schema scripts
(minor change)
2021-07-21 10:49:50 +00:00
Marcin Siodelski
0842008676 [#1928] Fix class ordering procedure
The comparison of follow_class_name values during the class update must
take into account the case when both values are NULL.
2021-07-21 10:49:50 +00:00
Marcin Siodelski
11aec081e5 [#1928] Test DHCPv4 CB supports follow_class_name 2021-07-21 10:49:50 +00:00
Marcin Siodelski
4355febb75 [#1928] Do not re-position the class on update
When follow_class_name value is null, do not change the class position.
2021-07-21 10:49:50 +00:00
Marcin Siodelski
44a0436113 [#1928] Do not re-order classes
When follow_client_class is not specified for an updatedc class, the class
should not be moved.
2021-07-21 10:49:50 +00:00
Marcin Siodelski
83b27f5668 [#1928] Guard against breaking class dependencies
Updated schema to check against the case when a class on which other
classes depend is moved behind these classes.
2021-07-21 10:49:50 +00:00
Marcin Siodelski
4ba460d0f9 [#1928] Fix nested MySQL transactions
MySQL does not support nested transactions. If there is a transaction
in progress and another one starts, the current transaction is committed.
It poses a problem for Config Backend which may sometimes start a
transaction within another transaction causing commit of the partial
changes. Now, when a transaction is in progress, a call to begin a new
transaction is ignored until the parent transaction is committed or rolled
back.
2021-07-21 10:49:50 +00:00
Marcin Siodelski
e1ffbab04a [#1928] Config backend pool for DHCPv4 extended
The client class specific calls were added to the config backend pool for
DHCPv4.
2021-07-21 10:49:50 +00:00
Marcin Siodelski
1faffe41ce [#1928] DHCPv4 client classes in MySQL 2021-07-21 10:49:50 +00:00
Marcin Siodelski
725f3259b9 [#1928] Client classes added to CB API
The CB API exposes a couple new API calls to support getting, adding and
deleting client classes in DHCPv4.
2021-07-21 10:49:50 +00:00
Francis Dupont
6373c4d681 [#1950] Added a ChangeLog entry 2021-07-16 02:32:47 +02:00
Francis Dupont
5afa371ab1 [#1950] Added a ChangeLog entry 2021-07-16 02:31:57 +02:00
Francis Dupont
b3b7168c09 [#1950] Moved to += (vs =) 2021-07-15 14:05:06 +02:00
Francis Dupont
4ca48422ab [#1950] Reverted last test changes 2021-07-15 14:01:24 +02:00
Francis Dupont
ce6724427c [#1950] Addressed comments 2021-07-15 13:08:33 +02:00
Francis Dupont
3ac82c0c8a [#1950] Added extended configured UT 2021-07-13 11:59:05 +02:00
Francis Dupont
3e6160d9f3 [#1950] Checkpoint: extended d2_srv_configured 2021-07-12 17:40:15 +02:00
Francis Dupont
ddab7688c2 [#1963] Updated comment 2021-07-09 19:29:39 +02:00
Francis Dupont
edcc3c2426 [#1963] Added Doxyfile 2021-07-09 19:29:39 +02:00
Francis Dupont
64bba076a5 [#1963] Updated doc 2021-07-09 19:29:39 +02:00
Francis Dupont
49e7250b21 [#1963] Moved code from D2CfgContextPtr 2021-07-09 19:29:00 +02:00
Francis Dupont
7af8e8c066 [#1957] Updated the .dox 2021-07-09 19:15:05 +02:00
Francis Dupont
4258f31bce [#1957] Addressed comments 2021-07-09 18:57:17 +02:00
Francis Dupont
689566a23f [#1957] Moved Qid and random 2021-07-06 14:21:57 +02:00
Andrei Pavel
438e394815
[#1961] quote "local a=${b}" expressions for dash
In dash if ${b} contains spaces, a is assigned the first word instead of
the whole expression in the "local a=${b}" expression format. Empirically,
there seem to be several solutions:
* local a="${b}"
* local a
  a=${b}
* a=${b} - losing the non-posix "local"

This commit adds the quotes like in the first solution above to all
expressions that match the format above.
2021-07-05 20:46:52 +03:00
Andrei Pavel
f5fe0ccc21
[#1961] remove comment about unused KEACTRL_CONF 2021-07-05 17:13:16 +03:00
Andrei Pavel
55fe8df497
[#1961] centralize shell test preparation 2021-07-05 16:18:57 +03:00
Marcin Siodelski
00ca9671f1 [#1920] Fix in PgSQL tests
Suggested in review to make it consistent with MySQL test.
2021-07-05 09:24:38 +00:00
Marcin Siodelski
b606998d2d [#1920] Extended MySQL shell test
Besides checking that the two classes get swapped check that the first
class remains at the same position.
2021-07-05 09:24:38 +00:00
Andrei Pavel
b411f117bd [#1920] Applied suggestion
Corrected spacing.
2021-07-05 09:24:38 +00:00
Andrei Pavel
e775017915 [#1920] Apply 9 suggestion(s) to 4 file(s)
Corrected a couple of typos suggested in the review.
2021-07-05 09:24:38 +00:00
Marcin Siodelski
8a8f6b50c0 [#1920] Database schema for client classes
Extended database schema with new tables holding information about
configured client classes, ordering them, storing their dependencies and
associating them with the server tags. In addition, extended the tables
holding option definitions with an additional column class_id to optionally
associate an option definition with a class.
2021-07-05 09:24:38 +00:00
Andrei Pavel
95e81afb62
[#1961] set lock and pid dirs to path inside repo
to avoid deleting your entire repo
2021-07-02 13:10:49 +03:00
Andrei Pavel
918479fc2c
[#1692] Gitlab CI: fix "test: too many arguments" 2021-07-01 21:37:47 +03:00
Michal Nowikowski
c7c810d24a [#1885] hammer: added support for building kea with gss-api 2021-07-01 09:53:44 +00:00
Andrei Pavel
960c74a45f [#1642] make gtests, shtests, pytests sequential 2021-07-01 07:15:53 +00:00
Andrei Pavel
fbaf186be1
[#1953] hammer.py: Continent/Country/Zone TZ 2021-07-01 10:06:59 +03:00
Andrei Pavel
4783192111
[#1956] bump version to 1.9.10-git 2021-07-01 10:01:02 +03:00
Andrei Pavel
6d3e22be31
[#1947] 1.9.9 release: mention --with-gssapi
in build requirements
Kea-1.9.9
2021-06-28 14:56:43 +03:00
Andrei Pavel
0bf61f4707
[#1947] 1.9.9 release: update support platforms 2021-06-28 14:52:54 +03:00