Razvan Becheriu
21ff30b112
[ #2898 ] added unittests for pool-id
2023-06-22 14:52:48 +00:00
Razvan Becheriu
6acc17aa10
[ #2898 ] add pool-id to yang models
2023-06-22 14:52:48 +00:00
Razvan Becheriu
779459c219
[ #2898 ] add pool-id to parsers
2023-06-22 14:52:48 +00:00
Tomek Mrugalski
c79e3f852e
[ #2707 ] Doc updated
...
Added note about config-set not returning hash for ctrl-agent
2023-06-22 16:23:38 +02:00
Tomek Mrugalski
aadbff39ab
[ #2707 ] parseAnswer() cleaned up
...
There are now two versions of this func:
- parseAnswer() - returns parameters (if present) or text
- parseanswerText() - return text status
Previously they were both bundled into one parseAnswer()
2023-06-22 16:23:38 +02:00
Tomek Mrugalski
6e99746783
[ #2707 ] Fixed shell tests
2023-06-22 16:23:38 +02:00
Tomek Mrugalski
fd3d1df33e
[ #2707 ] Changes after review:
...
- config-get API docs updated
- ctrl-channel section not mentions hashes
2023-06-22 16:23:38 +02:00
Slawek Figiel
4d3ede2b25
[ #2707 ] wordsmithing
2023-06-22 16:23:38 +02:00
Tomek Mrugalski
58e3a1df1a
[ #2707 ] ChangeLog updated
2023-06-22 16:23:38 +02:00
Tomek Mrugalski
be438b98ee
[ #2707 ] config-set in d2 now returns hash
2023-06-22 16:23:38 +02:00
Tomek Mrugalski
a7166db6dd
[ #2707 ] Doc updated
2023-06-22 16:23:38 +02:00
Tomek Mrugalski
abe38a4e5c
[ #2707 ] config-set in v4 now returns hash
2023-06-22 16:23:38 +02:00
Tomek Mrugalski
db6ec11cc1
[ #2707 ] D2 test for config-hash-get fixed
2023-06-22 16:23:38 +02:00
Tomek Mrugalski
0738facc55
[ #2707 ] config-set in v6 now returns hash
2023-06-22 16:23:38 +02:00
Tomek Mrugalski
348434fdc7
[ #2707 ] config-get now returns a hash
2023-06-22 16:23:38 +02:00
Tomek Mrugalski
86d9466eb7
[ #2707 ] hash calc moved to common method
2023-06-22 16:23:38 +02:00
Francis Dupont
b0b1164891
[ #2707 ] Added config-hash-get with SHA-256
2023-06-22 16:23:38 +02:00
Francis Dupont
c3026461a4
[ #2707 ] Added config-hash-get with SHA-256
2023-06-22 16:23:38 +02:00
Francis Dupont
58767e9625
[ #2707 ] Checkpoint before v6
2023-06-22 16:23:38 +02:00
Francis Dupont
1121e02192
[ #2707 ] Checkpoint
2023-06-22 16:23:38 +02:00
Thomas Markwalder
ab133832da
[ #2909 ] Fixed pgsql admin test
...
modified: src/bin/admin/tests/pgsql_tests.sh.in
2023-06-22 11:43:36 +00:00
Thomas Markwalder
0c04d7475e
[ #2909 ] Removed obsolete upgradeBinaryAddress func
...
modified:
src/lib/dhcpsrv/memfile_lease_mgr.cc
src/lib/dhcpsrv/memfile_lease_mgr.h
src/lib/dhcpsrv/testutils/concrete_lease_mgr.cc
src/lib/dhcpsrv/testutils/concrete_lease_mgr.h
2023-06-22 11:43:36 +00:00
Thomas Markwalder
41efd541cf
[ #2029 ] Addressed review comment
...
bin/admin/tests/pgsql_tests.sh.in
- removed hard-coded path
2023-06-22 11:43:36 +00:00
Thomas Markwalder
ff5997c7e9
[ #2909 ] Addressed review comments
...
src/bin/admin/tests/pgsql_tests.sh.in
Adjusted v6 address values
Added pgsql_update_v6_addresses_to_binary() to verify conversion
2023-06-22 11:43:36 +00:00
Thomas Markwalder
0363b11e56
[ #2909 ] Added ORDER BY to GET_LEASE6 SQL
2023-06-22 11:43:36 +00:00
Thomas Markwalder
d5e3f18731
[ #2909 ] Migrated v6 addresses to inet
...
src/share/database/scripts/pgsql/upgrade_016_to_017.sh.in
New file
configure.ac
Added new upgrade file
src/bin/admin/tests/pgsql_tests.sh.in
Updated tests
src/lib/dhcpsrv/pgsql_host_data_source.cc
Modified SQL to convert ipv6_reservations.address to/from inet
src/lib/dhcpsrv/pgsql_lease_mgr.*
Modified SQL to convert lease6.address to/from inet
Removed binaddr column
Removed PgSqlLeaseMgr::upgradeBinaryAddress6()
src/lib/pgsql/pgsql_connection.h
Updated schema version
src/share/database/scripts/pgsql/dhcpdb_create.pgsql
Altered lease6,ipv6_reservastions table
Updated v6 dump and upload functions
2023-06-22 11:43:36 +00:00
Razvan Becheriu
96bf4b20da
[ #2380 ] reverted some changes
2023-06-22 07:28:17 +03:00
Thomas Markwalder
f446945271
[ #2909 ] Fixed token.cc compile error
2023-06-21 15:42:19 -04:00
Thomas Markwalder
309df47c03
[ #2909 ] Readd not null constraint
2023-06-21 14:21:08 -04:00
Thomas Markwalder
ce586ca184
[ #2909 ] More review fixes
...
modified:
src/bin/admin/tests/mysql_tests.sh.in
src/share/database/scripts/mysql/dhcpdb_create.mysql
src/share/database/scripts/mysql/upgrade_018_to_019.sh.in
2023-06-21 14:21:08 -04:00
Thomas Markwalder
fb05f1a275
[ #2909 ] Addressed additional review comments
2023-06-21 14:21:08 -04:00
Thomas Markwalder
f0ef76ee8a
[ #2909 ] Addressed review comments
...
src/bin/admin/tests/mysql_tests.sh.in
Added test to verify lease6 address and ipv6 reservation address
column data conversion
src/lib/dhcpsrv/mysql_host_data_source.cc
Use isc::asiolink::V6ADDRESS_LEN;
src/share/database/scripts/mysql/dhcpdb_create.mysql
src/share/database/scripts/mysql/upgrade_018_to_019.sh.in
Add data conversion logic for lease6 and ipv6_reservation columns
2023-06-21 14:21:08 -04:00
Thomas Markwalder
59b7e64f05
[ #2909 ] Fixed mysql_update_empty_duid_test
...
modified: mysql_tests.sh.in
2023-06-21 14:21:08 -04:00
Thomas Markwalder
5ed24d5839
[ #2909 ] Mysql v6 addresses to binary
...
lease6.address and ipv6_reservations.address columns
changed from varbinary(39) to binary(16).
lease6.binaddr column removed
deleted: src/share/api/binary-address6-upgrade.json
new file: src/share/database/scripts/mysql/upgrade_018_to_019.sh.in
configure.ac
added new mysql upgrade script
doc/sphinx/arm/hooks-lease-query.rst
removed doc for binary-address6-upgrade command
src/bin/admin/tests/mysql_tests.sh.in
modified to use inet6_aton/ntoa as now needed
Updated to test upgrage
src/lib/dhcpsrv/lease_mgr.h
LeaseMgr::upgradeBinaryAddress6() - no longer
abstract, provides a dummy implemention
src/lib/dhcpsrv/mysql_host_data_source.cc
Change v6 reservation address to binary
src/lib/dhcpsrv/mysql_lease_mgr.*
Remove lease6.binaddr and uses
Change lease6.address to binary
src/lib/mysql/mysql_constants.h
Update schema version
src/share/api/api_files.mk
Remove binary-address6-upgrade.json
src/share/database/scripts/mysql/Makefile.am
Add upgrade script
src/share/database/scripts/mysql/dhcpdb_create.mysql
Modify lease6, ipv6_reservations, and impacted functions
2023-06-21 14:21:08 -04:00
Darren Ankney
cc32b6b364
[ #2913 ] Update Authors to remove unneeded addition
2023-06-21 16:16:22 +02:00
Darren Ankney
28c1ed41c6
[ #2913 ] added changelog and myself to authors
2023-06-21 16:15:40 +02:00
Darren Ankney
5fb7c3ee5c
[ #2913 ] fix typo in ARM
2023-06-21 16:14:54 +02:00
Razvan Becheriu
88779bd8f8
[ #2830 ] addressed comments
2023-06-21 15:24:36 +03:00
Razvan Becheriu
753f6d03c4
[ #2830 ] static cast enum to int
2023-06-21 15:06:06 +03:00
Razvan Becheriu
ff6eaacd1b
[ #2830 ] fixed UB for function pointer type
2023-06-21 15:06:06 +03:00
Razvan Becheriu
7e545b4c2a
[ #2830 ] fixed UB for enum cast
2023-06-21 15:06:06 +03:00
Razvan Becheriu
fd6262fd33
[ #2830 ] fixed UB caused by unalligned read
2023-06-21 15:06:06 +03:00
Razvan Becheriu
5f6b8592ed
[ #2830 ] use uint128_t for random prefix allocation
2023-06-21 15:06:06 +03:00
Darren Ankney
92598a5e03
[ #2900 ] Added changelog for #2900
2023-06-21 11:47:13 +00:00
Razvan Becheriu
936d4e601c
[ #2883 ] added ChangeLog entry
2023-06-21 12:01:46 +03:00
Razvan Becheriu
029ba4d548
[ #2883 ] addressed review comments
2023-06-21 11:57:33 +03:00
Razvan Becheriu
df21029e5b
[ #2883 ] changed declined-nas to declined-addresses
2023-06-21 11:54:26 +03:00
Razvan Becheriu
c6c2ead8a2
[ #2883 ] added unittests for pool stats
2023-06-21 11:54:26 +03:00
Razvan Becheriu
3cd3de76a9
[ #2883 ] added documentation for pool stats
2023-06-21 11:54:26 +03:00
Marcin Siodelski
f5e92c69da
[ #2931 ] Fixed host queries
...
Addresses two issues:
- The host query by IPv6 address has been fixed for the case when the
duplicated addresses are allowed
- Corrected fetching vendor options from the host database
2023-06-21 09:59:41 +02:00