Kea 2.7.1
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_MODULE_CHANGE_INTERNAL_ERROR = "NETCONF_MODULE_CHANGE_INTERNAL_ERROR";
21extern const isc::log::MessageID NETCONF_MODULE_MISSING_ERR = "NETCONF_MODULE_MISSING_ERR";
22extern const isc::log::MessageID NETCONF_MODULE_MISSING_WARN = "NETCONF_MODULE_MISSING_WARN";
23extern const isc::log::MessageID NETCONF_MODULE_REVISION_ERR = "NETCONF_MODULE_REVISION_ERR";
24extern const isc::log::MessageID NETCONF_MODULE_REVISION_WARN = "NETCONF_MODULE_REVISION_WARN";
25extern const isc::log::MessageID NETCONF_NOTIFICATION_INTERNAL_ERROR = "NETCONF_NOTIFICATION_INTERNAL_ERROR";
26extern const isc::log::MessageID NETCONF_NOTIFICATION_RECEIVED = "NETCONF_NOTIFICATION_RECEIVED";
27extern const isc::log::MessageID NETCONF_NOT_SUBSCRIBED_TO_NOTIFICATIONS = "NETCONF_NOT_SUBSCRIBED_TO_NOTIFICATIONS";
28extern const isc::log::MessageID NETCONF_RUN_EXIT = "NETCONF_RUN_EXIT";
29extern const isc::log::MessageID NETCONF_SET_CONFIG = "NETCONF_SET_CONFIG";
30extern const isc::log::MessageID NETCONF_SET_CONFIG_FAILED = "NETCONF_SET_CONFIG_FAILED";
31extern const isc::log::MessageID NETCONF_SET_CONFIG_STARTED = "NETCONF_SET_CONFIG_STARTED";
32extern const isc::log::MessageID NETCONF_STARTED = "NETCONF_STARTED";
33extern const isc::log::MessageID NETCONF_SUBSCRIBE_CONFIG = "NETCONF_SUBSCRIBE_CONFIG";
34extern const isc::log::MessageID NETCONF_SUBSCRIBE_CONFIG_FAILED = "NETCONF_SUBSCRIBE_CONFIG_FAILED";
35extern const isc::log::MessageID NETCONF_SUBSCRIBE_NOTIFICATIONS = "NETCONF_SUBSCRIBE_NOTIFICATIONS";
36extern const isc::log::MessageID NETCONF_UPDATE_CONFIG = "NETCONF_UPDATE_CONFIG";
37extern const isc::log::MessageID NETCONF_UPDATE_CONFIG_COMPLETED = "NETCONF_UPDATE_CONFIG_COMPLETED";
38extern const isc::log::MessageID NETCONF_UPDATE_CONFIG_FAILED = "NETCONF_UPDATE_CONFIG_FAILED";
39extern const isc::log::MessageID NETCONF_UPDATE_CONFIG_STARTED = "NETCONF_UPDATE_CONFIG_STARTED";
40extern const isc::log::MessageID NETCONF_VALIDATE_CONFIG = "NETCONF_VALIDATE_CONFIG";
41extern const isc::log::MessageID NETCONF_VALIDATE_CONFIG_COMPLETED = "NETCONF_VALIDATE_CONFIG_COMPLETED";
42extern const isc::log::MessageID NETCONF_VALIDATE_CONFIG_FAILED = "NETCONF_VALIDATE_CONFIG_FAILED";
43extern const isc::log::MessageID NETCONF_VALIDATE_CONFIG_REJECTED = "NETCONF_VALIDATE_CONFIG_REJECTED";
44extern const isc::log::MessageID NETCONF_VALIDATE_CONFIG_STARTED = "NETCONF_VALIDATE_CONFIG_STARTED";
45
46} // namespace netconf
47} // namespace isc
48
49namespace {
50
51const char* values[] = {
52 "NETCONF_BOOT_UPDATE_COMPLETED", "Boot-update configuration completed for server %1",
53 "NETCONF_CONFIG_CHANGED_DETAIL", "YANG configuration changed: %1",
54 "NETCONF_CONFIG_CHANGE_EVENT", "Received YANG configuration change %1 event",
55 "NETCONF_CONFIG_CHECK_FAIL", "NETCONF configuration check failed: %1",
56 "NETCONF_CONFIG_FAIL", "NETCONF configuration failed: %1",
57 "NETCONF_CONFIG_SYNTAX_WARNING", "NETCONF configuration syntax warning: %1",
58 "NETCONF_FAILED", "application experienced a fatal error: %1",
59 "NETCONF_GET_CONFIG", "got configuration from %1 server: %2",
60 "NETCONF_GET_CONFIG_FAILED", "getting configuration from %1 server failed: %2",
61 "NETCONF_GET_CONFIG_STARTED", "getting configuration from %1 server",
62 "NETCONF_MODULE_CHANGE_INTERNAL_ERROR", "an internal error occurred while processing changes for module %1: %2",
63 "NETCONF_MODULE_MISSING_ERR", "Missing essential module %1 in sysrepo",
64 "NETCONF_MODULE_MISSING_WARN", "Missing module %1 in sysrepo",
65 "NETCONF_MODULE_REVISION_ERR", "Essential module %1 does NOT have the right revision: expected %2, got %3",
66 "NETCONF_MODULE_REVISION_WARN", "Module %1 does NOT have the right revision: expected %2, got %3",
67 "NETCONF_NOTIFICATION_INTERNAL_ERROR", "an internal error occurred while sending an event notification for module %1: %2",
68 "NETCONF_NOTIFICATION_RECEIVED", "Received notification of type %1 for module %2: '%3'",
69 "NETCONF_NOT_SUBSCRIBED_TO_NOTIFICATIONS", "subscribing to notifications for %1 server with %2 module failed: %3",
70 "NETCONF_RUN_EXIT", "application is exiting the event loop",
71 "NETCONF_SET_CONFIG", "set configuration to %1 server: %2",
72 "NETCONF_SET_CONFIG_FAILED", "setting configuration to %1 server failed: %2",
73 "NETCONF_SET_CONFIG_STARTED", "setting configuration to %1 server",
74 "NETCONF_STARTED", "kea-netconf (version %1) started",
75 "NETCONF_SUBSCRIBE_CONFIG", "subscribing configuration changes for %1 server with %2 module",
76 "NETCONF_SUBSCRIBE_CONFIG_FAILED", "subscribe configuration changes for %1 server with %2 module failed: %3",
77 "NETCONF_SUBSCRIBE_NOTIFICATIONS", "subscribing to notifications for %1 server with %2 module",
78 "NETCONF_UPDATE_CONFIG", "updating configuration with %1 server: %2",
79 "NETCONF_UPDATE_CONFIG_COMPLETED", "completed updating configuration for %1 server",
80 "NETCONF_UPDATE_CONFIG_FAILED", "updating configuration with %1 server: %2",
81 "NETCONF_UPDATE_CONFIG_STARTED", "started updating configuration for %1 server",
82 "NETCONF_VALIDATE_CONFIG", "validating configuration with %1 server: %2",
83 "NETCONF_VALIDATE_CONFIG_COMPLETED", "completed validating configuration for %1 server",
84 "NETCONF_VALIDATE_CONFIG_FAILED", "validating configuration with %1 server got an error: %2",
85 "NETCONF_VALIDATE_CONFIG_REJECTED", "validating configuration with %1 server was rejected: %2",
86 "NETCONF_VALIDATE_CONFIG_STARTED", "started validating configuration for %1 server",
87 NULL
88};
89
90const isc::log::MessageInitializer initializer(values);
91
92} // Anonymous namespace
93
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_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.