diff options
author | Francis Dupont <fdupont@isc.org> | 2019-06-26 12:09:05 +0200 |
---|---|---|
committer | Francis Dupont <fdupont@isc.org> | 2019-06-26 12:09:37 +0200 |
commit | 845d6e83662c999e19502e36882819e5d7096ae7 (patch) | |
tree | fe51fe54f15e0e9de5c573caf05fe99e01b427c8 /src/bin | |
parent | [694-add-valid-lifetime-to-dhcp4_lease_alloc-and-dhcp6_lease_alloc-logging] A... (diff) | |
download | kea-845d6e83662c999e19502e36882819e5d7096ae7.tar.xz kea-845d6e83662c999e19502e36882819e5d7096ae7.zip |
[694-add-valid-lifetime-to-dhcp4_lease_alloc-and-dhcp6_lease_alloc-logging] Added the unit (seconds)
Diffstat (limited to 'src/bin')
-rw-r--r-- | src/bin/dhcp4/dhcp4_messages.cc | 4 | ||||
-rw-r--r-- | src/bin/dhcp4/dhcp4_messages.h | 2 | ||||
-rw-r--r-- | src/bin/dhcp4/dhcp4_messages.mes | 2 | ||||
-rw-r--r-- | src/bin/dhcp6/dhcp6_messages.cc | 6 | ||||
-rw-r--r-- | src/bin/dhcp6/dhcp6_messages.h | 2 | ||||
-rw-r--r-- | src/bin/dhcp6/dhcp6_messages.mes | 4 |
6 files changed, 10 insertions, 10 deletions
diff --git a/src/bin/dhcp4/dhcp4_messages.cc b/src/bin/dhcp4/dhcp4_messages.cc index 647ff93b84..cad1111a56 100644 --- a/src/bin/dhcp4/dhcp4_messages.cc +++ b/src/bin/dhcp4/dhcp4_messages.cc @@ -1,4 +1,4 @@ -// File created from ../../../src/bin/dhcp4/dhcp4_messages.mes on Tue Jun 25 2019 10:19 +// File created from ../../../src/bin/dhcp4/dhcp4_messages.mes on Wed Jun 26 2019 12:06 #include <cstddef> #include <log/message_types.h> @@ -210,7 +210,7 @@ const char* values[] = { "DHCP4_INIT_FAIL", "failed to initialize Kea server: %1", "DHCP4_INIT_REBOOT", "%1: client is in INIT-REBOOT state and requests address %2", "DHCP4_LEASE_ADVERT", "%1: lease %2 will be advertised", - "DHCP4_LEASE_ALLOC", "%1: lease %2 has been allocated for %3", + "DHCP4_LEASE_ALLOC", "%1: lease %2 has been allocated for %3 seconds", "DHCP4_NCR_CREATE", "%1: DDNS updates enabled, therefore sending name change requests", "DHCP4_NCR_CREATION_FAILED", "%1: failed to generate name change requests for DNS: %2", "DHCP4_NOT_RUNNING", "DHCPv4 server is not running", diff --git a/src/bin/dhcp4/dhcp4_messages.h b/src/bin/dhcp4/dhcp4_messages.h index 941eace4e8..8df9616b32 100644 --- a/src/bin/dhcp4/dhcp4_messages.h +++ b/src/bin/dhcp4/dhcp4_messages.h @@ -1,4 +1,4 @@ -// File created from ../../../src/bin/dhcp4/dhcp4_messages.mes on Tue Jun 25 2019 10:19 +// File created from ../../../src/bin/dhcp4/dhcp4_messages.mes on Wed Jun 26 2019 12:06 #ifndef DHCP4_MESSAGES_H #define DHCP4_MESSAGES_H diff --git a/src/bin/dhcp4/dhcp4_messages.mes b/src/bin/dhcp4/dhcp4_messages.mes index 4c323ebd4f..f7f1251440 100644 --- a/src/bin/dhcp4/dhcp4_messages.mes +++ b/src/bin/dhcp4/dhcp4_messages.mes @@ -399,7 +399,7 @@ those which offered leases and continue allocation with that server. The first argument specifies the client and the transaction identification information. The second argument specifies the IPv4 address to be offered. -% DHCP4_LEASE_ALLOC %1: lease %2 has been allocated for %3 +% DHCP4_LEASE_ALLOC %1: lease %2 has been allocated for %3 seconds This informational message indicates that the server successfully granted a lease in response to client's DHCPREQUEST message. The lease information will be sent to the client in the DHCPACK message. The first argument contains the diff --git a/src/bin/dhcp6/dhcp6_messages.cc b/src/bin/dhcp6/dhcp6_messages.cc index 5500461098..ccca0726be 100644 --- a/src/bin/dhcp6/dhcp6_messages.cc +++ b/src/bin/dhcp6/dhcp6_messages.cc @@ -1,4 +1,4 @@ -// File created from ../../../src/bin/dhcp6/dhcp6_messages.mes on Tue Jun 25 2019 10:19 +// File created from ../../../src/bin/dhcp6/dhcp6_messages.mes on Wed Jun 26 2019 12:07 #include <cstddef> #include <log/message_types.h> @@ -217,7 +217,7 @@ const char* values[] = { "DHCP6_INIT_FAIL", "failed to initialize Kea server: %1", "DHCP6_LEASE_ADVERT", "%1: lease for address %2 and iaid=%3 will be advertised", "DHCP6_LEASE_ADVERT_FAIL", "%1: failed to advertise an address lease for iaid=%2", - "DHCP6_LEASE_ALLOC", "%1: lease for address %2 and iaid=%3 has been allocated for %4", + "DHCP6_LEASE_ALLOC", "%1: lease for address %2 and iaid=%3 has been allocated for %4 seconds", "DHCP6_LEASE_ALLOC_FAIL", "%1: failed to grant an address lease for iaid=%2", "DHCP6_LEASE_DATA", "%1: detailed lease information for iaid=%2: %3", "DHCP6_LEASE_NA_WITHOUT_DUID", "%1: address lease for address %2 does not have a DUID", @@ -246,7 +246,7 @@ const char* values[] = { "DHCP6_PARSER_FAIL", "failed to create or run parser for configuration element %1: %2", "DHCP6_PD_LEASE_ADVERT", "%1: lease for prefix %2/%3 and iaid=%4 will be advertised", "DHCP6_PD_LEASE_ADVERT_FAIL", "%1: failed to advertise a prefix lease for iaid=%2", - "DHCP6_PD_LEASE_ALLOC", "%1: lease for prefix %2/%3 and iaid=%4 has been allocated for %5", + "DHCP6_PD_LEASE_ALLOC", "%1: lease for prefix %2/%3 and iaid=%4 has been allocated for %5 seconds", "DHCP6_PD_LEASE_ALLOC_FAIL", "%1: failed to grant a prefix lease for iaid=%2", "DHCP6_PD_LEASE_RENEW", "%1: lease for prefix %2/%3 and iaid=%4 has been allocated", "DHCP6_PROCESS_IA_NA_EXTEND", "%1: extending lease lifetime for IA_NA option with iaid=%2", diff --git a/src/bin/dhcp6/dhcp6_messages.h b/src/bin/dhcp6/dhcp6_messages.h index 61b1acc8d0..0505910159 100644 --- a/src/bin/dhcp6/dhcp6_messages.h +++ b/src/bin/dhcp6/dhcp6_messages.h @@ -1,4 +1,4 @@ -// File created from ../../../src/bin/dhcp6/dhcp6_messages.mes on Tue Jun 25 2019 10:19 +// File created from ../../../src/bin/dhcp6/dhcp6_messages.mes on Wed Jun 26 2019 12:07 #ifndef DHCP6_MESSAGES_H #define DHCP6_MESSAGES_H diff --git a/src/bin/dhcp6/dhcp6_messages.mes b/src/bin/dhcp6/dhcp6_messages.mes index 17dadf5ade..ac797aaf1f 100644 --- a/src/bin/dhcp6/dhcp6_messages.mes +++ b/src/bin/dhcp6/dhcp6_messages.mes @@ -429,7 +429,7 @@ be many reasons for such failure. Each failure is logged in a separate log entry. The first argument holds the client and transaction identification information. The second argument holds the IAID. -% DHCP6_LEASE_ALLOC %1: lease for address %2 and iaid=%3 has been allocated for %4 +% DHCP6_LEASE_ALLOC %1: lease for address %2 and iaid=%3 has been allocated for %4 seconds This informational message indicates that in response to a client's REQUEST message, the server successfully granted a non-temporary address lease. This is a normal behavior and indicates successful operation. @@ -612,7 +612,7 @@ be many reasons for such failure. Each failure is logged in a separate log entry. The first argument holds the client and transaction identification information. The second argument holds the IAID. -% DHCP6_PD_LEASE_ALLOC %1: lease for prefix %2/%3 and iaid=%4 has been allocated for %5 +% DHCP6_PD_LEASE_ALLOC %1: lease for prefix %2/%3 and iaid=%4 has been allocated for %5 seconds This informational message indicates that in response to a client's REQUEST message, the server successfully granted a prefix lease. This is a normal behavior and indicates successful operation. |