1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
// File created from ../../../../../premium/src/hooks/dhcp/subnet_cmds/subnet_cmds_messages.mes

#include <cstddef><--- Include file:  not found. Please note: Cppcheck does not need standard library headers to get proper results.
#include <log/message_types.h>
#include <log/message_initializer.h>

namespace isc {
namespace subnet_cmds {

extern const isc::log::MessageID SUBNET_CMDS_DEINIT_OK = "SUBNET_CMDS_DEINIT_OK";
extern const isc::log::MessageID SUBNET_CMDS_INIT_FAILED = "SUBNET_CMDS_INIT_FAILED";
extern const isc::log::MessageID SUBNET_CMDS_INIT_OK = "SUBNET_CMDS_INIT_OK";
extern const isc::log::MessageID SUBNET_CMDS_NETWORK4_ADD_FAILED = "SUBNET_CMDS_NETWORK4_ADD_FAILED";
extern const isc::log::MessageID SUBNET_CMDS_NETWORK4_DEL_FAILED = "SUBNET_CMDS_NETWORK4_DEL_FAILED";
extern const isc::log::MessageID SUBNET_CMDS_NETWORK4_GET_FAILED = "SUBNET_CMDS_NETWORK4_GET_FAILED";
extern const isc::log::MessageID SUBNET_CMDS_NETWORK4_LIST_FAILED = "SUBNET_CMDS_NETWORK4_LIST_FAILED";
extern const isc::log::MessageID SUBNET_CMDS_NETWORK4_SUBNET_ADD_FAILED = "SUBNET_CMDS_NETWORK4_SUBNET_ADD_FAILED";
extern const isc::log::MessageID SUBNET_CMDS_NETWORK4_SUBNET_DEL_FAILED = "SUBNET_CMDS_NETWORK4_SUBNET_DEL_FAILED";
extern const isc::log::MessageID SUBNET_CMDS_NETWORK6_ADD_FAILED = "SUBNET_CMDS_NETWORK6_ADD_FAILED";
extern const isc::log::MessageID SUBNET_CMDS_NETWORK6_DEL_FAILED = "SUBNET_CMDS_NETWORK6_DEL_FAILED";
extern const isc::log::MessageID SUBNET_CMDS_NETWORK6_GET_FAILED = "SUBNET_CMDS_NETWORK6_GET_FAILED";
extern const isc::log::MessageID SUBNET_CMDS_NETWORK6_LIST_FAILED = "SUBNET_CMDS_NETWORK6_LIST_FAILED";
extern const isc::log::MessageID SUBNET_CMDS_NETWORK6_SUBNET_ADD_FAILED = "SUBNET_CMDS_NETWORK6_SUBNET_ADD_FAILED";
extern const isc::log::MessageID SUBNET_CMDS_NETWORK6_SUBNET_DEL_FAILED = "SUBNET_CMDS_NETWORK6_SUBNET_DEL_FAILED";
extern const isc::log::MessageID SUBNET_CMDS_NETWORK_ADD = "SUBNET_CMDS_NETWORK_ADD";
extern const isc::log::MessageID SUBNET_CMDS_NETWORK_DEL = "SUBNET_CMDS_NETWORK_DEL";
extern const isc::log::MessageID SUBNET_CMDS_NETWORK_GET = "SUBNET_CMDS_NETWORK_GET";
extern const isc::log::MessageID SUBNET_CMDS_NETWORK_GET_EMPTY = "SUBNET_CMDS_NETWORK_GET_EMPTY";
extern const isc::log::MessageID SUBNET_CMDS_NETWORK_LIST = "SUBNET_CMDS_NETWORK_LIST";
extern const isc::log::MessageID SUBNET_CMDS_NETWORK_LIST_EMPTY = "SUBNET_CMDS_NETWORK_LIST_EMPTY";
extern const isc::log::MessageID SUBNET_CMDS_NETWORK_SUBNET_ADD = "SUBNET_CMDS_NETWORK_SUBNET_ADD";
extern const isc::log::MessageID SUBNET_CMDS_NETWORK_SUBNET_DEL = "SUBNET_CMDS_NETWORK_SUBNET_DEL";
extern const isc::log::MessageID SUBNET_CMDS_SUBNET4_ADD_FAILED = "SUBNET_CMDS_SUBNET4_ADD_FAILED";
extern const isc::log::MessageID SUBNET_CMDS_SUBNET4_DELTA_ADD_FAILED = "SUBNET_CMDS_SUBNET4_DELTA_ADD_FAILED";
extern const isc::log::MessageID SUBNET_CMDS_SUBNET4_DELTA_DEL_FAILED = "SUBNET_CMDS_SUBNET4_DELTA_DEL_FAILED";
extern const isc::log::MessageID SUBNET_CMDS_SUBNET4_DEL_FAILED = "SUBNET_CMDS_SUBNET4_DEL_FAILED";
extern const isc::log::MessageID SUBNET_CMDS_SUBNET4_GET_FAILED = "SUBNET_CMDS_SUBNET4_GET_FAILED";
extern const isc::log::MessageID SUBNET_CMDS_SUBNET4_LIST_FAILED = "SUBNET_CMDS_SUBNET4_LIST_FAILED";
extern const isc::log::MessageID SUBNET_CMDS_SUBNET4_UPDATE_FAILED = "SUBNET_CMDS_SUBNET4_UPDATE_FAILED";
extern const isc::log::MessageID SUBNET_CMDS_SUBNET6_ADD_FAILED = "SUBNET_CMDS_SUBNET6_ADD_FAILED";
extern const isc::log::MessageID SUBNET_CMDS_SUBNET6_DELTA_ADD_FAILED = "SUBNET_CMDS_SUBNET6_DELTA_ADD_FAILED";
extern const isc::log::MessageID SUBNET_CMDS_SUBNET6_DELTA_DEL_FAILED = "SUBNET_CMDS_SUBNET6_DELTA_DEL_FAILED";
extern const isc::log::MessageID SUBNET_CMDS_SUBNET6_DEL_FAILED = "SUBNET_CMDS_SUBNET6_DEL_FAILED";
extern const isc::log::MessageID SUBNET_CMDS_SUBNET6_GET_FAILED = "SUBNET_CMDS_SUBNET6_GET_FAILED";
extern const isc::log::MessageID SUBNET_CMDS_SUBNET6_LIST_FAILED = "SUBNET_CMDS_SUBNET6_LIST_FAILED";
extern const isc::log::MessageID SUBNET_CMDS_SUBNET6_UPDATE_FAILED = "SUBNET_CMDS_SUBNET6_UPDATE_FAILED";
extern const isc::log::MessageID SUBNET_CMDS_SUBNET_ADD = "SUBNET_CMDS_SUBNET_ADD";
extern const isc::log::MessageID SUBNET_CMDS_SUBNET_DEL = "SUBNET_CMDS_SUBNET_DEL";
extern const isc::log::MessageID SUBNET_CMDS_SUBNET_GET = "SUBNET_CMDS_SUBNET_GET";
extern const isc::log::MessageID SUBNET_CMDS_SUBNET_GET_EMPTY = "SUBNET_CMDS_SUBNET_GET_EMPTY";
extern const isc::log::MessageID SUBNET_CMDS_SUBNET_LIST = "SUBNET_CMDS_SUBNET_LIST";
extern const isc::log::MessageID SUBNET_CMDS_SUBNET_LIST_EMPTY = "SUBNET_CMDS_SUBNET_LIST_EMPTY";
extern const isc::log::MessageID SUBNET_CMDS_SUBNET_UPDATE = "SUBNET_CMDS_SUBNET_UPDATE";

} // namespace subnet_cmds
} // namespace isc

namespace {

const char* values[] = {
    "SUBNET_CMDS_DEINIT_OK", "unloading Subnet Commands hooks library successful",
    "SUBNET_CMDS_INIT_FAILED", "loading Subnet Commands hooks library failed: %1",
    "SUBNET_CMDS_INIT_OK", "loading Subnet Commands hooks library successful",
    "SUBNET_CMDS_NETWORK4_ADD_FAILED", "failed to add new IPv4 network: %1",
    "SUBNET_CMDS_NETWORK4_DEL_FAILED", "failed to delete IPv4 network: %1",
    "SUBNET_CMDS_NETWORK4_GET_FAILED", "failed to return an IPv4 network: %1",
    "SUBNET_CMDS_NETWORK4_LIST_FAILED", "failed to return a list of IPv4 networks: %1",
    "SUBNET_CMDS_NETWORK4_SUBNET_ADD_FAILED", "failed to add existing IPv4 subnet to a shared network: %1",
    "SUBNET_CMDS_NETWORK4_SUBNET_DEL_FAILED", "failed to remove a IPv4 subnet from a shared network: %1",
    "SUBNET_CMDS_NETWORK6_ADD_FAILED", "failed to add new IPv6 network: %1",
    "SUBNET_CMDS_NETWORK6_DEL_FAILED", "failed to delete IPv6 network: %1",
    "SUBNET_CMDS_NETWORK6_GET_FAILED", "failed to return an IPv6 network: %1",
    "SUBNET_CMDS_NETWORK6_LIST_FAILED", "failed to return a list of IPv6 networks: %1",
    "SUBNET_CMDS_NETWORK6_SUBNET_ADD_FAILED", "failed to add existing IPv6 subnet to a shared network: %1",
    "SUBNET_CMDS_NETWORK6_SUBNET_DEL_FAILED", "failed to remove a IPv6 subnet from a shared network: %1",
    "SUBNET_CMDS_NETWORK_ADD", "successfully added shared network %1",
    "SUBNET_CMDS_NETWORK_DEL", "successfully deleted shared network %1",
    "SUBNET_CMDS_NETWORK_GET", "successfully retrieved shared network %1",
    "SUBNET_CMDS_NETWORK_GET_EMPTY", "specified shared network is not found: %1",
    "SUBNET_CMDS_NETWORK_LIST", "successfully retrieved list of %1 %2 shared networks",
    "SUBNET_CMDS_NETWORK_LIST_EMPTY", "no %1 shared networks listed",
    "SUBNET_CMDS_NETWORK_SUBNET_ADD", "%1 subnet %2 (id %3) added to shared network %4",
    "SUBNET_CMDS_NETWORK_SUBNET_DEL", "%1 subnet %2 (id %3) removed from shared network %4",
    "SUBNET_CMDS_SUBNET4_ADD_FAILED", "failed to add new IPv4 subnet: %1",
    "SUBNET_CMDS_SUBNET4_DELTA_ADD_FAILED", "failed to update IPv4 subnet: %1",
    "SUBNET_CMDS_SUBNET4_DELTA_DEL_FAILED", "failed to update IPv4 subnet: %1",
    "SUBNET_CMDS_SUBNET4_DEL_FAILED", "failed to delete IPv4 subnet: %1",
    "SUBNET_CMDS_SUBNET4_GET_FAILED", "failed to return an IPv4 subnet: %1",
    "SUBNET_CMDS_SUBNET4_LIST_FAILED", "failed to return a list of IPv4 subnets: %1",
    "SUBNET_CMDS_SUBNET4_UPDATE_FAILED", "failed to update IPv4 subnet: %1",
    "SUBNET_CMDS_SUBNET6_ADD_FAILED", "failed to add new IPv6 subnet: %1",
    "SUBNET_CMDS_SUBNET6_DELTA_ADD_FAILED", "failed to update IPv6 subnet: %1",
    "SUBNET_CMDS_SUBNET6_DELTA_DEL_FAILED", "failed to update IPv6 subnet: %1",
    "SUBNET_CMDS_SUBNET6_DEL_FAILED", "failed to delete IPv6 subnet: %1",
    "SUBNET_CMDS_SUBNET6_GET_FAILED", "failed to return an IPv6 subnet: %1",
    "SUBNET_CMDS_SUBNET6_LIST_FAILED", "failed to return a list of IPv6 subnets: %1",
    "SUBNET_CMDS_SUBNET6_UPDATE_FAILED", "failed to update IPv6 subnet: %1",
    "SUBNET_CMDS_SUBNET_ADD", "successfully added subnet %1 having id %2",
    "SUBNET_CMDS_SUBNET_DEL", "successfully deleted subnet %1 having id %2",
    "SUBNET_CMDS_SUBNET_GET", "successfully retrieved subnet %1 having id %2",
    "SUBNET_CMDS_SUBNET_GET_EMPTY", "specified subnet is not found: %1",
    "SUBNET_CMDS_SUBNET_LIST", "successfully retrieved list of %1 %2 subnets",
    "SUBNET_CMDS_SUBNET_LIST_EMPTY", "no %1 subnets listed",
    "SUBNET_CMDS_SUBNET_UPDATE", "successfully updated subnet %1 having id %2",
    NULL
};

const isc::log::MessageInitializer initializer(values);

} // Anonymous namespace