2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 13:37:55 +00:00

23242 Commits

Author SHA1 Message Date
Francis Dupont
7d36aebe14 [master] Merge trac4110a (DHCP4o6 v4 server part) 2016-06-30 20:51:02 +02:00
Francis Dupont
dedda6a36d [master] Merge trac4500 lease6_rebind 2016-06-30 20:50:03 +02:00
Francis Dupont
923242ca2e [4110a] Removed spurious indexes for registered hook points (second try) 2016-06-30 19:37:58 +02:00
Francis Dupont
85279c473f [4500] ASSERTs are not allowed in fixture methods 2016-06-30 19:17:34 +02:00
Francis Dupont
9cb76e21b3 [4110a] Removed spurious indexes for registered hook points 2016-06-30 19:10:36 +02:00
Francis Dupont
1cefa54c12 [4500] Addressed comments 2016-06-30 19:01:19 +02:00
Francis Dupont
4a9030245f [4110a] Addressed comments 2016-06-30 00:08:35 +02:00
Tomek Mrugalski
728c4db7ea [4518] DB-specific sections for reservations added 2016-06-29 14:12:12 +02:00
Tomek Mrugalski
6f4e9166ad [4518] Documentation for DHCPv6 reservations updated. 2016-06-29 13:43:21 +02:00
Francis Dupont
33b0b839db [4531] Replaced test < by expr 2016-06-29 12:06:31 +02:00
Tomek Mrugalski
b939bf7dbd [4518] User's Guide, examples updated for DHCPv4 2016-06-28 20:11:16 +02:00
Francis Dupont
61f6b045cd [master] Updated git hash 2016-06-28 10:53:10 +02:00
Francis Dupont
8d1f330d9b [master] Finished merge of trac4109a (DHCP4o6 v6 part 2016-06-28 10:52:24 +02:00
Francis Dupont
f392806092 [master] Merge trac4109a (DHCP4o6 v6 part 2016-06-28 10:49:27 +02:00
Thomas Markwalder
3d40522867 [4277] Cleanup and commentary 2016-06-27 16:00:38 -04:00
Francis Dupont
675ba26cbf [4109a] already -> always 2016-06-27 21:42:01 +02:00
Tomek Mrugalski
980154e7fc [4109a] Minor clarifications. 2016-06-27 17:06:50 +02:00
Francis Dupont
0a9ee63132 [4523] Added missing appendRequestedVendorOptions() 2016-06-25 20:50:32 +02:00
Francis Dupont
56d5b65f39 [4283] Ignore unused parameter in asio* Makefile for clang 2016-06-25 18:26:42 +02:00
Francis Dupont
8d5e15f0f1 [4109a] indent 2016-06-25 18:14:13 +02:00
Francis Dupont
0b2ec98559 [4109a] Addressed comments 2016-06-25 17:45:34 +02:00
Francis Dupont
c6e01f9445 [4283] Added the everybody is trusted and its fix 2016-06-25 13:58:04 +02:00
Thomas Markwalder
3466f6506d [4277] Fixed PsqlBindArray.basicOperation unit test
Fixed test now that PsqlBindArray.toText() works right.
2016-06-24 14:35:10 -04:00
Thomas Markwalder
0ce4fe5b36 [4277] Fixed bug in PsqlBindArray:toText 2016-06-24 14:30:35 -04:00
Thomas Markwalder
3c22198304 [4277] Rollback test passes
tests/pgsql_host_data_source_unittest.cc
    TEST_F(PgSqlHostDataSourceTest, testAddRollback) now
    functions and passes
2016-06-24 13:22:20 -04:00
Thomas Markwalder
8f21305bd3 [4277] IPv6 Reservations now functional
src/lib/dhcpsrv/pgsql_exchange.h
src/lib/dhcpsrv/pgsql_exchange.cc
src/lib/dhcpsrv/pgsql_lease_mgr.cc
    Moved getIPv6Value() from PgSqlLease6Exchange to
    PgSqlExchange and made it static

    PgSqlExchange::dumpRow() gets number of columns
    from result set, not parameter

src/lib/dhcpsrv/pgsql_host_data_source.cc
     PgSqlIPv6ReservationExchange
     PgSqlHostIPv6Exchange - now functional

src/lib/dhcpsrv/tests/pgsql_host_data_source_unittest.cc
    TEST_F(PgSqlHostDataSourceTest, get6AddrWithDuid)
    TEST_F(PgSqlHostDataSourceTest, addDuplicate6WithHWAddr)
    TEST_F(PgSqlHostDataSourceTest, optionsReservations6)
    TEST_F(PgSqlHostDataSourceTest, optionsReservations46)
    TEST_F(PgSqlHostDataSourceTest, formattedOptionsReservations6)
    TEST_F(PgSqlHostDataSourceTest, formattedOptionsReservations46)
    - All included and passing.
2016-06-24 11:56:07 -04:00
Thomas Markwalder
3c01633e93 [4277] PgSqlHostWithOptionsExchange, PgSqlOptionExchange now functional
src/lib/dhcpsrv/pgsql_connection.h
    Added OID_TEXT

src/lib/dhcpsrv/pgsql_exchange.cc
    PsqlBindArray::addNull()

    class PgSqlExchange
        - getColumnLabel() - now gets column name from result set
        - getColumnValue variants are now static methods
        - rename column_labels_ to columns_
        - isColumnNull() new method tests if column in row is null
        - dumpRow() - debug method dumps row as text

src/lib/dhcpsrv/pgsql_host_data_source.cc
    PgSqlHostWithOptionsExchange
    PgSqlOptionExchange  now functional

src/lib/dhcpsrv/tests/pgsql_host_data_source_unittest.cc
    TEST_F(PgSqlHostDataSourceTest, addDuplicate4)
    TEST_F(PgSqlHostDataSourceTest, formattedOptionsReservations4)
    - Enabled and passing.
2016-06-24 07:31:24 -04:00
Tomek Mrugalski
208e7fb05e [master] addressed cpp-check issues detected on Jenkins. trac4283_base trac4523_base 2016-06-23 16:54:40 +02:00
Tomek Mrugalski
fe5cacaf82 [master] Missing script for soft-wipe capability for Cassandra added
This is a leftover from github21_cherry merge.
2016-06-23 16:51:46 +02:00
Tomek Mrugalski
9dbc009e40 [master] Changelog updated after github21_cherry merge. 2016-06-23 14:49:22 +02:00
Tomek Mrugalski
d3a412d4b0 [github21] added config files to doc/Makefile.am 2016-06-23 14:40:11 +02:00
Tomek Mrugalski
bad2b659bb [github21] Compilation fix (PG versions constants updated in tests) 2016-06-23 14:39:03 +02:00
Tomek Mrugalski
36a82e6a74 [github21] Postgres compilation fix. 2016-06-23 14:37:59 +02:00
Tomek Mrugalski
b16a967e94 [github21] Minor corrections.
# Conflicts:
#	doc/examples/kea4/backends.json
2016-06-23 14:37:49 +02:00
Tomek Mrugalski
2cf89c2af6 [github21] Comments in headers updated. 2016-06-23 14:36:03 +02:00
Tomek Mrugalski
85f6feb58d [github21] Minor clean-up in CQL code 2016-06-23 14:36:03 +02:00
Tomek Mrugalski
3ee00d7432 [github21] cql_config script added. 2016-06-23 14:36:03 +02:00
Tomek Mrugalski
9c0311ca2c [github21] Documentation updated, install notes added. 2016-06-23 14:35:20 +02:00
Tomek Mrugalski
1809470191 [github21] Segfault condition fixed
If the keyspace is not present, session_ will be null and
 it would segfault in CQLConnection destructor.
2016-06-23 14:35:12 +02:00
Andrei Pavel
ab934d8b9b corrected and optimized cql_dump in kea-admin.in 2016-06-23 14:32:39 +02:00
Andrei Pavel
08343129b4 solved Cassandra unit tests & added documentation 2016-06-23 14:32:29 +02:00
Andrei Pavel
829cac98a3 fixed issues and refactored cassandra backend 2016-06-23 14:32:22 +02:00
Tomek Mrugalski
c629300a70 fixed compilation issues for cql unittests
# Conflicts:
#	src/lib/dhcpsrv/pgsql_lease_mgr.h
2016-06-23 14:32:06 +02:00
Tomek Mrugalski
6b4fef59e9 minor changes
# Conflicts:
#	src/bin/admin/tests/data/pgsql.lease6_dump_test.reference.csv
2016-06-23 14:31:11 +02:00
Tomek Mrugalski
d47b8dfe5a change requests from isc
# Conflicts:
#	src/bin/admin/tests/data/pgsql.lease6_dump_test.reference.csv
2016-06-23 14:30:29 +02:00
Andrei Pavel
07b7b23d04 refactored cassandra backend and fixed minor issues 2016-06-23 14:28:58 +02:00
Andrei Pavel
df16b6f0fb refactored cassandra backend and fixed minor issues 2016-06-23 14:28:51 +02:00
Razvan Becheriu
74b0e91737 minor changes 2016-06-23 14:28:07 +02:00
Tomek Mrugalski
ee0c1e994b renamed classes and files, fixed issues, added comments
# Conflicts:
#	ChangeLog
#	src/lib/dhcpsrv/cfg_hosts.cc
2016-06-23 14:27:53 +02:00
Tomek Mrugalski
a47f78f491 renamed classes and files, fixed issues, added comments
# Conflicts:
#	ChangeLog
#	src/lib/dhcpsrv/cfg_hosts.cc
2016-06-23 14:27:04 +02:00