Kea: ca_messages.cc Source File

| Kea 3.0.0

ca_messages.cc
Go to the documentation of this file.
1// File created from src/bin/agent/ca_messages.mes
2
3#include <cstddef>
4#include <log/message_types.h>
5#include <log/message_initializer.h>
6
7namespace isc {
8namespace agent {
9
10extern const isc::log::MessageID CTRL_AGENT_COMMAND_FORWARDED = "CTRL_AGENT_COMMAND_FORWARDED";
11extern const isc::log::MessageID CTRL_AGENT_COMMAND_FORWARD_BEGIN = "CTRL_AGENT_COMMAND_FORWARD_BEGIN";
12extern const isc::log::MessageID CTRL_AGENT_COMMAND_FORWARD_FAILED = "CTRL_AGENT_COMMAND_FORWARD_FAILED";
13extern const isc::log::MessageID CTRL_AGENT_COMMAND_RECEIVED = "CTRL_AGENT_COMMAND_RECEIVED";
14extern const isc::log::MessageID CTRL_AGENT_CONFIG_CHECK_FAIL = "CTRL_AGENT_CONFIG_CHECK_FAIL";
15extern const isc::log::MessageID CTRL_AGENT_CONFIG_FAIL = "CTRL_AGENT_CONFIG_FAIL";
16extern const isc::log::MessageID CTRL_AGENT_CONFIG_SYNTAX_WARNING = "CTRL_AGENT_CONFIG_SYNTAX_WARNING";
17extern const isc::log::MessageID CTRL_AGENT_FAILED = "CTRL_AGENT_FAILED";
18extern const isc::log::MessageID CTRL_AGENT_HTTPS_SERVICE_REUSE_FAILED = "CTRL_AGENT_HTTPS_SERVICE_REUSE_FAILED";
19extern const isc::log::MessageID CTRL_AGENT_HTTPS_SERVICE_STARTED = "CTRL_AGENT_HTTPS_SERVICE_STARTED";
20extern const isc::log::MessageID CTRL_AGENT_HTTPS_SERVICE_UPDATED = "CTRL_AGENT_HTTPS_SERVICE_UPDATED";
21extern const isc::log::MessageID CTRL_AGENT_HTTP_SERVICE_REUSE_FAILED = "CTRL_AGENT_HTTP_SERVICE_REUSE_FAILED";
22extern const isc::log::MessageID CTRL_AGENT_HTTP_SERVICE_STARTED = "CTRL_AGENT_HTTP_SERVICE_STARTED";
23extern const isc::log::MessageID CTRL_AGENT_HTTP_SERVICE_UPDATED = "CTRL_AGENT_HTTP_SERVICE_UPDATED";
24extern const isc::log::MessageID CTRL_AGENT_IS_DEPRECATED = "CTRL_AGENT_IS_DEPRECATED";
25extern const isc::log::MessageID CTRL_AGENT_RUN_EXIT = "CTRL_AGENT_RUN_EXIT";
26extern const isc::log::MessageID CTRL_AGENT_SECURITY_CHECKS_DISABLED = "CTRL_AGENT_SECURITY_CHECKS_DISABLED";
27extern const isc::log::MessageID CTRL_AGENT_STARTED = "CTRL_AGENT_STARTED";
28
29} // namespace agent
30} // namespace isc
31
32namespace {
33
34const char* values[] = {
35 "CTRL_AGENT_COMMAND_FORWARDED", "command %1 successfully forwarded to the service %2 from remote address %3",
36 "CTRL_AGENT_COMMAND_FORWARD_BEGIN", "begin forwarding command %1 to service %2",
37 "CTRL_AGENT_COMMAND_FORWARD_FAILED", "failed forwarding command %1: %2",
38 "CTRL_AGENT_COMMAND_RECEIVED", "command %1 received from remote address %2",
39 "CTRL_AGENT_CONFIG_CHECK_FAIL", "Control Agent configuration check failed: %1",
40 "CTRL_AGENT_CONFIG_FAIL", "Control Agent configuration failed: %1",
41 "CTRL_AGENT_CONFIG_SYNTAX_WARNING", "Control Agent configuration syntax warning: %1",
42 "CTRL_AGENT_FAILED", "application experienced a fatal error: %1",
43 "CTRL_AGENT_HTTPS_SERVICE_REUSE_FAILED", "failed to reuse HTTPS service bound to address: %1 port: %2",
44 "CTRL_AGENT_HTTPS_SERVICE_STARTED", "HTTPS service bound to address: %1 port: %2",
45 "CTRL_AGENT_HTTPS_SERVICE_UPDATED", "reused HTTPS service bound to address: %1 port: %2 and updated TLS settings",
46 "CTRL_AGENT_HTTP_SERVICE_REUSE_FAILED", "failed to reused HTTP service bound to address: %1 port: %2",
47 "CTRL_AGENT_HTTP_SERVICE_STARTED", "HTTP service bound to address: %1 port: %2",
48 "CTRL_AGENT_HTTP_SERVICE_UPDATED", "reused HTTP service bound to address: %1 port: %2",
49 "CTRL_AGENT_IS_DEPRECATED", "Kea Control Agent is deprecated. Its function has been moved to Kea servers.",
50 "CTRL_AGENT_RUN_EXIT", "application is exiting the event loop",
51 "CTRL_AGENT_SECURITY_CHECKS_DISABLED", "Invoked with command line option -X, Security checks are disabled!!",
52 "CTRL_AGENT_STARTED", "Kea Control Agent version %1 started",
53 NULL
54};
55
56const isc::log::MessageInitializer initializer(values);
57
58} // Anonymous namespace
59
isc::log::MessageInitializer
Initialize Message Dictionary.
Definition message_initializer.h:72
message_initializer.h
message_types.h
isc::agent
Definition agent_parser.cc:148
isc::agent::CTRL_AGENT_HTTPS_SERVICE_UPDATED
const isc::log::MessageID CTRL_AGENT_HTTPS_SERVICE_UPDATED
Definition ca_messages.h:21
isc::agent::CTRL_AGENT_CONFIG_CHECK_FAIL
const isc::log::MessageID CTRL_AGENT_CONFIG_CHECK_FAIL
Definition ca_messages.h:15
isc::agent::CTRL_AGENT_COMMAND_FORWARD_BEGIN
const isc::log::MessageID CTRL_AGENT_COMMAND_FORWARD_BEGIN
Definition ca_messages.h:12
isc::agent::CTRL_AGENT_HTTP_SERVICE_REUSE_FAILED
const isc::log::MessageID CTRL_AGENT_HTTP_SERVICE_REUSE_FAILED
Definition ca_messages.h:22
isc::agent::CTRL_AGENT_HTTP_SERVICE_UPDATED
const isc::log::MessageID CTRL_AGENT_HTTP_SERVICE_UPDATED
Definition ca_messages.h:24
isc::agent::CTRL_AGENT_HTTP_SERVICE_STARTED
const isc::log::MessageID CTRL_AGENT_HTTP_SERVICE_STARTED
Definition ca_messages.h:23
isc::agent::CTRL_AGENT_STARTED
const isc::log::MessageID CTRL_AGENT_STARTED
Definition ca_messages.h:28
isc::agent::CTRL_AGENT_CONFIG_SYNTAX_WARNING
const isc::log::MessageID CTRL_AGENT_CONFIG_SYNTAX_WARNING
Definition ca_messages.h:17
isc::agent::CTRL_AGENT_COMMAND_FORWARDED
const isc::log::MessageID CTRL_AGENT_COMMAND_FORWARDED
Definition ca_messages.h:11
isc::agent::CTRL_AGENT_CONFIG_FAIL
const isc::log::MessageID CTRL_AGENT_CONFIG_FAIL
Definition ca_messages.h:16
isc::agent::CTRL_AGENT_HTTPS_SERVICE_STARTED
const isc::log::MessageID CTRL_AGENT_HTTPS_SERVICE_STARTED
Definition ca_messages.h:20
isc::agent::CTRL_AGENT_COMMAND_RECEIVED
const isc::log::MessageID CTRL_AGENT_COMMAND_RECEIVED
Definition ca_messages.h:14
isc::agent::CTRL_AGENT_COMMAND_FORWARD_FAILED
const isc::log::MessageID CTRL_AGENT_COMMAND_FORWARD_FAILED
Definition ca_messages.h:13
isc::agent::CTRL_AGENT_RUN_EXIT
const isc::log::MessageID CTRL_AGENT_RUN_EXIT
Definition ca_messages.h:26
isc::agent::CTRL_AGENT_SECURITY_CHECKS_DISABLED
const isc::log::MessageID CTRL_AGENT_SECURITY_CHECKS_DISABLED
Definition ca_messages.h:27
isc::agent::CTRL_AGENT_HTTPS_SERVICE_REUSE_FAILED
const isc::log::MessageID CTRL_AGENT_HTTPS_SERVICE_REUSE_FAILED
Definition ca_messages.h:19
isc::agent::CTRL_AGENT_IS_DEPRECATED
const isc::log::MessageID CTRL_AGENT_IS_DEPRECATED
Definition ca_messages.h:25
isc::agent::CTRL_AGENT_FAILED
const isc::log::MessageID CTRL_AGENT_FAILED
Definition ca_messages.h:18
isc::log::MessageID
const char * MessageID
Definition message_types.h:15
isc
Defines the logger used by the top-level component of kea-lfc.
Definition agent_parser.cc:148