<s> import os <EOL> import math <EOL> import karesansui <EOL> DEFAULT_LANGS = { <EOL> "<STR_LIT>" : { '<STR_LIT>' : ( "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" ) } , <EOL> "<STR_LIT>" : { '<STR_LIT>' : ( "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" ) } , <EOL> } <EOL> DEFAULT_DATE_FORMAT = ( "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" ) <EOL> KARESANSUI_USER = "<STR_LIT>" <EOL> KARESANSUI_GROUP = "<STR_LIT>" <EOL> KARESANSUI_PREFIX = "<STR_LIT>" <EOL> KARESANSUI_TMP_DIR = KARESANSUI_PREFIX + "<STR_LIT>" <EOL> KARESANSUI_SYSCONF_DIR = "<STR_LIT>" <EOL> KARESANSUI_DATA_DIR = "<STR_LIT>" <EOL> MACHINE_ATTRIBUTE = { '<STR_LIT>' : <NUM_LIT:0> , <EOL> '<STR_LIT>' : <NUM_LIT:1> , <EOL> '<STR_LIT>' : <NUM_LIT:2> , <EOL> } <EOL> MACHINE_HYPERVISOR = { '<STR_LIT>' : <NUM_LIT:0> , <EOL> '<STR_LIT>' : <NUM_LIT:1> , <EOL> '<STR_LIT>' : <NUM_LIT:2> , <EOL> '<STR_LIT>' : <NUM_LIT:3> , <EOL> } <EOL> VENDOR_PREFIX = "<STR_LIT>" <EOL> VENDOR_BIN_DIR = VENDOR_PREFIX + "<STR_LIT>" <EOL> VENDOR_SBIN_DIR = VENDOR_PREFIX + "<STR_LIT>" <EOL> VENDOR_SYSCONF_DIR = "<STR_LIT>" <EOL> VENDOR_DATA_DIR = "<STR_LIT>" <EOL> VENDOR_DATA_ISCSI_DIR = "<STR_LIT>" <EOL> VENDOR_DATA_ISCSI_MOUNT_DIR = VENDOR_DATA_ISCSI_DIR + "<STR_LIT>" <EOL> VENDOR_DATA_ISCSI_DOMAINS_DIR = VENDOR_DATA_ISCSI_DIR + "<STR_LIT>" <EOL> VENDOR_DATA_BONDING_EVACUATION_DIR = "<STR_LIT>" <EOL> VENDOR_LIBVIRT_RUN_DIR = "<STR_LIT>" <EOL> XEN_SYSCONF_DIR = "<STR_LIT>" <EOL> LOGOUT_FILE_PREFIX = KARESANSUI_TMP_DIR + "<STR_LIT>" <EOL> ICON_DIR_TPL = "<STR_LIT>" <EOL> MSG_LIMIT = <NUM_LIT:5> <EOL> TAG_CLIPPING_RANGE = <NUM_LIT:12> <EOL> MACHINE_NAME_CLIPPING_RANGE = <NUM_LIT:20> <EOL> DEFAULT_LIST_RANGE = <NUM_LIT:10> <EOL> JOB_LIST_RANGE = DEFAULT_LIST_RANGE <EOL> USER_LIST_RANGE = DEFAULT_LIST_RANGE <EOL> TAG_LIST_RANGE = DEFAULT_LIST_RANGE <EOL> WATCH_LIST_RANGE = DEFAULT_LIST_RANGE <EOL> MAILTEMPLATE_LIST_RANGE = DEFAULT_LIST_RANGE <EOL> VIRT_LIBVIRT_DATA_DIR = "<STR_LIT>" <EOL> VIRT_XENDOMAINS_AUTO_DIR = XEN_SYSCONF_DIR + "<STR_LIT>" <EOL> VIRT_LIBVIRT_SOCKET_RW = VENDOR_LIBVIRT_RUN_DIR + "<STR_LIT>" ; <EOL> VIRT_LIBVIRT_SOCKET_RO = VENDOR_LIBVIRT_RUN_DIR + "<STR_LIT>" ; <EOL> KVM_VIRTUAL_DISK_PREFIX = "<STR_LIT>" <EOL> KVM_VIRT_CONFIG_DIR = "<STR_LIT>" <EOL> KVM_VIRT_URI_RW = "<STR_LIT>" <EOL> KVM_VIRT_URI_RO = "<STR_LIT>" <EOL> KVM_KARESANSUI_TMP_DIR = KARESANSUI_TMP_DIR + "<STR_LIT>" <EOL> if os . path . exists ( '<STR_LIT>' ) : <EOL> KVM_KEYMAP_DIR = '<STR_LIT>' <EOL> else : <EOL> KVM_KEYMAP_DIR = '<STR_LIT>' <EOL> KVM_BRIDGE_PREFIX = "<STR_LIT>" <EOL> XEN_VIRTUAL_DISK_PREFIX = "<STR_LIT>" <EOL> XEN_VIRT_CONFIG_DIR = "<STR_LIT>" <EOL> XEN_VIRT_URI_RW = "<STR_LIT>" + VIRT_LIBVIRT_SOCKET_RW <EOL> XEN_VIRT_URI_RO = "<STR_LIT>" + VIRT_LIBVIRT_SOCKET_RO <EOL> XEN_KARESANSUI_TMP_DIR = KARESANSUI_TMP_DIR + "<STR_LIT>" <EOL> XEN_KEYMAP_DIR = '<STR_LIT>' <EOL> VIRT_XML_CONFIG_DIR = VENDOR_SYSCONF_DIR + "<STR_LIT>" <EOL> VIRT_SYSCONF_DIR = VENDOR_SYSCONF_DIR + "<STR_LIT>" <EOL> OLD_VIRT_DISK_DIR = VIRT_LIBVIRT_DATA_DIR + "<STR_LIT>" <EOL> OLD_VIRT_DISK_IMAGE_DIR = VIRT_LIBVIRT_DATA_DIR + "<STR_LIT>" <EOL> OLD_VIRT_BOOT_IMAGE_DIR = VIRT_LIBVIRT_DATA_DIR + "<STR_LIT>" <EOL> OLD_VIRT_SNAPSHOT_DIR = VIRT_LIBVIRT_DATA_DIR + "<STR_LIT>" <EOL> VIRT_DOMAINS_DIR = VIRT_LIBVIRT_DATA_DIR + "<STR_LIT>" <EOL> VIRT_QEMU_DIR = VIRT_LIBVIRT_DATA_DIR + "<STR_LIT>" <EOL> VIRT_SNAPSHOT_DIR = VIRT_QEMU_DIR + "<STR_LIT>" <EOL> VIRT_NETWORK_CONFIG_DIR = VIRT_SYSCONF_DIR + "<STR_LIT>" <EOL> VIRT_AUTOSTART_CONFIG_DIR = VIRT_SYSCONF_DIR + "<STR_LIT>" <EOL> VIRT_LIBVIRTD_CONFIG_FILE = VIRT_SYSCONF_DIR + "<STR_LIT>" <EOL> VIRT_STORAGE_CONFIG_DIR = VIRT_SYSCONF_DIR + "<STR_LIT>" <EOL> VIRT_STORAGE_AUTOSTART_CONFIG_DIR = VIRT_SYSCONF_DIR + "<STR_LIT>" <EOL> VIRT_COMMAND_APPLY_SNAPSHOT = "<STR_LIT>" <EOL> VIRT_COMMAND_CREATE_GUEST = "<STR_LIT>" <EOL> VIRT_COMMAND_DELETE_GUEST = "<STR_LIT>" <EOL> VIRT_COMMAND_DELETE_SNAPSHOT = "<STR_LIT>" <EOL> VIRT_COMMAND_GET_MEMORY_USAGE = "<STR_LIT>" <EOL> VIRT_COMMAND_SET_MEMORY = "<STR_LIT>" <EOL> VIRT_COMMAND_START_GUEST = "<STR_LIT>" <EOL> VIRT_COMMAND_REBOOT_GUEST = "<STR_LIT>" <EOL> VIRT_COMMAND_DESTROY_GUEST = "<STR_LIT>" <EOL> VIRT_COMMAND_AUTOSTART_GUEST = "<STR_LIT>" <EOL> VIRT_COMMAND_CREATE_NETWORK = "<STR_LIT>" <EOL> VIRT_COMMAND_DELETE_NETWORK = "<STR_LIT>" <EOL> VIRT_COMMAND_UPDATE_NETWORK = "<STR_LIT>" <EOL> VIRT_COMMAND_REPLICATE_GUEST = "<STR_LIT>" <EOL> VIRT_COMMAND_EXPORT_GUEST = "<STR_LIT>" <EOL> VIRT_COMMAND_IMPORT_GUEST = "<STR_LIT>" <EOL> VIRT_COMMAND_DELETE_EXPORT_DATA = "<STR_LIT>" <EOL> VIRT_COMMAND_SET_VCPUS = "<STR_LIT>" <EOL> VIRT_COMMAND_SUSPEND_GUEST = "<STR_LIT>" <EOL> VIRT_COMMAND_ADD_DISK = "<STR_LIT>" <EOL> VIRT_COMMAND_APPEND_DISK = "<STR_LIT>" <EOL> VIRT_COMMAND_DELETE_DISK = "<STR_LIT>" <EOL> VIRT_COMMAND_ADD_NIC = "<STR_LIT>" <EOL> VIRT_COMMAND_DELETE_NIC = "<STR_LIT>" <EOL> VIRT_COMMAND_CPUTOP = "<STR_LIT>" <EOL> VIRT_COMMAND_GET_CPU_USAGE = "<STR_LIT>" <EOL> VIRT_COMMAND_RESUME_GUEST = "<STR_LIT>" <EOL> VIRT_COMMAND_SHUTDOWN_GUEST = "<STR_LIT>" <EOL> VIRT_COMMAND_TAKE_SNAPSHOT = "<STR_LIT>" <EOL> VIRT_COMMAND_SET_MAC_ADDRESS = "<STR_LIT>" <EOL> VIRT_COMMAND_SET_GRAPHICS = "<STR_LIT>" <EOL> FIREWALL_COMMAND_SAVE_FIREWALL = "<STR_LIT>" <EOL> FIREWALL_COMMAND_RESTORE_FIREWALL = "<STR_LIT>" <EOL> UPDATE_COMMAND_SOFTWARE = "<STR_LIT>" <EOL> VIRT_COMMAND_CREATE_STORAGE_POOL = "<STR_LIT>" <EOL> VIRT_COMMAND_DELETE_STORAGE_POOL = "<STR_LIT>" <EOL> VIRT_COMMAND_START_STORAGE_POOL = "<STR_LIT>" <EOL> VIRT_COMMAND_DESTROY_STORAGE_POOL = "<STR_LIT>" <EOL> VIRT_COMMAND_CREATE_STORAGE_VOLUME = "<STR_LIT>" <EOL> VIRT_COMMAND_DELETE_STORAGE_VOLUME = "<STR_LIT>" <EOL> VIRT_COMMAND_REPLICATE_STORAGE_VOLUME = "<STR_LIT>" <EOL> ISCSI_COMMAND_GET = "<STR_LIT>" <EOL> ISCSI_COMMAND_ADD = "<STR_LIT>" <EOL> ISCSI_COMMAND_DELETE = "<STR_LIT>" <EOL> ISCSI_COMMAND_START = "<STR_LIT>" <EOL> ISCSI_COMMAND_STOP = "<STR_LIT>" <EOL> ISCSI_COMMAND_UPDATE = "<STR_LIT>" <EOL> CONFIGURE_COMMAND_READ = "<STR_LIT>" <EOL> CONFIGURE_COMMAND_WRITE = "<STR_LIT>" <EOL> IPTABLES_COMMAND_CONTROL = "<STR_LIT>" <EOL> SERVICE_COMMAND_START = "<STR_LIT>" <EOL> SERVICE_COMMAND_STOP = "<STR_LIT>" <EOL> SERVICE_COMMAND_RESTART = "<STR_LIT>" <EOL> SERVICE_COMMAND_AUTOSTART = "<STR_LIT>" <EOL> ISCSI_COMMAND_READY_MOUNT = "<STR_LIT>" <EOL> BONDING_COMMAND_ADD = "<STR_LIT>" <EOL> BONDING_COMMAND_DELETE = "<STR_LIT>" <EOL> NETWORK_COMMAND_RESTART = "<STR_LIT>" <EOL> FIREWALL_XML_FILE = KARESANSUI_SYSCONF_DIR + "<STR_LIT>" <EOL> FIREWALL_USERCHAIN = "<STR_LIT>" <EOL> RH_USERCHAIN = "<STR_LIT>" <EOL> PROXY_ENABLE = '<STR_LIT:1>' <EOL> PROXY_DISABLE = '<STR_LIT:0>' <EOL> PORT_MIN_NUMBER = <NUM_LIT:1> <EOL> PORT_MAX_NUMBER = <NUM_LIT> <EOL> WELKNOWN_PORT_MIN_NUMBER = <NUM_LIT:1> <EOL> WELKNOWN_PORT_MAX_NUMBER = <NUM_LIT> <EOL> UNKNOWN_PORT_MIN_NUMBER = <NUM_LIT> <EOL> UNKNOWN_PORT_MAX_NUMBER = <NUM_LIT> <EOL> GRAPHICS_PORT_MIN_NUMBER = <NUM_LIT> <EOL> GRAPHICS_PORT_MAX_NUMBER = PORT_MAX_NUMBER <EOL> ENABLE_GRAPHICS_TYPE = [ '<STR_LIT>' , '<STR_LIT>' ] <EOL> ID_MIN_LENGTH = <NUM_LIT:1> <EOL> ID_MAX_LENGTH = int ( math . pow ( <NUM_LIT:2> , <NUM_LIT> ) ) - <NUM_LIT:1> <EOL> USER_MIN_LENGTH = <NUM_LIT:1> <EOL> USER_MAX_LENGTH = <NUM_LIT:16> <EOL> EMAIL_MIN_LENGTH = <NUM_LIT:1> + <NUM_LIT:1> + <NUM_LIT:4> <EOL> EMAIL_MAX_LENGTH = <NUM_LIT> <EOL> PASSWORD_MIN_LENGTH = <NUM_LIT:5> <EOL> PASSWORD_MAX_LENGTH = <NUM_LIT> <EOL> LANGUAGES_MIN_LENGTH = <NUM_LIT:1> <EOL> LANGUAGES_MAX_LENGTH = <NUM_LIT:6> <EOL> TAG_MIN_LENGTH = <NUM_LIT:1> <EOL> TAG_MAX_LENGTH = <NUM_LIT> <EOL> SEARCH_MIN_LENGTH = <NUM_LIT:0> <EOL> SEARCH_MAX_LENGTH = <NUM_LIT> <EOL> PAGE_MIN_SIZE = <NUM_LIT:0> <EOL> PAGE_MAX_SIZE = int ( math . pow ( <NUM_LIT:2> , <NUM_LIT> ) ) - <NUM_LIT:1> <EOL> MACHINE_NAME_MIN_LENGTH = <NUM_LIT:1> <EOL> MACHINE_NAME_MAX_LENGTH = <NUM_LIT> <EOL> HYPERVISOR_MIN_SIZE = <NUM_LIT:0> <EOL> HYPERVISOR_MAX_SIZE = <NUM_LIT:2> <EOL> MEMORY_MIN_SIZE = <NUM_LIT:64> <EOL> DISK_MIN_SIZE = <NUM_LIT:1> <EOL> CHECK_DISK_QUOTA = <NUM_LIT> <EOL> DOMAIN_NAME_MIN_LENGTH = <NUM_LIT:1> <EOL> DOMAIN_NAME_MAX_LENGTH = <NUM_LIT> <EOL> NOTE_TITLE_MIN_LENGTH = <NUM_LIT:0> <EOL> NOTE_TITLE_MAX_LENGTH = <NUM_LIT:64> <EOL> IMAGE_EXT_LIST = [ "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" ] <EOL> VCPUS_MIN_SIZE = <NUM_LIT:1> <EOL> FQDN_MIN_LENGTH = <NUM_LIT:0> <EOL> FQDN_MAX_LENGTH = <NUM_LIT> <EOL> CHAP_USER_MIN_LENGTH = <NUM_LIT:1> <EOL> CHAP_USER_MAX_LENGTH = <NUM_LIT> <EOL> CHAP_PASSWORD_MIN_LENGTH = <NUM_LIT:1> <EOL> CHAP_PASSWORD_MAX_LENGTH = <NUM_LIT> <EOL> STORAGE_VOLUME_SIZE_MIN_LENGTH = <NUM_LIT:0> ; <EOL> STORAGE_VOLUME_SIZE_MAX_LENGTH = <NUM_LIT> ; <EOL> CONTINUATION_COUNT_MIN = <NUM_LIT:1> ; <EOL> CONTINUATION_COUNT_MAX = <NUM_LIT> ; <EOL> PROHIBITION_PERIOD_MIN = <NUM_LIT:1> ; <EOL> PROHIBITION_PERIOD_MAX = <NUM_LIT> ; <EOL> THRESHOLD_VAL_MIN = <NUM_LIT:0> ; <EOL> DEFAULT_KEYMAP = '<STR_LIT>' <EOL> STORAGE_POOL_TYPE = { "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> } <EOL> STORAGE_VOLUME_FORMAT = { "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> } <EOL> STORAGE_VOLUME_UNIT = { "<STR_LIT:B>" : <NUM_LIT> ** <NUM_LIT:0> , <EOL> "<STR_LIT>" : <NUM_LIT> ** <NUM_LIT:1> , <EOL> "<STR_LIT:M>" : <NUM_LIT> ** <NUM_LIT:2> , <EOL> "<STR_LIT>" : <NUM_LIT> ** <NUM_LIT:3> , <EOL> "<STR_LIT:T>" : <NUM_LIT> ** <NUM_LIT:4> , <EOL> "<STR_LIT:P>" : <NUM_LIT> ** <NUM_LIT:5> , <EOL> "<STR_LIT:E>" : <NUM_LIT> ** <NUM_LIT:6> , <EOL> } <EOL> DISK_QEMU_FORMAT = { "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> } <EOL> DISK_NON_QEMU_FORMAT = { "<STR_LIT>" : "<STR_LIT>" , } <EOL> ISCSI_DEVICE_DIR = "<STR_LIT>" <EOL> ISCSI_DEVICE_NAME_TPL = "<STR_LIT>" <EOL> ISCSI_DEFAULT_CONFIG_PATH = "<STR_LIT>" <EOL> ISCSI_DEFAULT_NODE_CONFIG_DIR = "<STR_LIT>" <EOL> ISCSI_CONFIG_KEY_AUTH_METHOD = "<STR_LIT>" <EOL> ISCSI_CONFIG_KEY_AUTH_USER = "<STR_LIT>" <EOL> ISCSI_CONFIG_KEY_AUTH_PASSWORD = "<STR_LIT>" <EOL> ISCSI_CONFIG_KEY_SATRTUP = "<STR_LIT>" <EOL> ISCSI_CONFIG_VALUE_AUTH_METHOD_NONE = "<STR_LIT:None>" <EOL> ISCSI_CONFIG_VALUE_AUTH_METHOD_CHAP = "<STR_LIT>" <EOL> ISCSI_CONFIG_VALUE_SATRTUP_ON = "<STR_LIT>" <EOL> ISCSI_CONFIG_VALUE_SATRTUP_OFF = "<STR_LIT>" <EOL> ISCSI_DATA_DIR = VENDOR_DATA_DIR + "<STR_LIT>" <EOL> ISCSI_CMD = "<STR_LIT>" <EOL> ISCSI_CMD_OPTION_MODE = "<STR_LIT>" <EOL> ISCSI_CMD_OPTION_MODE_NODE = "<STR_LIT>" <EOL> ISCSI_CMD_OPTION_MODE_SESSION = "<STR_LIT>" <EOL> ISCSI_CMD_OPTION_MODE_DISCOVERY = "<STR_LIT>" <EOL> ISCSI_CMD_OPTION_TYPE = "<STR_LIT>" <EOL> ISCSI_CMD_OPTION_TYPE_SENDTARGETS = "<STR_LIT>" <EOL> ISCSI_CMD_OPTION_OPERATOR = "<STR_LIT>" <EOL> ISCSI_CMD_OPTION_OPERATOR_DELETE = "<STR_LIT>" <EOL> ISCSI_CMD_OPTION_TARGETNAME = "<STR_LIT>" <EOL> ISCSI_CMD_OPTION_PORTAL = "<STR_LIT>" <EOL> ISCSI_CMD_OPTION_LOGIN = "<STR_LIT>" <EOL> ISCSI_CMD_OPTION_LOGOUT = "<STR_LIT>" <EOL> ISCSI_CMD_RES_NO_NODE = "<STR_LIT>" <EOL> ISCSI_CMD_RES_NO_ACTIVE_SESSION = "<STR_LIT>" <EOL> DEFAULT_KVM_DISK_FORMAT = "<STR_LIT>" <EOL> DEFAULT_XEN_DISK_FORMAT = "<STR_LIT>" <EOL> LOG_EPOCH_REGEX = r"<STR_LIT>" <EOL> LOG_SYSLOG_REGEX = r"<STR_LIT>" <EOL> COLLECTD_LOG_DIR = "<STR_LIT>" <EOL> COLLECTD_DATA_DIR = "<STR_LIT>" % VENDOR_DATA_DIR <EOL> COLLECTD_PLUGIN_CPU = "<STR_LIT>" <EOL> COLLECTD_PLUGIN_DF = "<STR_LIT>" <EOL> COLLECTD_PLUGIN_DISK = "<STR_LIT>" <EOL> COLLECTD_PLUGIN_EXEC = "<STR_LIT>" <EOL> COLLECTD_PLUGIN_INTERFACE = "<STR_LIT>" <EOL> COLLECTD_PLUGIN_IPTABLES = "<STR_LIT>" <EOL> COLLECTD_PLUGIN_LIBVIRT = "<STR_LIT>" <EOL> COLLECTD_PLUGIN_LOAD = "<STR_LIT>" <EOL> COLLECTD_PLUGIN_LOGFILE = "<STR_LIT>" <EOL> COLLECTD_PLUGIN_MEMORY = "<STR_LIT>" <EOL> COLLECTD_PLUGIN_NETWORK = "<STR_LIT>" <EOL> COLLECTD_PLUGIN_PYTHON = "<STR_LIT>" <EOL> COLLECTD_PLUGIN_RRDCACHED = "<STR_LIT>" <EOL> COLLECTD_PLUGIN_RRDTOOL = "<STR_LIT>" <EOL> COLLECTD_PLUGIN_SENSORS = "<STR_LIT>" <EOL> COLLECTD_PLUGIN_SNMP = "<STR_LIT>" <EOL> COLLECTD_PLUGIN_SYSLOG = "<STR_LIT>" <EOL> COLLECTD_PLUGIN_TAIL = "<STR_LIT>" <EOL> COLLECTD_PLUGIN_UPTIME = "<STR_LIT>" <EOL> COLLECTD_PLUGIN_USERS = "<STR_LIT>" <EOL> WATCH_PLUGINS = { "<STR_LIT>" : COLLECTD_PLUGIN_CPU , <EOL> "<STR_LIT>" : COLLECTD_PLUGIN_DF , <EOL> "<STR_LIT>" : COLLECTD_PLUGIN_INTERFACE , <EOL> "<STR_LIT>" : COLLECTD_PLUGIN_LIBVIRT , <EOL> "<STR_LIT>" : COLLECTD_PLUGIN_LOAD , <EOL> "<STR_LIT>" : COLLECTD_PLUGIN_MEMORY , <EOL> } <EOL> COLLECTD_CPU_TYPE = "<STR_LIT>" <EOL> COLLECTD_CPU_TYPE_INSTANCE = { "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT:user>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> } <EOL> COLLECTD_CPU_DS = "<STR_LIT:value>" <EOL> COLLECTD_MEMORY_TYPE = "<STR_LIT>" <EOL> COLLECTD_MEMORY_TYPE_INSTANCE = { "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> } <EOL> COLLECTD_MEMORY_DS = "<STR_LIT:value>" <EOL> COLLECTD_DF_TYPE = "<STR_LIT>" <EOL> COLLECTD_DF_DS = { "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> } <EOL> COLLECTD_DISK_TYPE = { "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> } <EOL> COLLECTD_DISK_DS = { "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> } <EOL> COLLECTD_INTERFACE_TYPE = { "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> } <EOL> COLLECTD_INTERFACE_DS = { "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> } <EOL> COLLECTD_UPTIME_TYPE = "<STR_LIT>" <EOL> COLLECTD_UPTIME_DS = "<STR_LIT:value>" <EOL> COLLECTD_LOAD_TYPE = "<STR_LIT>" <EOL> COLLECTD_LOAD_DS = { "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> } <EOL> COLLECTD_USERS_TYPE = "<STR_LIT>" <EOL> COLLECTD_USERS_DS = "<STR_LIT>" <EOL> COLLECTD_LIBVIRT_TYPE = { "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> } <EOL> COLLECTD_DF_RRPORT_BY_DEVICE = True <EOL> COUNTUP_DATABASE_PATH = KARESANSUI_DATA_DIR + "<STR_LIT>" <EOL> VALUE_BOUNDS_UPPER = "<STR_LIT:1>" <EOL> VALUE_BOUNDS_LOWER = "<STR_LIT:0>" <EOL> HDD_TYPES_REGEX = ( '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> ) <EOL> STORAGE_POOL_PWD = { "<STR_LIT>" : "<STR_LIT:root>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> } <EOL> STORAGE_VOLUME_PWD = { "<STR_LIT>" : "<STR_LIT:root>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> } <EOL> DISK_USES = { "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> } <EOL> TEMPLATE_DIR = KARESANSUI_SYSCONF_DIR + "<STR_LIT>" <EOL> MAIL_TEMPLATE_DIR_JA = TEMPLATE_DIR + "<STR_LIT>" <EOL> MAIL_TEMPLATE_DIR_EN = TEMPLATE_DIR + "<STR_LIT>" <EOL> MAIL_TEMPLATE_COLLECTD_WARNING = { COLLECTD_PLUGIN_CPU : "<STR_LIT>" , <EOL> COLLECTD_PLUGIN_DF : "<STR_LIT>" , <EOL> COLLECTD_PLUGIN_DISK : "<STR_LIT>" , <EOL> COLLECTD_PLUGIN_INTERFACE : "<STR_LIT>" , <EOL> COLLECTD_PLUGIN_LIBVIRT : "<STR_LIT>" , <EOL> COLLECTD_PLUGIN_LOAD : "<STR_LIT>" , <EOL> COLLECTD_PLUGIN_MEMORY : "<STR_LIT>" , <EOL> COLLECTD_PLUGIN_UPTIME : "<STR_LIT>" , <EOL> COLLECTD_PLUGIN_USERS : "<STR_LIT>" , <EOL> } <EOL> MAIL_TEMPLATE_COLLECTD_FAILURE = { COLLECTD_PLUGIN_CPU : "<STR_LIT>" , <EOL> COLLECTD_PLUGIN_DF : "<STR_LIT>" , <EOL> COLLECTD_PLUGIN_DISK : "<STR_LIT>" , <EOL> COLLECTD_PLUGIN_INTERFACE : "<STR_LIT>" , <EOL> COLLECTD_PLUGIN_LIBVIRT : "<STR_LIT>" , <EOL> COLLECTD_PLUGIN_LOAD : "<STR_LIT>" , <EOL> COLLECTD_PLUGIN_MEMORY : "<STR_LIT>" , <EOL> COLLECTD_PLUGIN_UPTIME : "<STR_LIT>" , <EOL> COLLECTD_PLUGIN_USERS : "<STR_LIT>" , <EOL> } <EOL> MAIL_TEMPLATE_COLLECTD_OKAY = { COLLECTD_PLUGIN_CPU : "<STR_LIT>" , <EOL> COLLECTD_PLUGIN_DF : "<STR_LIT>" , <EOL> COLLECTD_PLUGIN_DISK : "<STR_LIT>" , <EOL> COLLECTD_PLUGIN_INTERFACE : "<STR_LIT>" , <EOL> COLLECTD_PLUGIN_LIBVIRT : "<STR_LIT>" , <EOL> COLLECTD_PLUGIN_LOAD : "<STR_LIT>" , <EOL> COLLECTD_PLUGIN_MEMORY : "<STR_LIT>" , <EOL> COLLECTD_PLUGIN_UPTIME : "<STR_LIT>" , <EOL> COLLECTD_PLUGIN_USERS : "<STR_LIT>" , <EOL> } <EOL> SERVICE_XML_FILE = KARESANSUI_SYSCONF_DIR + "<STR_LIT>" <EOL> GRAPH_COMMON_PARAM = [ <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> "<STR_LIT>" , <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> "<STR_LIT>" , <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> ] <EOL> LOG_VIEW_XML_FILE = KARESANSUI_SYSCONF_DIR + "<STR_LIT>" <EOL> GUEST_EXPORT_FILE = '<STR_LIT>' <EOL> KVM_BUS_TYPES = [ '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> ] <EOL> XEN_BUS_TYPES = [ '<STR_LIT>' ] <EOL> MOUNT_CMD = "<STR_LIT>" <EOL> UMOUNT_CMD = "<STR_LIT>" <EOL> FORMAT_CMD = "<STR_LIT>" <EOL> YES_CMD = ( "<STR_LIT>" , "<STR_LIT:y>" ) <EOL> WATCH_INTERVAL = <NUM_LIT:10> <EOL> BONDING_MODE = { "<STR_LIT:0>" : <NUM_LIT:0> , <EOL> "<STR_LIT:1>" : <NUM_LIT:1> , <EOL> "<STR_LIT:2>" : <NUM_LIT:2> , <EOL> "<STR_LIT:3>" : <NUM_LIT:3> , <EOL> "<STR_LIT:4>" : <NUM_LIT:4> , <EOL> "<STR_LIT:5>" : <NUM_LIT:5> , <EOL> "<STR_LIT>" : <NUM_LIT:6> , <EOL> } <EOL> BONDING_CONFIG_MII_DEFAULT = <NUM_LIT:100> <EOL> NETWORK_IFCFG_DIR = "<STR_LIT>" <EOL> NETWORK_COMMAND = "<STR_LIT>" <EOL> SYSTEM_COMMAND_REMOVE_MODULE = "<STR_LIT>" <EOL> NETWORK_IFDOWN_COMMAND = "<STR_LIT>" <EOL> NETWORK_BRCTL_COMMAND = "<STR_LIT>" <EOL> NETWORK_IFCONFIG_COMMAND = "<STR_LIT>" <EOL> DEFAULT_DECIMAL_POINT = <NUM_LIT:1> <EOL> DEFAULT_ALERT_TRIGGER_COUNT = <NUM_LIT:3> ; <EOL> DEFAULT_SLIENT_PERIOD = <NUM_LIT> ; </s>
