Kea 2.7.0
netconf_messages.cc
Go to the documentation of this file.
1// File created from ../../../src/bin/netconf/netconf_messages.mes
2
3#include <cstddef>
4#include <log/message_types.h>
6
7namespace isc {
8namespace netconf {
9
10extern const isc::log::MessageID NETCONF_BOOT_UPDATE_COMPLETED = "NETCONF_BOOT_UPDATE_COMPLETED";
11extern const isc::log::MessageID NETCONF_CONFIG_CHANGED_DETAIL = "NETCONF_CONFIG_CHANGED_DETAIL";
12extern const isc::log::MessageID NETCONF_CONFIG_CHANGE_EVENT = "NETCONF_CONFIG_CHANGE_EVENT";
13extern const isc::log::MessageID NETCONF_CONFIG_CHECK_FAIL = "NETCONF_CONFIG_CHECK_FAIL";
14extern const isc::log::MessageID NETCONF_CONFIG_FAIL = "NETCONF_CONFIG_FAIL";
15extern const isc::log::MessageID NETCONF_CONFIG_SYNTAX_WARNING = "NETCONF_CONFIG_SYNTAX_WARNING";
16extern const isc::log::MessageID NETCONF_FAILED = "NETCONF_FAILED";
17extern const isc::log::MessageID NETCONF_GET_CONFIG = "NETCONF_GET_CONFIG";
18extern const isc::log::MessageID NETCONF_GET_CONFIG_FAILED = "NETCONF_GET_CONFIG_FAILED";
19extern const isc::log::MessageID NETCONF_GET_CONFIG_STARTED = "NETCONF_GET_CONFIG_STARTED";
20extern const isc::log::MessageID NETCONF_LOG_CHANGE_FAIL = "NETCONF_LOG_CHANGE_FAIL";
21extern const isc::log::MessageID NETCONF_MODULE_CHANGE_INTERNAL_ERROR = "NETCONF_MODULE_CHANGE_INTERNAL_ERROR";
22extern const isc::log::MessageID NETCONF_MODULE_MISSING_ERR = "NETCONF_MODULE_MISSING_ERR";
23extern const isc::log::MessageID NETCONF_MODULE_MISSING_WARN = "NETCONF_MODULE_MISSING_WARN";
24extern const isc::log::MessageID NETCONF_MODULE_REVISION_ERR = "NETCONF_MODULE_REVISION_ERR";
25extern const isc::log::MessageID NETCONF_MODULE_REVISION_WARN = "NETCONF_MODULE_REVISION_WARN";
26extern const isc::log::MessageID NETCONF_NOTIFICATION_INTERNAL_ERROR = "NETCONF_NOTIFICATION_INTERNAL_ERROR";
27extern const isc::log::MessageID NETCONF_NOTIFICATION_RECEIVED = "NETCONF_NOTIFICATION_RECEIVED";
28extern const isc::log::MessageID NETCONF_NOT_SUBSCRIBED_TO_NOTIFICATIONS = "NETCONF_NOT_SUBSCRIBED_TO_NOTIFICATIONS";
29extern const isc::log::MessageID NETCONF_RUN_EXIT = "NETCONF_RUN_EXIT";
30extern const isc::log::MessageID NETCONF_SET_CONFIG = "NETCONF_SET_CONFIG";
31extern const isc::log::MessageID NETCONF_SET_CONFIG_FAILED = "NETCONF_SET_CONFIG_FAILED";
32extern const isc::log::MessageID NETCONF_SET_CONFIG_STARTED = "NETCONF_SET_CONFIG_STARTED";
33extern const isc::log::MessageID NETCONF_STARTED = "NETCONF_STARTED";
34extern const isc::log::MessageID NETCONF_SUBSCRIBE_CONFIG = "NETCONF_SUBSCRIBE_CONFIG";
35extern const isc::log::MessageID NETCONF_SUBSCRIBE_CONFIG_FAILED = "NETCONF_SUBSCRIBE_CONFIG_FAILED";
36extern const isc::log::MessageID NETCONF_SUBSCRIBE_NOTIFICATIONS = "NETCONF_SUBSCRIBE_NOTIFICATIONS";
37extern const isc::log::MessageID NETCONF_UPDATE_CONFIG = "NETCONF_UPDATE_CONFIG";
38extern const isc::log::MessageID NETCONF_UPDATE_CONFIG_COMPLETED = "NETCONF_UPDATE_CONFIG_COMPLETED";
39extern const isc::log::MessageID NETCONF_UPDATE_CONFIG_FAILED = "NETCONF_UPDATE_CONFIG_FAILED";
40extern const isc::log::MessageID NETCONF_UPDATE_CONFIG_STARTED = "NETCONF_UPDATE_CONFIG_STARTED";
41extern const isc::log::MessageID NETCONF_VALIDATE_CONFIG = "NETCONF_VALIDATE_CONFIG";
42extern const isc::log::MessageID NETCONF_VALIDATE_CONFIG_COMPLETED = "NETCONF_VALIDATE_CONFIG_COMPLETED";
43extern const isc::log::MessageID NETCONF_VALIDATE_CONFIG_FAILED = "NETCONF_VALIDATE_CONFIG_FAILED";
44extern const isc::log::MessageID NETCONF_VALIDATE_CONFIG_REJECTED = "NETCONF_VALIDATE_CONFIG_REJECTED";
45extern const isc::log::MessageID NETCONF_VALIDATE_CONFIG_STARTED = "NETCONF_VALIDATE_CONFIG_STARTED";
46
47} // namespace netconf
48} // namespace isc
49
50namespace {
51
52const char* values[] = {
53 "NETCONF_BOOT_UPDATE_COMPLETED", "Boot-update configuration completed for server %1",
54 "NETCONF_CONFIG_CHANGED_DETAIL", "YANG configuration changed: %1",
55 "NETCONF_CONFIG_CHANGE_EVENT", "Received YANG configuration change %1 event",
56 "NETCONF_CONFIG_CHECK_FAIL", "NETCONF configuration check failed: %1",
57 "NETCONF_CONFIG_FAIL", "NETCONF configuration failed: %1",
58 "NETCONF_CONFIG_SYNTAX_WARNING", "NETCONF configuration syntax warning: %1",
59 "NETCONF_FAILED", "application experienced a fatal error: %1",
60 "NETCONF_GET_CONFIG", "got configuration from %1 server: %2",
61 "NETCONF_GET_CONFIG_FAILED", "getting configuration from %1 server failed: %2",
62 "NETCONF_GET_CONFIG_STARTED", "getting configuration from %1 server",
63 "NETCONF_LOG_CHANGE_FAIL", "NETCONF configuration change logging failed: %1",
64 "NETCONF_MODULE_CHANGE_INTERNAL_ERROR", "an internal error occurred while processing changes for module %1: %2",
65 "NETCONF_MODULE_MISSING_ERR", "Missing essential module %1 in sysrepo",
66 "NETCONF_MODULE_MISSING_WARN", "Missing module %1 in sysrepo",
67 "NETCONF_MODULE_REVISION_ERR", "Essential module %1 does NOT have the right revision: expected %2, got %3",
68 "NETCONF_MODULE_REVISION_WARN", "Module %1 does NOT have the right revision: expected %2, got %3",
69 "NETCONF_NOTIFICATION_INTERNAL_ERROR", "an internal error occurred while sending an event notification for module %1: %2",
70 "NETCONF_NOTIFICATION_RECEIVED", "Received notification of type %1 for module %2: '%3'",
71 "NETCONF_NOT_SUBSCRIBED_TO_NOTIFICATIONS", "subscribing to notifications for %1 server with %2 module failed: %3",
72 "NETCONF_RUN_EXIT", "application is exiting the event loop",
73 "NETCONF_SET_CONFIG", "set configuration to %1 server: %2",
74 "NETCONF_SET_CONFIG_FAILED", "setting configuration to %1 server failed: %2",
75 "NETCONF_SET_CONFIG_STARTED", "setting configuration to %1 server",
76 "NETCONF_STARTED", "kea-netconf (version %1) started",
77 "NETCONF_SUBSCRIBE_CONFIG", "subscribing configuration changes for %1 server with %2 module",
78 "NETCONF_SUBSCRIBE_CONFIG_FAILED", "subscribe configuration changes for %1 server with %2 module failed: %3",
79 "NETCONF_SUBSCRIBE_NOTIFICATIONS", "subscribing to notifications for %1 server with %2 module",
80 "NETCONF_UPDATE_CONFIG", "updating configuration with %1 server: %2",
81 "NETCONF_UPDATE_CONFIG_COMPLETED", "completed updating configuration for %1 server",
82 "NETCONF_UPDATE_CONFIG_FAILED", "updating configuration with %1 server: %2",
83 "NETCONF_UPDATE_CONFIG_STARTED", "started updating configuration for %1 server",
84 "NETCONF_VALIDATE_CONFIG", "validating configuration with %1 server: %2",
85 "NETCONF_VALIDATE_CONFIG_COMPLETED", "completed validating configuration for %1 server",
86 "NETCONF_VALIDATE_CONFIG_FAILED", "validating configuration with %1 server got an error: %2",
87 "NETCONF_VALIDATE_CONFIG_REJECTED", "validating configuration with %1 server was rejected: %2",
88 "NETCONF_VALIDATE_CONFIG_STARTED", "started validating configuration for %1 server",
89 NULL
90};
91
92const isc::log::MessageInitializer initializer(values);
93
94} // Anonymous namespace
95
Initialize Message Dictionary.
const char * MessageID
const isc::log::MessageID NETCONF_VALIDATE_CONFIG_FAILED
const isc::log::MessageID NETCONF_CONFIG_SYNTAX_WARNING
const isc::log::MessageID NETCONF_GET_CONFIG_STARTED
const isc::log::MessageID NETCONF_FAILED
const isc::log::MessageID NETCONF_VALIDATE_CONFIG_REJECTED
const isc::log::MessageID NETCONF_VALIDATE_CONFIG_COMPLETED
const isc::log::MessageID NETCONF_CONFIG_CHANGE_EVENT
const isc::log::MessageID NETCONF_VALIDATE_CONFIG
const isc::log::MessageID NETCONF_GET_CONFIG_FAILED
const isc::log::MessageID NETCONF_MODULE_REVISION_WARN
const isc::log::MessageID NETCONF_GET_CONFIG
const isc::log::MessageID NETCONF_STARTED
const isc::log::MessageID NETCONF_LOG_CHANGE_FAIL
const isc::log::MessageID NETCONF_CONFIG_CHECK_FAIL
const isc::log::MessageID NETCONF_CONFIG_CHANGED_DETAIL
const isc::log::MessageID NETCONF_NOTIFICATION_INTERNAL_ERROR
const isc::log::MessageID NETCONF_SET_CONFIG_FAILED
const isc::log::MessageID NETCONF_VALIDATE_CONFIG_STARTED
const isc::log::MessageID NETCONF_SUBSCRIBE_CONFIG
const isc::log::MessageID NETCONF_MODULE_MISSING_ERR
const isc::log::MessageID NETCONF_RUN_EXIT
const isc::log::MessageID NETCONF_NOTIFICATION_RECEIVED
const isc::log::MessageID NETCONF_MODULE_CHANGE_INTERNAL_ERROR
const isc::log::MessageID NETCONF_UPDATE_CONFIG_COMPLETED
const isc::log::MessageID NETCONF_MODULE_REVISION_ERR
const isc::log::MessageID NETCONF_SUBSCRIBE_NOTIFICATIONS
const isc::log::MessageID NETCONF_SET_CONFIG_STARTED
const isc::log::MessageID NETCONF_SUBSCRIBE_CONFIG_FAILED
const isc::log::MessageID NETCONF_UPDATE_CONFIG_FAILED
const isc::log::MessageID NETCONF_BOOT_UPDATE_COMPLETED
const isc::log::MessageID NETCONF_SET_CONFIG
const isc::log::MessageID NETCONF_CONFIG_FAIL
const isc::log::MessageID NETCONF_UPDATE_CONFIG
const isc::log::MessageID NETCONF_UPDATE_CONFIG_STARTED
const isc::log::MessageID NETCONF_MODULE_MISSING_WARN
const isc::log::MessageID NETCONF_NOT_SUBSCRIBED_TO_NOTIFICATIONS
Defines the logger used by the top-level component of kea-lfc.