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

32859 Commits

Author SHA1 Message Date
Tomek Mrugalski
bdc0e8fcd7 [#1077] Compilation fix 2021-07-23 10:45:36 +00:00
Andrei Pavel
5999b724ca [#1077] migrate src/bin/netconf to sysrepo 1.4 2021-07-23 10:45:36 +00:00
Andrei Pavel
500b7bf0fa [#1077] migrate src/lib/yang to sysrepo 1.4 2021-07-23 10:45:36 +00:00
Andrei Pavel
2f6c06c2b7 [#1077] ListElement::sort()
created to be used in NETCONF unit tests
2021-07-23 10:45:36 +00:00
Andrei Pavel
8a733f3074 [#1077] check-hashes.sh is now run on "make check" 2021-07-23 10:45:36 +00:00
Andrei Pavel
7f1371ae27 [#1077] check-hashes.sh -a now amends hashes 2021-07-23 10:45:36 +00:00
Andrei Pavel
338a0c6c5a [#1077] script installs YANG modules: reinstall.sh 2021-07-23 10:45:36 +00:00
Andrei Pavel
9942b35e41 [#1077] make autotools work with sysrepo 1.4 2021-07-23 10:45:36 +00:00
Marcin Siodelski
591cf75454 [#1977] Addressed review comments
Added note that client classes from the database replace all classes
specified in the file. Added syntax highlighting to cb_cmds. Corrected
some typos.
2021-07-23 08:06:16 +02:00
Marcin Siodelski
b7cf28e30f [#1977] Added ChangeLog for classes in CB 2021-07-23 08:06:13 +02:00
Marcin Siodelski
718f95d304 [#1977] Added API files to class commands in CB 2021-07-23 08:04:51 +02:00
Marcin Siodelski
8706c0c6f8 [#1977] Described class commands
Described CB commands for manipulating client classes.
2021-07-23 08:04:51 +02:00
Marcin Siodelski
2f446fb435 [#1977] General CB sections extended
Corrected some existing text about CB and added information about support
for Client Classes.
2021-07-23 08:04:51 +02:00
Marcin Siodelski
7353a65b6d [#1972] Removed leftover debug 2021-07-22 16:26:19 +02:00
Marcin Siodelski
24765fd878 [#1972] DHCP servers fetch client classes
Both DHCPv4 and DHCPv6 now fetch client classes from the configuration
backend.
2021-07-21 21:58:12 +02:00
Marcin Siodelski
7a36e183ff [#1928] Addressed review comments
Corrected typos, removed whitespace and fixed some doxygen warnings.
2021-07-21 18:41:11 +02:00
Marcin Siodelski
19cf2539af [#1928] Removed const cast from test v6 backend 2021-07-21 13:03:29 +02:00
Marcin Siodelski
a01b22b1fb [#1928] Corrected a typo 2021-07-21 13:03:29 +02:00
Marcin Siodelski
887892af73 [#1928] Test DHCPv6 CB supports follow_class_name 2021-07-21 13:03:29 +02:00
Marcin Siodelski
d413404d99 [#1928] Do not re-position DHCPv6 class on update 2021-07-21 13:03:29 +02:00
Marcin Siodelski
fff7ab6ffc [#1928] Optionally skip checking deps
The client class parser can be configured to skip checking class
dependencies during parsing.
2021-07-21 13:03:29 +02:00
Marcin Siodelski
ea147851ed [#1928] Config backend pool for DHCPv6 extended
The client class specific calls were added to the config backend pool for
DHCPv6.
2021-07-21 13:03:29 +02:00
Marcin Siodelski
1825ac95ca [#1928] DHCPv6 MySQL Config Backend
Implemented DHCP6 Config Backend similar to the DHCPv4.
2021-07-21 13:03:29 +02:00
Marcin Siodelski
988fc032b0 [#1928] Added new line in message file 2021-07-21 10:49:50 +00:00
Marcin Siodelski
611fed36be [#1928] Copy assignment for class dictionary 2021-07-21 10:49:50 +00:00
Marcin Siodelski
7e77245c57 [#1928] Throw upon clearing not started audit 2021-07-21 10:49:50 +00:00
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