Package ganeti :: Module _constants
[hide private]
[frames] | no frames]

Module _constants

source code

Automatically generated constants for Python

Note that this file is autogenerated with @lib/_constants.py.in@ as a header.

Variables [hide private]
  HTOOLS_PROGS = ["harep", "hbal", "hscan", "hspace", "hinfo", "...
  DRBD_BARRIERS = "n"
  DRBD_NO_META_FLUSH = False
  LVM_STRIPECOUNT = 1
  HAS_GNU_LN = True
  EXPORT_DIR = "/srv/ganeti/export"
  BACKUP_DIR = "/var/lib"
  OS_SEARCH_PATH = ["/srv/ganeti/os"]
  ES_SEARCH_PATH = ["/srv/ganeti/extstorage"]
  SSH_CONFIG_DIR = "/etc/ssh"
  XEN_CONFIG_DIR = "/etc/xen"
  SYSCONFDIR = "/etc"
  TOOLSDIR = "/usr/lib/ganeti/tools"
  LOCALSTATEDIR = "/var"
  PKGLIBDIR = "/usr/lib/ganeti"
  SHAREDIR = "/usr/share/ganeti"
  MAN_PAGES = {"ganeti": 7, "ganeti-cleaner": 8, "ganeti-confd":...
  VERSIONEDSHAREDIR = "/usr/share/ganeti/2.16"
  GNT_SCRIPTS = ["gnt-backup", "gnt-cluster", "gnt-debug", "gnt-...
  RELEASE_VERSION = "2.16.0~rc1"
  VERSION_MAJOR = 2
  VERSION_MINOR = 16
  VERSION_REVISION = 0
  DIR_VERSION = "2.16"
  OS_API_V10 = 10
  OS_API_V15 = 15
  OS_API_V20 = 20
  OS_API_VERSIONS = frozenset([10, 15, 20])
  EXPORT_VERSION = 0
  RAPI_VERSION = 2
  CONFIG_MAJOR = 2
  CONFIG_MINOR = 16
  CONFIG_REVISION = 0
  CONFIG_VERSION = 2160000
  PROTOCOL_VERSION = 2160000
  DAEMONS_GROUP = "root"
  ADMIN_GROUP = "root"
  MASTERD_USER = "root"
  MASTERD_GROUP = "root"
  METAD_USER = "root"
  METAD_GROUP = "root"
  RAPI_USER = "root"
  RAPI_GROUP = "root"
  CONFD_USER = "root"
  CONFD_GROUP = "root"
  WCONFD_USER = "root"
  WCONFD_GROUP = "root"
  KVMD_USER = "root"
  KVMD_GROUP = "root"
  LUXID_USER = "root"
  LUXID_GROUP = "root"
  NODED_USER = "root"
  NODED_GROUP = "root"
  MOND_USER = "root"
  MOND_GROUP = "root"
  SSH_LOGIN_USER = "root"
  SSH_CONSOLE_USER = "root"
  CPU_PINNING_SEP = ":"
  CPU_PINNING_ALL = "all"
  CPU_PINNING_ALL_VAL = -1
  CPU_PINNING_OFF = [-1]
  CPU_PINNING_ALL_XEN = "0-63"
  DD_CMD = "dd"
  DD_BLOCK_SIZE = 1048576
  MAX_WIPE_CHUNK = 1024
  MIN_WIPE_CHUNK_PERCENT = 10
  RUN_DIRS_MODE = 509
  SECURE_DIR_MODE = 448
  SECURE_FILE_MODE = 384
  ADOPTABLE_BLOCKDEV_ROOT = "/dev/disk/"
  ENABLE_MOND = True
  ENABLE_METAD = True
  ENABLE_RESTRICTED_COMMANDS = False
  SSH = "ssh"
  SCP = "scp"
  CONFD = "ganeti-confd"
  MASTERD = "ganeti-masterd"
  METAD = "ganeti-metad"
  MOND = "ganeti-mond"
  NODED = "ganeti-noded"
  WCONFD = "ganeti-wconfd"
  LUXID = "ganeti-luxid"
  RAPI = "ganeti-rapi"
  KVMD = "ganeti-kvmd"
  DAEMONS_MASTER = frozenset(["ganeti-luxid", "ganeti-rapi", "ga...
  DAEMONS = frozenset(["ganeti-confd", "ganeti-kvmd", "ganeti-lu...
  DEFAULT_CONFD_PORT = 1814
  DEFAULT_MOND_PORT = 1815
  DEFAULT_METAD_PORT = 80
  DEFAULT_NODED_PORT = 1811
  DEFAULT_RAPI_PORT = 5080
  DAEMONS_PORTS = {"ganeti-confd":("udp", 1814), "ganeti-metad":...
  FIRST_DRBD_PORT = 11000
  LAST_DRBD_PORT = 14999
  DAEMONS_LOGBASE = {"ganeti-confd": "conf-daemon", "ganeti-kvmd...
  DAEMONS_EXTRA_LOGBASE = {"ganeti-mond": {"access": "monitoring...
  EXTRA_LOGREASON_ACCESS = "monitoring-daemon-access"
  EXTRA_LOGREASON_ERROR = "monitoring-daemon-error"
  DEV_CONSOLE = "/dev/console"
  PROC_MOUNTS = "/proc/mounts"
  LUXI_EOM = chr(3)
  LUXI_OVERRIDE = "FORCE_LUXI_SOCKET"
  LUXI_OVERRIDE_MASTER = "master"
  LUXI_OVERRIDE_QUERY = "query"
  LUXI_VERSION = 2160000
  SYSLOG_USAGE = "no"
  SYSLOG_NO = "no"
  SYSLOG_YES = "yes"
  SYSLOG_ONLY = "only"
  SYSLOG_SOCKET = "/dev/log"
  EXPORT_CONF_FILE = "config.ini"
  XEN_BOOTLOADER = ""
  XEN_CMD_XL = "xl"
  XEN_CMD_XM = "xm"
  XEN_INITRD = "/boot/initrd-3-xenU"
  XEN_KERNEL = "/boot/vmlinuz-3-xenU"
  XL_SOCAT_CMD = "socat -b524288 - TCP:%s:%d #"
  XL_MIGRATION_PIDFILE = "socat.pid"
  KNOWN_XEN_COMMANDS = frozenset(["xl", "xm"])
  KVM_PATH = "/usr/bin/kvm"
  KVM_KERNEL = "/boot/vmlinuz-3-kvmU"
  SOCAT_ESCAPE_CODE = "0x1d"
  SOCAT_PATH = "/usr/bin/socat"
  SOCAT_USE_COMPRESS = False
  SOCAT_USE_ESCAPE = True
  LXC_DEVICES_DEFAULT = "c 1:3 rw,c 1:5 rw,c 1:7 rw,c 1:8 rw,c 1...
  LXC_DROP_CAPABILITIES_DEFAULT = "mac_override,sys_boot,sys_mod...
  LXC_STATE_RUNNING = "RUNNING"
  CONS_MESSAGE = "msg"
  CONS_SPICE = "spice"
  CONS_SSH = "ssh"
  CONS_VNC = "vnc"
  CONS_ALL = frozenset(["msg", "spice", "ssh", "vnc"])
  RSA_KEY_BITS = 2048
  OPENSSL_CIPHERS = "HIGH:-DES:-3DES:-EXPORT:-DH"
  X509_CERT_CN = "ganeti.example.com"
  X509_CERT_DEFAULT_VALIDITY = 1825
  X509_CERT_SIGNATURE_HEADER = "X-Ganeti-Signature"
  X509_CERT_SIGN_DIGEST = "SHA1"
  IEM_EXPORT = "export"
  IEM_IMPORT = "import"
  IEC_GZIP = "gzip"
  IEC_GZIP_FAST = "gzip-fast"
  IEC_GZIP_SLOW = "gzip-slow"
  IEC_LZOP = "lzop"
  IEC_NONE = "none"
  IEC_ALL = ["gzip", "gzip-fast", "gzip-slow", "lzop", "none"]
  IEC_DEFAULT_TOOLS = ["gzip", "gzip-fast", "gzip-slow"]
  IEC_COMPRESSION_UTILITIES = {"gzip-fast": "gzip", "gzip-slow":...
  IE_CUSTOM_SIZE = "fd"
  IEIO_FILE = "file"
  IEIO_RAW_DISK = "raw"
  IEIO_SCRIPT = "script"
  VALUE_DEFAULT = "default"
  VALUE_AUTO = "auto"
  VALUE_GENERATE = "generate"
  VALUE_NONE = "none"
  VALUE_TRUE = "true"
  VALUE_FALSE = "false"
  HOOKS_NAME_CFGUPDATE = "config-update"
  HOOKS_NAME_WATCHER = "watcher"
  HOOKS_PATH = "/sbin:/bin:/usr/sbin:/usr/bin"
  HOOKS_PHASE_POST = "post"
  HOOKS_PHASE_PRE = "pre"
  HOOKS_VERSION = 2
  HTYPE_CLUSTER = "CLUSTER"
  HTYPE_GROUP = "GROUP"
  HTYPE_INSTANCE = "INSTANCE"
  HTYPE_NETWORK = "NETWORK"
  HTYPE_NODE = "NODE"
  HKR_SKIP = 0
  HKR_FAIL = 1
  HKR_SUCCESS = 2
  ST_BLOCK = "blockdev"
  ST_DISKLESS = "diskless"
  ST_EXT = "ext"
  ST_FILE = "file"
  ST_SHARED_FILE = "sharedfile"
  ST_GLUSTER = "gluster"
  ST_LVM_PV = "lvm-pv"
  ST_LVM_VG = "lvm-vg"
  ST_RADOS = "rados"
  STORAGE_TYPES = frozenset(["blockdev", "diskless", "ext", "fil...
  STS_REPORT = frozenset(["file", "lvm-pv", "lvm-vg"])
  STS_REPORT_NODE_STORAGE = frozenset(["file", "gluster", "lvm-p...
  SF_NODE = "node"
  SF_TYPE = "type"
  SF_ALLOCATABLE = "allocatable"
  SF_FREE = "free"
  SF_NAME = "name"
  SF_SIZE = "size"
  SF_USED = "used"
  VALID_STORAGE_FIELDS = frozenset(["allocatable", "free", "name...
  MODIFIABLE_STORAGE_FIELDS = {"lvm-pv": frozenset(["allocatable...
  SO_FIX_CONSISTENCY = "fix-consistency"
  VALID_STORAGE_OPERATIONS = {"lvm-vg": frozenset(["fix-consiste...
  VF_DEV = "dev"
  VF_INSTANCE = "instance"
  VF_NAME = "name"
  VF_NODE = "node"
  VF_PHYS = "phys"
  VF_SIZE = "size"
  VF_VG = "vg"
  LDS_FAULTY = 4
  LDS_OKAY = 1
  LDS_UNKNOWN = 3
  LDS_SYNC = 2
  LDS_NAMES = {1: "ok", 2: "syncing", 3: "unknown", 4: "faulty"}
  DT_DISKLESS = "diskless"
  DT_FILE = "file"
  DT_SHARED_FILE = "sharedfile"
  DT_PLAIN = "plain"
  DT_BLOCK = "blockdev"
  DT_DRBD8 = "drbd"
  DT_RBD = "rbd"
  DT_EXT = "ext"
  DT_GLUSTER = "gluster"
  DT_MIXED = "mixed"
  DISK_TEMPLATE_PREFERENCE = ["blockdev", "diskless", "drbd", "e...
  DISK_TEMPLATES = frozenset(["blockdev", "diskless", "drbd", "e...
  DEFAULT_ENABLED_DISK_TEMPLATES = ["drbd", "plain"]
  MAP_DISK_TEMPLATE_STORAGE_TYPE = {"blockdev": "blockdev", "dis...
  DTS_INT_MIRROR = frozenset(["drbd"])
  DTS_EXT_MIRROR = frozenset(["blockdev", "diskless", "ext", "gl...
  DTS_NOT_LVM = frozenset(["blockdev", "diskless", "ext", "file"...
  DTS_GROWABLE = frozenset(["drbd", "ext", "file", "gluster", "p...
  DTS_MAY_ADOPT = frozenset(["blockdev", "plain"])
  DTS_MUST_ADOPT = frozenset(["blockdev"])
  DTS_MIRRORED = frozenset(["blockdev", "diskless", "drbd", "ext...
  DTS_FILEBASED = frozenset(["file", "gluster", "sharedfile"])
  DTS_INSTANCE_DEPENDENT_PATH = frozenset(["file", "sharedfile"])
  DTS_COPYABLE = frozenset(["file", "plain"])
  DTS_SNAPSHOT_CAPABLE = frozenset(["drbd", "ext", "plain"])
  DTS_EXCL_STORAGE = frozenset(["plain"])
  DTS_NO_FREE_SPACE_CHECK = frozenset(["ext", "file", "gluster",...
  DTS_BLOCK = frozenset(["blockdev", "drbd", "ext", "plain", "rb...
  DTS_LVM = frozenset(["drbd", "plain"])
  DTS_HAVE_ACCESS = frozenset(["ext", "gluster", "rbd"])
  DTS_NOT_CONVERTIBLE_FROM = frozenset(["diskless"])
  DTS_NOT_CONVERTIBLE_TO = frozenset(["blockdev", "diskless"])
  DRBD_HMAC_ALG = "md5"
  DRBD_DEFAULT_NET_PROTOCOL = "C"
  DRBD_MIGRATION_NET_PROTOCOL = "C"
  DRBD_STATUS_FILE = "/proc/drbd"
  DRBD_SECRET_LENGTH = 20
  DRBD_META_SIZE = 128
  DRBD_B_DISK_BARRIERS = "b"
  DRBD_B_DISK_DRAIN = "d"
  DRBD_B_DISK_FLUSH = "f"
  DRBD_B_NONE = "n"
  DRBD_VALID_BARRIER_OPT = frozenset([frozenset(["b"]), frozense...
  RBD_CMD = "rbd"
  FD_BLKTAP = "blktap"
  FD_BLKTAP2 = "blktap2"
  FD_LOOP = "loop"
  FD_DEFAULT = "loop"
  FILE_DRIVER = frozenset(["blktap", "blktap2", "loop"])
  DTS_DRBD = frozenset(["drbd"])
  DISK_RDONLY = "ro"
  DISK_RDWR = "rw"
  DISK_ACCESS_SET = frozenset(["ro", "rw"])
  REPLACE_DISK_AUTO = "replace_auto"
  REPLACE_DISK_CHG = "replace_new_secondary"
  REPLACE_DISK_PRI = "replace_on_primary"
  REPLACE_DISK_SEC = "replace_on_secondary"
  REPLACE_MODES = frozenset(["replace_auto", "replace_new_second...
  EXPORT_MODE_LOCAL = "local"
  EXPORT_MODE_REMOTE = "remote"
  EXPORT_MODES = frozenset(["local", "remote"])
  INSTANCE_CREATE = "create"
  INSTANCE_IMPORT = "import"
  INSTANCE_REMOTE_IMPORT = "remote-import"
  INSTANCE_CREATE_MODES = frozenset(["create", "import", "remote...
  RIE_HANDSHAKE = "Hi, I'm Ganeti"
  RIE_VERSION = 0
  RIE_CERT_VALIDITY = 86400
  RIE_CONNECT_ATTEMPT_TIMEOUT = 20
  RIE_CONNECT_RETRIES = 10
  RIE_CONNECT_TIMEOUT = 180
  CHILD_LINGER_TIMEOUT = 5.0
  INISECT_BEP = "backend"
  INISECT_EXP = "export"
  INISECT_HYP = "hypervisor"
  INISECT_INS = "instance"
  INISECT_OSP = "os"
  INISECT_OSP_PRIVATE = "os_private"
  DDM_ADD = "add"
  DDM_ATTACH = "attach"
  DDM_MODIFY = "modify"
  DDM_REMOVE = "remove"
  DDM_DETACH = "detach"
  DDMS_VALUES = frozenset(["add", "attach", "detach", "remove"])
  DDMS_VALUES_WITH_MODIFY = frozenset(["add", "attach", "detach"...
  EXIT_SUCCESS = 0
  EXIT_FAILURE = 1
  EXIT_NOTCLUSTER = 5
  EXIT_NOTMASTER = 11
  EXIT_NODESETUP_ERROR = 12
  EXIT_CONFIRMATION = 13
  EXIT_UNKNOWN_FIELD = 14
  TAG_CLUSTER = "cluster"
  TAG_INSTANCE = "instance"
  TAG_NETWORK = "network"
  TAG_NODE = "node"
  TAG_NODEGROUP = "nodegroup"
  VALID_TAG_TYPES = frozenset(["cluster", "instance", "network",...
  MAX_TAG_LEN = 128
  MAX_TAGS_PER_OBJ = 4096
  DEFAULT_BRIDGE = "xen-br0"
  DEFAULT_OVS = "switch1"
  CLASSIC_DRBD_SYNC_SPEED = 61440
  IP4_ADDRESS_ANY = "0.0.0.0"
  IP4_ADDRESS_LOCALHOST = "127.0.0.1"
  IP6_ADDRESS_ANY = "::"
  IP6_ADDRESS_LOCALHOST = "::1"
  IP4_VERSION = 4
  IP6_VERSION = 6
  VALID_IP_VERSIONS = frozenset([4, 6])
  TCP_PING_TIMEOUT = 10
  DEFAULT_VG = "xenvg"
  DEFAULT_DRBD_HELPER = "/bin/true"
  MIN_VG_SIZE = 20480
  DEFAULT_MAC_PREFIX = "aa:00:00"
  DEFAULT_SHUTDOWN_TIMEOUT = 120
  NODE_MAX_CLOCK_SKEW = 150
  DISK_TRANSFER_CONNECT_TIMEOUT = 60
  DISK_SEPARATOR = ":"
  IP_COMMAND_PATH = "/bin/ip"
  JOB_IDS_KEY = "jobs"
  RUNPARTS_ERR = 2
  RUNPARTS_RUN = 1
  RUNPARTS_SKIP = 0
  RUNPARTS_STATUS = [2, 1, 0]
  RPC_ENCODING_NONE = 0
  RPC_ENCODING_ZLIB_BASE64 = 1
  RPC_TMO_URGENT = 60
  RPC_TMO_FAST = 300
  RPC_TMO_NORMAL = 900
  RPC_TMO_SLOW = 3600
  RPC_TMO_4HRS = 14400
  RPC_TMO_1DAY = 86400
  RPC_CONNECT_TIMEOUT = 5
  OS_SCRIPT_CREATE = "create"
  OS_SCRIPT_CREATE_UNTRUSTED = "create_untrusted"
  OS_SCRIPT_EXPORT = "export"
  OS_SCRIPT_IMPORT = "import"
  OS_SCRIPT_RENAME = "rename"
  OS_SCRIPT_VERIFY = "verify"
  OS_SCRIPTS = ["create", "create_untrusted", "export", "import"...
  OS_API_FILE = "ganeti_api_version"
  OS_VARIANTS_FILE = "variants.list"
  OS_PARAMETERS_FILE = "parameters.list"
  OS_VALIDATE_PARAMETERS = "parameters"
  OS_VALIDATE_CALLS = frozenset(["parameters"])
  ES_ACTION_ATTACH = "attach"
  ES_ACTION_CREATE = "create"
  ES_ACTION_DETACH = "detach"
  ES_ACTION_GROW = "grow"
  ES_ACTION_REMOVE = "remove"
  ES_ACTION_SETINFO = "setinfo"
  ES_ACTION_VERIFY = "verify"
  ES_ACTION_SNAPSHOT = "snapshot"
  ES_ACTION_OPEN = "open"
  ES_ACTION_CLOSE = "close"
  ES_SCRIPT_CREATE = "create"
  ES_SCRIPT_REMOVE = "remove"
  ES_SCRIPT_GROW = "grow"
  ES_SCRIPT_ATTACH = "attach"
  ES_SCRIPT_DETACH = "detach"
  ES_SCRIPT_SETINFO = "setinfo"
  ES_SCRIPT_VERIFY = "verify"
  ES_SCRIPT_SNAPSHOT = "snapshot"
  ES_SCRIPT_OPEN = "open"
  ES_SCRIPT_CLOSE = "close"
  ES_SCRIPTS = frozenset(["attach", "close", "create", "detach",...
  ES_PARAMETERS_FILE = "parameters.list"
  INSTANCE_REBOOT_SOFT = "soft"
  INSTANCE_REBOOT_HARD = "hard"
  INSTANCE_REBOOT_FULL = "full"
  REBOOT_TYPES = frozenset(["full", "hard", "soft"])
  INSTANCE_REBOOT_ALLOWED = "reboot"
  INSTANCE_REBOOT_EXIT = "exit"
  REBOOT_BEHAVIORS = ["reboot", "exit"]
  VTYPE_BOOL = "bool"
  VTYPE_INT = "int"
  VTYPE_FLOAT = "float"
  VTYPE_MAYBE_STRING = "maybe-string"
  VTYPE_SIZE = "size"
  VTYPE_STRING = "string"
  ENFORCEABLE_TYPES = frozenset(["string", "maybe-string", "bool...
  IFACE_NO_IP_VERSION_SPECIFIED = 0
  VALID_SERIAL_SPEEDS = [75, 110, 300, 600, 1200, 1800, 2400, 48...
  HV_ACPI = "acpi"
  HV_BLOCKDEV_PREFIX = "blockdev_prefix"
  HV_BOOTLOADER_ARGS = "bootloader_args"
  HV_BOOTLOADER_PATH = "bootloader_path"
  HV_BOOT_ORDER = "boot_order"
  HV_CDROM_IMAGE_PATH = "cdrom_image_path"
  HV_CPU_CAP = "cpu_cap"
  HV_CPU_CORES = "cpu_cores"
  HV_CPU_MASK = "cpu_mask"
  HV_CPU_SOCKETS = "cpu_sockets"
  HV_CPU_THREADS = "cpu_threads"
  HV_CPU_TYPE = "cpu_type"
  HV_CPU_WEIGHT = "cpu_weight"
  HV_DEVICE_MODEL = "device_model"
  HV_DISK_CACHE = "disk_cache"
  HV_DISK_TYPE = "disk_type"
  HV_INITRD_PATH = "initrd_path"
  HV_INIT_SCRIPT = "init_script"
  HV_KERNEL_ARGS = "kernel_args"
  HV_KERNEL_PATH = "kernel_path"
  HV_KEYMAP = "keymap"
  HV_KVM_CDROM2_IMAGE_PATH = "cdrom2_image_path"
  HV_KVM_CDROM_DISK_TYPE = "cdrom_disk_type"
  HV_KVM_EXTRA = "kvm_extra"
  HV_KVM_FLAG = "kvm_flag"
  HV_KVM_FLOPPY_IMAGE_PATH = "floppy_image_path"
  HV_KVM_MACHINE_VERSION = "machine_version"
  HV_KVM_MIGRATION_CAPS = "migration_caps"
  HV_KVM_PATH = "kvm_path"
  HV_KVM_DISK_AIO = "disk_aio"
  HV_KVM_SCSI_CONTROLLER_TYPE = "scsi_controller_type"
  HV_KVM_PCI_RESERVATIONS = "kvm_pci_reservations"
  HV_KVM_SPICE_AUDIO_COMPR = "spice_playback_compression"
  HV_KVM_SPICE_BIND = "spice_bind"
  HV_KVM_SPICE_IP_VERSION = "spice_ip_version"
  HV_KVM_SPICE_JPEG_IMG_COMPR = "spice_jpeg_wan_compression"
  HV_KVM_SPICE_LOSSLESS_IMG_COMPR = "spice_image_compression"
  HV_KVM_SPICE_PASSWORD_FILE = "spice_password_file"
  HV_KVM_SPICE_STREAMING_VIDEO_DETECTION = "spice_streaming_video"
  HV_KVM_SPICE_TLS_CIPHERS = "spice_tls_ciphers"
  HV_KVM_SPICE_USE_TLS = "spice_use_tls"
  HV_KVM_SPICE_USE_VDAGENT = "spice_use_vdagent"
  HV_KVM_SPICE_ZLIB_GLZ_IMG_COMPR = "spice_zlib_glz_wan_compress...
  HV_KVM_USE_CHROOT = "use_chroot"
  HV_KVM_USER_SHUTDOWN = "user_shutdown"
  HV_LXC_STARTUP_TIMEOUT = "startup_timeout"
  HV_LXC_EXTRA_CGROUPS = "extra_cgroups"
  HV_LXC_DEVICES = "devices"
  HV_LXC_DROP_CAPABILITIES = "drop_capabilities"
  HV_LXC_EXTRA_CONFIG = "extra_config"
  HV_LXC_NUM_TTYS = "num_ttys"
  HV_MEM_PATH = "mem_path"
  HV_MIGRATION_BANDWIDTH = "migration_bandwidth"
  HV_MIGRATION_DOWNTIME = "migration_downtime"
  HV_MIGRATION_MODE = "migration_mode"
  HV_MIGRATION_PORT = "migration_port"
  HV_NIC_TYPE = "nic_type"
  HV_PAE = "pae"
  HV_PASSTHROUGH = "pci_pass"
  HV_REBOOT_BEHAVIOR = "reboot_behavior"
  HV_ROOT_PATH = "root_path"
  HV_SECURITY_DOMAIN = "security_domain"
  HV_SECURITY_MODEL = "security_model"
  HV_SERIAL_CONSOLE = "serial_console"
  HV_SERIAL_SPEED = "serial_speed"
  HV_SOUNDHW = "soundhw"
  HV_USB_DEVICES = "usb_devices"
  HV_USB_MOUSE = "usb_mouse"
  HV_USE_BOOTLOADER = "use_bootloader"
  HV_USE_LOCALTIME = "use_localtime"
  HV_VGA = "vga"
  HV_VHOST_NET = "vhost_net"
  HV_VIRTIO_NET_QUEUES = "virtio_net_queues"
  HV_VIF_SCRIPT = "vif_script"
  HV_VIF_TYPE = "vif_type"
  HV_VIRIDIAN = "viridian"
  HV_VNC_BIND_ADDRESS = "vnc_bind_address"
  HV_VNC_PASSWORD_FILE = "vnc_password_file"
  HV_VNC_TLS = "vnc_tls"
  HV_VNC_X509 = "vnc_x509_path"
  HV_VNC_X509_VERIFY = "vnc_x509_verify"
  HV_VNET_HDR = "vnet_hdr"
  HV_XEN_CMD = "xen_cmd"
  HV_XEN_CPUID = "cpuid"
  HVS_PARAMETER_TITLES = {"acpi": "ACPI", "boot_order": "Boot_or...
  HVS_PARAMETERS = frozenset(["acpi", "blockdev_prefix", "boot_o...
  HVS_PARAMETER_TYPES = {"acpi": "bool", "blockdev_prefix": "str...
  HV_MIGRATION_ACTIVE = "active"
  HV_MIGRATION_CANCELLED = "cancelled"
  HV_MIGRATION_COMPLETED = "completed"
  HV_MIGRATION_FAILED = "failed"
  HV_MIGRATION_VALID_STATUSES = frozenset(["active", "cancelled"...
  HV_MIGRATION_FAILED_STATUSES = frozenset(["cancelled", "failed"])
  HV_KVM_MIGRATION_VALID_STATUSES = frozenset(["active", "cancel...
  HV_NODEINFO_KEY_VERSION = "hv_version"
  HVST_CPU_NODE = "cpu_node"
  HVST_CPU_TOTAL = "cpu_total"
  HVST_MEMORY_HV = "mem_hv"
  HVST_MEMORY_NODE = "mem_node"
  HVST_MEMORY_TOTAL = "mem_total"
  HVSTS_PARAMETERS = frozenset(["cpu_node", "cpu_total", "mem_hv...
  HVST_DEFAULTS = {"cpu_node": 1, "cpu_total": 1, "mem_hv": 0, "...
  HVSTS_PARAMETER_TYPES = {"cpu_node": "int", "cpu_total": "int"...
  DS_DISK_OVERHEAD = "disk_overhead"
  DS_DISK_RESERVED = "disk_reserved"
  DS_DISK_TOTAL = "disk_total"
  DS_DEFAULTS = {"disk_overhead": 0, "disk_reserved": 0, "disk_t...
  DSS_PARAMETER_TYPES = {"disk_overhead": "int", "disk_reserved"...
  DSS_PARAMETERS = frozenset(["disk_overhead", "disk_reserved", ...
  DS_VALID_TYPES = frozenset(["plain"])
  BE_ALWAYS_FAILOVER = "always_failover"
  BE_AUTO_BALANCE = "auto_balance"
  BE_MAXMEM = "maxmem"
  BE_MEMORY = "memory"
  BE_MINMEM = "minmem"
  BE_SPINDLE_USE = "spindle_use"
  BE_VCPUS = "vcpus"
  BES_PARAMETER_TYPES = {"always_failover": "bool", "auto_balanc...
  BES_PARAMETER_TITLES = {"auto_balance": "Auto_balance", "maxme...
  BES_PARAMETER_COMPAT = {"always_failover": "bool", "auto_balan...
  BES_PARAMETERS = frozenset(["always_failover", "auto_balance",...
  ISPEC_MEM_SIZE = "memory-size"
  ISPEC_CPU_COUNT = "cpu-count"
  ISPEC_DISK_COUNT = "disk-count"
  ISPEC_DISK_SIZE = "disk-size"
  ISPEC_NIC_COUNT = "nic-count"
  ISPEC_SPINDLE_USE = "spindle-use"
  ISPECS_PARAMETER_TYPES = {"cpu-count": "int", "disk-count": "i...
  ISPECS_PARAMETERS = frozenset(["cpu-count", "disk-count", "dis...
  ISPECS_MINMAX = "minmax"
  ISPECS_MAX = "max"
  ISPECS_MIN = "min"
  ISPECS_STD = "std"
  IPOLICY_DTS = "disk-templates"
  IPOLICY_VCPU_RATIO = "vcpu-ratio"
  IPOLICY_SPINDLE_RATIO = "spindle-ratio"
  ISPECS_MINMAX_KEYS = frozenset(["max", "min"])
  IPOLICY_PARAMETERS = frozenset(["spindle-ratio", "vcpu-ratio"])
  IPOLICY_ALL_KEYS = frozenset(["disk-templates", "minmax", "spi...
  ND_EXCLUSIVE_STORAGE = "exclusive_storage"
  ND_OOB_PROGRAM = "oob_program"
  ND_SPINDLE_COUNT = "spindle_count"
  ND_OVS = "ovs"
  ND_OVS_LINK = "ovs_link"
  ND_OVS_NAME = "ovs_name"
  ND_SSH_PORT = "ssh_port"
  ND_CPU_SPEED = "cpu_speed"
  NDS_PARAMETER_TYPES = {"cpu_speed": "float", "exclusive_storag...
  NDS_PARAMETERS = frozenset(["cpu_speed", "exclusive_storage", ...
  NDS_PARAMETER_TITLES = {"exclusive_storage": "ExclusiveStorage...
  LDP_ACCESS = "access"
  LDP_BARRIERS = "disabled-barriers"
  LDP_DEFAULT_METAVG = "default-metavg"
  LDP_DELAY_TARGET = "c-delay-target"
  LDP_DISK_CUSTOM = "disk-custom"
  LDP_DYNAMIC_RESYNC = "dynamic-resync"
  LDP_FILL_TARGET = "c-fill-target"
  LDP_MAX_RATE = "c-max-rate"
  LDP_MIN_RATE = "c-min-rate"
  LDP_NET_CUSTOM = "net-custom"
  LDP_NO_META_FLUSH = "disable-meta-flush"
  LDP_PLAN_AHEAD = "c-plan-ahead"
  LDP_POOL = "pool"
  LDP_PROTOCOL = "protocol"
  LDP_RESYNC_RATE = "resync-rate"
  LDP_STRIPES = "stripes"
  DISK_LD_TYPES = {"access": "string", "c-delay-target": "int", ...
  DISK_LD_PARAMETERS = frozenset(["access", "c-delay-target", "c...
  DRBD_RESYNC_RATE = "resync-rate"
  DRBD_DATA_STRIPES = "data-stripes"
  DRBD_META_STRIPES = "meta-stripes"
  DRBD_DISK_BARRIERS = "disk-barriers"
  DRBD_META_BARRIERS = "meta-barriers"
  DRBD_DEFAULT_METAVG = "metavg"
  DRBD_DISK_CUSTOM = "disk-custom"
  DRBD_NET_CUSTOM = "net-custom"
  DRBD_PROTOCOL = "protocol"
  DRBD_DYNAMIC_RESYNC = "dynamic-resync"
  DRBD_PLAN_AHEAD = "c-plan-ahead"
  DRBD_FILL_TARGET = "c-fill-target"
  DRBD_DELAY_TARGET = "c-delay-target"
  DRBD_MAX_RATE = "c-max-rate"
  DRBD_MIN_RATE = "c-min-rate"
  LV_STRIPES = "stripes"
  RBD_ACCESS = "access"
  RBD_POOL = "pool"
  DISK_DT_TYPES = {"access": "string", "c-delay-target": "int", ...
  DISK_DT_PARAMETERS = frozenset(["access", "c-delay-target", "c...
  DDP_LOCAL_IP = "local-ip"
  DDP_REMOTE_IP = "remote-ip"
  DDP_PORT = "port"
  DDP_LOCAL_MINOR = "local-minor"
  DDP_REMOTE_MINOR = "remote-minor"
  OOB_POWER_ON = "power-on"
  OOB_POWER_OFF = "power-off"
  OOB_POWER_CYCLE = "power-cycle"
  OOB_POWER_STATUS = "power-status"
  OOB_HEALTH = "health"
  OOB_COMMANDS = frozenset(["health", "power-cycle", "power-off"...
  OOB_POWER_STATUS_POWERED = "powered"
  OOB_TIMEOUT = 60
  OOB_POWER_DELAY = 2.0
  OOB_STATUS_CRITICAL = "CRITICAL"
  OOB_STATUS_OK = "OK"
  OOB_STATUS_UNKNOWN = "UNKNOWN"
  OOB_STATUS_WARNING = "WARNING"
  OOB_STATUSES = frozenset(["CRITICAL", "OK", "UNKNOWN", "WARNIN...
  PP_DEFAULT = "default"
  NIC_LINK = "link"
  NIC_MODE = "mode"
  NIC_VLAN = "vlan"
  NICS_PARAMETER_TYPES = {"link": "string", "mode": "string", "v...
  NICS_PARAMETERS = frozenset(["link", "mode", "vlan"])
  NIC_MODE_BRIDGED = "bridged"
  NIC_MODE_ROUTED = "routed"
  NIC_MODE_OVS = "openvswitch"
  NIC_IP_POOL = "pool"
  NIC_VALID_MODES = frozenset(["bridged", "openvswitch", "pool",...
  RELEASE_ACTION = "release"
  RESERVE_ACTION = "reserve"
  IDISK_ADOPT = "adopt"
  IDISK_METAVG = "metavg"
  IDISK_MODE = "mode"
  IDISK_NAME = "name"
  IDISK_SIZE = "size"
  IDISK_SPINDLES = "spindles"
  IDISK_VG = "vg"
  IDISK_PROVIDER = "provider"
  IDISK_ACCESS = "access"
  IDISK_TYPE = "dev_type"
  IDISK_PARAMS_TYPES = {"access": "string", "adopt": "string", "...
  IDISK_PARAMS = frozenset(["access", "adopt", "dev_type", "meta...
  MODIFIABLE_IDISK_PARAMS_TYPES = {"mode": "string", "name": "st...
  MODIFIABLE_IDISK_PARAMS = frozenset(["mode", "name"])
  INIC_BRIDGE = "bridge"
  INIC_IP = "ip"
  INIC_LINK = "link"
  INIC_MAC = "mac"
  INIC_MODE = "mode"
  INIC_NAME = "name"
  INIC_NETWORK = "network"
  INIC_VLAN = "vlan"
  INIC_PARAMS_TYPES = {"bridge": "maybe-string", "ip": "maybe-st...
  INIC_PARAMS = frozenset(["bridge", "ip", "link", "mac", "mode"...
  HT_XEN_PVM = "xen-pvm"
  HT_FAKE = "fake"
  HT_XEN_HVM = "xen-hvm"
  HT_KVM = "kvm"
  HT_CHROOT = "chroot"
  HT_LXC = "lxc"
  HYPER_TYPES = frozenset(["chroot", "fake", "kvm", "lxc", "xen-...
  HTS_REQ_PORT = frozenset(["kvm", "xen-hvm"])
  VNC_BASE_PORT = 5900
  VNC_DEFAULT_BIND_ADDRESS = "0.0.0.0"
  QEMU_PCI_SLOTS = 32
  QEMU_DEFAULT_PCI_RESERVATIONS = 12
  HT_NIC_E1000 = "e1000"
  HT_NIC_I82551 = "i82551"
  HT_NIC_I8259ER = "i82559er"
  HT_NIC_I85557B = "i82557b"
  HT_NIC_NE2K_ISA = "ne2k_isa"
  HT_NIC_NE2K_PCI = "ne2k_pci"
  HT_NIC_PARAVIRTUAL = "paravirtual"
  HT_NIC_PCNET = "pcnet"
  HT_NIC_RTL8139 = "rtl8139"
  HT_HVM_VALID_NIC_TYPES = frozenset(["e1000", "ne2k_isa", "ne2k...
  HT_KVM_VALID_NIC_TYPES = frozenset(["e1000", "i82551", "i82557...
  HT_HVM_VIF_IOEMU = "ioemu"
  HT_HVM_VIF_VIF = "vif"
  HT_HVM_VALID_VIF_TYPES = frozenset(["ioemu", "vif"])
  HT_DISK_IDE = "ide"
  HT_DISK_IOEMU = "ioemu"
  HT_DISK_MTD = "mtd"
  HT_DISK_PARAVIRTUAL = "paravirtual"
  HT_DISK_PFLASH = "pflash"
  HT_DISK_SCSI = "scsi"
  HT_DISK_SD = "sd"
  HT_DISK_SCSI_GENERIC = "scsi-generic"
  HT_DISK_SCSI_BLOCK = "scsi-block"
  HT_DISK_SCSI_CD = "scsi-cd"
  HT_DISK_SCSI_HD = "scsi-hd"
  HT_SCSI_DEVICE_TYPES = frozenset(["scsi-block", "scsi-cd", "sc...
  HT_HVM_VALID_DISK_TYPES = frozenset(["ioemu", "paravirtual"])
  HT_KVM_VALID_DISK_TYPES = frozenset(["ide", "mtd", "paravirtua...
  HT_SCSI_CONTROLLER_LSI = "lsi"
  HT_SCSI_CONTROLLER_VIRTIO = "virtio-scsi-pci"
  HT_SCSI_CONTROLLER_MEGASAS = "megasas"
  HT_KVM_VALID_SCSI_CONTROLLER_TYPES = frozenset(["lsi", "megasa...
  HT_CACHE_DEFAULT = "default"
  HT_CACHE_NONE = "none"
  HT_CACHE_WBACK = "writeback"
  HT_CACHE_WTHROUGH = "writethrough"
  HT_VALID_CACHE_TYPES = frozenset(["default", "none", "writebac...
  HT_KVM_AIO_THREADS = "threads"
  HT_KVM_AIO_NATIVE = "native"
  HT_KVM_VALID_AIO_TYPES = frozenset(["native", "threads"])
  HT_MOUSE_MOUSE = "mouse"
  HT_MOUSE_TABLET = "tablet"
  HT_KVM_VALID_MOUSE_TYPES = frozenset(["mouse", "tablet"])
  HT_BO_CDROM = "cdrom"
  HT_BO_DISK = "disk"
  HT_BO_FLOPPY = "floppy"
  HT_BO_NETWORK = "network"
  HT_KVM_VALID_BO_TYPES = frozenset(["cdrom", "disk", "floppy", ...
  HT_KVM_SPICE_LOSSLESS_IMG_COMPR_AUTO_GLZ = "auto_glz"
  HT_KVM_SPICE_LOSSLESS_IMG_COMPR_AUTO_LZ = "auto_lz"
  HT_KVM_SPICE_LOSSLESS_IMG_COMPR_GLZ = "glz"
  HT_KVM_SPICE_LOSSLESS_IMG_COMPR_LZ = "lz"
  HT_KVM_SPICE_LOSSLESS_IMG_COMPR_OFF = "off"
  HT_KVM_SPICE_LOSSLESS_IMG_COMPR_QUIC = "quic"
  HT_KVM_SPICE_VALID_LOSSLESS_IMG_COMPR_OPTIONS = frozenset(["au...
  HT_KVM_SPICE_LOSSY_IMG_COMPR_ALWAYS = "always"
  HT_KVM_SPICE_LOSSY_IMG_COMPR_AUTO = "auto"
  HT_KVM_SPICE_LOSSY_IMG_COMPR_NEVER = "never"
  HT_KVM_SPICE_VALID_LOSSY_IMG_COMPR_OPTIONS = frozenset(["alway...
  HT_KVM_SPICE_VIDEO_STREAM_DETECTION_ALL = "all"
  HT_KVM_SPICE_VIDEO_STREAM_DETECTION_FILTER = "filter"
  HT_KVM_SPICE_VIDEO_STREAM_DETECTION_OFF = "off"
  HT_KVM_SPICE_VALID_VIDEO_STREAM_DETECTION_OPTIONS = frozenset(...
  HT_SM_NONE = "none"
  HT_SM_POOL = "pool"
  HT_SM_USER = "user"
  HT_KVM_VALID_SM_TYPES = frozenset(["none", "pool", "user"])
  HT_KVM_DISABLED = "disabled"
  HT_KVM_ENABLED = "enabled"
  HT_KVM_FLAG_VALUES = frozenset(["disabled", "enabled"])
  HT_MIGRATION_LIVE = "live"
  HT_MIGRATION_NONLIVE = "non-live"
  HT_MIGRATION_MODES = frozenset(["live", "non-live"])
  VERIFY_NPLUSONE_MEM = "nplusone_mem"
  VERIFY_OPTIONAL_CHECKS = frozenset(["nplusone_mem"])
  CV_TCLUSTER = "cluster"
  CV_TGROUP = "group"
  CV_TNODE = "node"
  CV_TINSTANCE = "instance"
  CV_WARNING = "WARNING"
  CV_ERROR = "ERROR"
  CV_ECLUSTERCERT = "cluster", "ECLUSTERCERT", "Cluster certific...
  CV_ECLUSTERCLIENTCERT = "cluster", "ECLUSTERCLIENTCERT", "Clus...
  CV_ECLUSTERCFG = "cluster", "ECLUSTERCFG", "Cluster configurat...
  CV_ECLUSTERDANGLINGINST = "node", "ECLUSTERDANGLINGINST", "Som...
  CV_ECLUSTERDANGLINGNODES = "node", "ECLUSTERDANGLINGNODES", "S...
  CV_ECLUSTERFILECHECK = "cluster", "ECLUSTERFILECHECK", "Cluste...
  CV_EGROUPDIFFERENTPVSIZE = "group", "EGROUPDIFFERENTPVSIZE", "...
  CV_EINSTANCEBADNODE = "instance", "EINSTANCEBADNODE", "Instanc...
  CV_EINSTANCEDOWN = "instance", "EINSTANCEDOWN", "Instance not ...
  CV_EINSTANCEFAULTYDISK = "instance", "EINSTANCEFAULTYDISK", "I...
  CV_EINSTANCELAYOUT = "instance", "EINSTANCELAYOUT", "Instance ...
  CV_EINSTANCEMISSINGCFGPARAMETER = "instance", "EINSTANCEMISSIN...
  CV_EINSTANCEMISSINGDISK = "instance", "EINSTANCEMISSINGDISK", ...
  CV_EINSTANCEPOLICY = "instance", "EINSTANCEPOLICY", "Instance ...
  CV_EINSTANCESPLITGROUPS = "instance", "EINSTANCESPLITGROUPS", ...
  CV_EINSTANCEUNSUITABLENODE = "instance", "EINSTANCEUNSUITABLEN...
  CV_EINSTANCEWRONGNODE = "instance", "EINSTANCEWRONGNODE", "Ins...
  CV_ENODEDRBD = "node", "ENODEDRBD", "Error parsing the DRBD st...
  CV_ENODEDRBDHELPER = "node", "ENODEDRBDHELPER", "Error caused ...
  CV_ENODEDRBDVERSION = "node", "ENODEDRBDVERSION", "DRBD versio...
  CV_ENODEFILECHECK = "node", "ENODEFILECHECK", "Error retrievin...
  CV_ENODEFILESTORAGEPATHS = "node", "ENODEFILESTORAGEPATHS", "D...
  CV_ENODEFILESTORAGEPATHUNUSABLE = "node", "ENODEFILESTORAGEPAT...
  CV_ENODEHOOKS = "node", "ENODEHOOKS", "Communication failure i...
  CV_ENODEHV = "node", "ENODEHV", "Hypervisor parameters verific...
  CV_ENODELVM = "node", "ENODELVM", "LVM-related node error"
  CV_ENODEN1 = "node", "ENODEN1", "Not enough memory to accommod...
  CV_EEXTAGS = "node", "EEXTAGS", "Instances with same exclusion...
  CV_ENODENET = "node", "ENODENET", "Network-related node error"
  CV_ENODEOOBPATH = "node", "ENODEOOBPATH", "Invalid Out Of Band...
  CV_ENODEORPHANINSTANCE = "node", "ENODEORPHANINSTANCE", "Unkno...
  CV_ENODEORPHANLV = "node", "ENODEORPHANLV", "Unknown LVM logic...
  CV_ENODEOS = "node", "ENODEOS", "OS-related node error"
  CV_ENODERPC = "node", "ENODERPC", "Error during connection to ...
  CV_ENODESETUP = "node", "ENODESETUP", "Node setup error"
  CV_ENODESHAREDFILESTORAGEPATHUNUSABLE = "node", "ENODESHAREDFI...
  CV_ENODEGLUSTERSTORAGEPATHUNUSABLE = "node", "ENODEGLUSTERSTOR...
  CV_ENODESSH = "node", "ENODESSH", "SSH-related node error"
  CV_ENODETIME = "node", "ENODETIME", "Node returned invalid time"
  CV_ENODEUSERSCRIPTS = "node", "ENODEUSERSCRIPTS", "User script...
  CV_ENODEVERSION = "node", "ENODEVERSION", "Protocol version mi...
  CV_ALL_ECODES = frozenset([("cluster", "ECLUSTERCERT", "Cluste...
  CV_ALL_ECODES_STRINGS = frozenset(["ECLUSTERCERT", "ECLUSTERCF...
  NV_BRIDGES = "bridges"
  NV_CLIENT_CERT = "client-cert"
  NV_DRBDHELPER = "drbd-helper"
  NV_DRBDVERSION = "drbd-version"
  NV_DRBDLIST = "drbd-list"
  NV_EXCLUSIVEPVS = "exclusive-pvs"
  NV_FILELIST = "filelist"
  NV_ACCEPTED_STORAGE_PATHS = "allowed-file-storage-paths"
  NV_FILE_STORAGE_PATH = "file-storage-path"
  NV_SHARED_FILE_STORAGE_PATH = "shared-file-storage-path"
  NV_GLUSTER_STORAGE_PATH = "gluster-storage-path"
  NV_HVINFO = "hvinfo"
  NV_HVPARAMS = "hvparms"
  NV_HYPERVISOR = "hypervisor"
  NV_INSTANCELIST = "instancelist"
  NV_LVLIST = "lvlist"
  NV_MASTERIP = "master-ip"
  NV_NODELIST = "nodelist"
  NV_NODENETTEST = "node-net-test"
  NV_NODESETUP = "nodesetup"
  NV_OOB_PATHS = "oob-paths"
  NV_OSLIST = "oslist"
  NV_PVLIST = "pvlist"
  NV_TIME = "time"
  NV_USERSCRIPTS = "user-scripts"
  NV_VERSION = "version"
  NV_VGLIST = "vglist"
  NV_NONVMNODES = "nonvmnodes"
  NV_SSH_SETUP = "ssh-setup"
  NV_SSH_CLUTTER = "ssh-clutter"
  INSTST_ADMINDOWN = "ADMIN_down"
  INSTST_ADMINOFFLINE = "ADMIN_offline"
  INSTST_ERRORDOWN = "ERROR_down"
  INSTST_ERRORUP = "ERROR_up"
  INSTST_NODEDOWN = "ERROR_nodedown"
  INSTST_NODEOFFLINE = "ERROR_nodeoffline"
  INSTST_RUNNING = "running"
  INSTST_USERDOWN = "USER_down"
  INSTST_WRONGNODE = "ERROR_wrongnode"
  INSTST_ALL = frozenset(["ADMIN_down", "ADMIN_offline", "ERROR_...
  ADMINST_DOWN = "down"
  ADMINST_OFFLINE = "offline"
  ADMINST_UP = "up"
  ADMINST_ALL = frozenset(["down", "offline", "up"])
  ADMIN_SOURCE = "admin"
  USER_SOURCE = "user"
  ADMIN_STATE_SOURCES = frozenset(["admin", "user"])
  NR_DRAINED = "D"
  NR_MASTER = "M"
  NR_MCANDIDATE = "C"
  NR_OFFLINE = "O"
  NR_REGULAR = "R"
  NR_ALL = frozenset(["C", "D", "M", "O", "R"])
  SSL_CERT_EXPIRATION_ERROR = 7
  SSL_CERT_EXPIRATION_WARN = 30
  IALLOCATOR_VERSION = 2
  IALLOCATOR_DIR_IN = "in"
  IALLOCATOR_DIR_OUT = "out"
  VALID_IALLOCATOR_DIRECTIONS = frozenset(["in", "out"])
  IALLOCATOR_MODE_ALLOC = "allocate"
  IALLOCATOR_MODE_ALLOCATE_SECONDARY = "allocate-secondary"
  IALLOCATOR_MODE_CHG_GROUP = "change-group"
  IALLOCATOR_MODE_MULTI_ALLOC = "multi-allocate"
  IALLOCATOR_MODE_NODE_EVAC = "node-evacuate"
  IALLOCATOR_MODE_RELOC = "relocate"
  VALID_IALLOCATOR_MODES = frozenset(["allocate", "allocate-seco...
  IALLOCATOR_SEARCH_PATH = ["/usr/lib/ganeti/iallocators"]
  DEFAULT_IALLOCATOR_SHORTCUT = "."
  DEFAULT_OPPORTUNISTIC_RETRY_INTERVAL = 30
  NODE_EVAC_PRI = "primary-only"
  NODE_EVAC_SEC = "secondary-only"
  NODE_EVAC_ALL = "all"
  NODE_EVAC_MODES = frozenset(["all", "primary-only", "secondary...
  JOB_QUEUE_VERSION = 1
  JOB_QUEUE_SIZE_HARD_LIMIT = 5000
  JOB_QUEUE_FILES_PERMS = 416
  JOB_NOTCHANGED = "nochange"
  JOB_STATUS_QUEUED = "queued"
  JOB_STATUS_WAITING = "waiting"
  JOB_STATUS_CANCELING = "canceling"
  JOB_STATUS_RUNNING = "running"
  JOB_STATUS_CANCELED = "canceled"
  JOB_STATUS_SUCCESS = "success"
  JOB_STATUS_ERROR = "error"
  JOBS_PENDING = frozenset(["canceling", "queued", "waiting"])
  JOBS_FINALIZED = frozenset(["canceled", "error", "success"])
  JOB_STATUS_ALL = frozenset(["canceled", "canceling", "error", ...
  OP_STATUS_CANCELING = "canceling"
  OP_STATUS_QUEUED = "queued"
  OP_STATUS_RUNNING = "running"
  OP_STATUS_WAITING = "waiting"
  OP_STATUS_CANCELED = "canceled"
  OP_STATUS_ERROR = "error"
  OP_STATUS_SUCCESS = "success"
  OPS_FINALIZED = frozenset(["canceled", "error", "success"])
  OP_PRIO_LOWEST = 19
  OP_PRIO_HIGHEST = -20
  OP_PRIO_LOW = 10
  OP_PRIO_NORMAL = 0
  OP_PRIO_HIGH = -10
  OP_PRIO_SUBMIT_VALID = frozenset([-10, 0, 10])
  OP_PRIO_DEFAULT = 0
  LOCKS_APPEND = "append"
  LOCKS_REPLACE = "replace"
  LOCK_ATTEMPTS_MAXWAIT = 75.0
  LOCK_ATTEMPTS_MINWAIT = 5.0
  LOCK_ATTEMPTS_TIMEOUT = 1800
  ELOG_MESSAGE = "message"
  ELOG_REMOTE_IMPORT = "remote-import"
  ELOG_JQUEUE_TEST = "jqueue-test"
  ELOG_DELAY_TEST = "delay-test"
  ETC_HOSTS_ADD = "add"
  ETC_HOSTS_REMOVE = "remove"
  JQT_MSGPREFIX = "TESTMSG="
  JQT_EXEC = "exec"
  JQT_EXPANDNAMES = "expandnames"
  JQT_LOGMSG = "logmsg"
  JQT_STARTMSG = "startmsg"
  JQT_ALL = frozenset(["exec", "expandnames", "logmsg", "startms...
  QR_CLUSTER = "cluster"
  QR_EXPORT = "export"
  QR_EXTSTORAGE = "extstorage"
  QR_GROUP = "group"
  QR_INSTANCE = "instance"
  QR_JOB = "job"
  QR_LOCK = "lock"
  QR_NETWORK = "network"
  QR_FILTER = "filter"
  QR_NODE = "node"
  QR_OS = "os"
  QR_VIA_OP = frozenset(["cluster", "extstorage", "os"])
  QR_VIA_LUXI = frozenset(["export", "filter", "group", "instanc...
  QR_VIA_RAPI = frozenset(["export", "filter", "group", "instanc...
  QR_VIA_RAPI_PUT = frozenset(["filter", "job", "lock"])
  QFT_BOOL = "bool"
  QFT_NUMBER = "number"
  QFT_NUMBER_FLOAT = "float"
  QFT_OTHER = "other"
  QFT_TEXT = "text"
  QFT_TIMESTAMP = "timestamp"
  QFT_UNIT = "unit"
  QFT_UNKNOWN = "unknown"
  QFT_ALL = frozenset(["bool", "float", "number", "other", "text...
  RS_NODATA = 2
  RS_NORMAL = 0
  RS_OFFLINE = 4
  RS_UNAVAIL = 3
  RS_UNKNOWN = 1
  RS_ALL = frozenset([0, 1, 2, 3, 4])
  RSS_DESCRIPTION = {1:("(unknown)", "??"), 2:("(nodata)", "?"),...
  MAX_DISKS = 16
  MAX_NICS = 8
  SSCONF_FILEPREFIX = "ssconf_"
  SS_CLUSTER_NAME = "cluster_name"
  SS_CLUSTER_TAGS = "cluster_tags"
  SS_FILE_STORAGE_DIR = "file_storage_dir"
  SS_SHARED_FILE_STORAGE_DIR = "shared_file_storage_dir"
  SS_GLUSTER_STORAGE_DIR = "gluster_storage_dir"
  SS_MASTER_CANDIDATES = "master_candidates"
  SS_MASTER_CANDIDATES_IPS = "master_candidates_ips"
  SS_MASTER_CANDIDATES_CERTS = "master_candidates_certs"
  SS_MASTER_IP = "master_ip"
  SS_MASTER_NETDEV = "master_netdev"
  SS_MASTER_NETMASK = "master_netmask"
  SS_MASTER_NODE = "master_node"
  SS_NODE_LIST = "node_list"
  SS_NODE_PRIMARY_IPS = "node_primary_ips"
  SS_NODE_SECONDARY_IPS = "node_secondary_ips"
  SS_NODE_VM_CAPABLE = "node_vm_capable"
  SS_OFFLINE_NODES = "offline_nodes"
  SS_ONLINE_NODES = "online_nodes"
  SS_PRIMARY_IP_FAMILY = "primary_ip_family"
  SS_INSTANCE_LIST = "instance_list"
  SS_RELEASE_VERSION = "release_version"
  SS_HYPERVISOR_LIST = "hypervisor_list"
  SS_MAINTAIN_NODE_HEALTH = "maintain_node_health"
  SS_UID_POOL = "uid_pool"
  SS_NODEGROUPS = "nodegroups"
  SS_NETWORKS = "networks"
  SS_HVPARAMS_PREF = "hvparams_"
  SS_HVPARAMS_XEN_CHROOT = "hvparams_chroot"
  SS_HVPARAMS_XEN_FAKE = "hvparams_fake"
  SS_HVPARAMS_XEN_HVM = "hvparams_xen-hvm"
  SS_HVPARAMS_XEN_KVM = "hvparams_kvm"
  SS_HVPARAMS_XEN_LXC = "hvparams_lxc"
  SS_HVPARAMS_XEN_PVM = "hvparams_xen-pvm"
  VALID_SS_HVPARAMS_KEYS = frozenset(["hvparams_chroot", "hvpara...
  SS_FILE_PERMS = 292
  SS_ENABLED_USER_SHUTDOWN = "enabled_user_shutdown"
  SS_SSH_PORTS = "ssh_ports"
  VALID_SS_KEYS = frozenset(["cluster_name", "cluster_tags", "en...
  DEFAULT_ENABLED_HYPERVISOR = "xen-pvm"
  HVC_DEFAULTS = {"kvm": {"acpi": True, "boot_order": "disk", "c...
  HVC_GLOBALS = frozenset(["migration_bandwidth", "migration_mod...
  BEC_DEFAULTS = {"always_failover": False, "auto_balance": True...
  NDC_DEFAULTS = {"cpu_speed": 1.0, "exclusive_storage": False, ...
  NDC_GLOBALS = frozenset(["exclusive_storage"])
  DEFAULT_DELAY_TARGET = 1
  DEFAULT_DISK_CUSTOM = ""
  DEFAULT_DISK_RESYNC = False
  DEFAULT_FILL_TARGET = 0
  DEFAULT_MIN_RATE = 4096
  DEFAULT_NET_CUSTOM = ""
  DEFAULT_PLAN_AHEAD = 20
  DEFAULT_RBD_POOL = "rbd"
  DISK_LD_DEFAULTS = {"file": {}, "sharedfile": {}, "plain": {"s...
  DISK_DT_DEFAULTS = {"diskless": {}, "file": {}, "sharedfile": ...
  NICC_DEFAULTS = {"link": "xen-br0", "mode": "bridged", "vlan":...
  ISPECS_MINMAX_DEFAULTS = {"max": {"cpu-count": 8, "disk-count"...
  IPOLICY_DEFAULTS = {"disk-templates": ["blockdev", "diskless",...
  MASTER_POOL_SIZE_DEFAULT = 10
  PART_MARGIN = 1.0e-2
  PART_RESERVED = 2.0e-2
  LUXID_JOBQUEUE_POLL_INTERVAL = 307
  LUXID_MAXIMAL_RUNNING_JOBS_DEFAULT = 20
  LUXID_MAXIMAL_TRACKED_JOBS_DEFAULT = 25
  LUXID_RETRY_FORK_COUNT = 5
  LUXID_RETRY_FORK_STEP_U_S = 500000
  LUXID_JOB_DEATH_DETECTION_RETRIES = 3
  LUXID_JOB_DEATH_DELAY = 100000
  WCONFD_DEATHDETECTION_INTERVALL = 311
  WCONFD_DEF_CTMO = 10
  WCONFD_DEF_RWTO = 60
  WCONF_LIVELOCK_PREFIX = "wconf-daemon"
  CONFD_PROTOCOL_VERSION = 1
  CONFD_REQ_PING = 0
  CONFD_REQ_NODE_ROLE_BYNAME = 1
  CONFD_REQ_NODE_PIP_BY_INSTANCE_IP = 2
  CONFD_REQ_CLUSTER_MASTER = 3
  CONFD_REQ_NODE_PIP_LIST = 4
  CONFD_REQ_MC_PIP_LIST = 5
  CONFD_REQ_INSTANCES_IPS_LIST = 6
  CONFD_REQ_NODE_DRBD = 7
  CONFD_REQ_NODE_INSTANCES = 8
  CONFD_REQ_INSTANCE_DISKS = 9
  CONFD_REQ_CONFIG_QUERY = 10
  CONFD_REQ_DATA_COLLECTORS = 11
  CONFD_REQS = frozenset([0, 1, 2, 3, 4, 5, 6, 7, 9, 10, 11])
  CONFD_REQFIELD_NAME = 0
  CONFD_REQFIELD_IP = 1
  CONFD_REQFIELD_MNODE_PIP = 2
  CONFD_REPL_STATUS_OK = 0
  CONFD_REPL_STATUS_ERROR = 1
  CONFD_REPL_STATUS_NOTIMPLEMENTED = 2
  CONFD_REPL_STATUSES = frozenset([0, 1, 2])
  CONFD_NODE_ROLE_MASTER = 0
  CONFD_NODE_ROLE_CANDIDATE = 1
  CONFD_NODE_ROLE_OFFLINE = 2
  CONFD_NODE_ROLE_DRAINED = 3
  CONFD_NODE_ROLE_REGULAR = 4
  CONFD_ERROR_UNKNOWN_ENTRY = 0
  CONFD_ERROR_INTERNAL = 1
  CONFD_ERROR_ARGUMENT = 2
  CONFD_REQQ_LINK = "0"
  CONFD_REQQ_IP = "1"
  CONFD_REQQ_IPLIST = "2"
  CONFD_REQQ_FIELDS = "3"
  CONFD_MAX_CLOCK_SKEW = 300
  CONFD_CONFIG_RELOAD_TIMEOUT = 17
  CONFD_CONFIG_RELOAD_RATELIMIT = 250000
  CONFD_MAGIC_FOURCC = "plj0"
  CONFD_DEFAULT_REQ_COVERAGE = 6
  CONFD_CLIENT_EXPIRE_TIMEOUT = 10
  MAX_UDP_DATA_SIZE = 61440
  UIDPOOL_UID_MIN = 0
  UIDPOOL_UID_MAX = 4294967295
  PGREP = "pgrep"
  INITIAL_NODE_GROUP_NAME = "default"
  ALLOC_POLICY_LAST_RESORT = "last_resort"
  ALLOC_POLICY_PREFERRED = "preferred"
  ALLOC_POLICY_UNALLOCABLE = "unallocable"
  VALID_ALLOC_POLICIES = ["preferred", "last_resort", "unallocab...
  BLOCKDEV_DRIVER_MANUAL = "manual"
  QEMUIMG_PATH = "/usr/bin/qemu-img"
  IALLOC_HAIL = "hail"
  FAKE_OP_MASTER_TURNDOWN = "OP_CLUSTER_IP_TURNDOWN"
  FAKE_OP_MASTER_TURNUP = "OP_CLUSTER_IP_TURNUP"
  CRYPTO_TYPE_SSL_DIGEST = "ssl"
  CRYPTO_TYPE_SSH = "ssh"
  CRYPTO_TYPES = frozenset(["ssl"])
  CRYPTO_ACTION_GET = "get"
  CRYPTO_ACTION_CREATE = "create"
  CRYPTO_ACTION_DELETE = "delete"
  CRYPTO_ACTIONS = frozenset(["create", "delete", "get"])
  CRYPTO_BOOTSTRAP = "bootstrap"
  CRYPTO_OPTION_CERT_FILE = "cert_file"
  CRYPTO_OPTION_SERIAL_NO = "serial_no"
  SSHK_DSA = "dsa"
  SSHK_ECDSA = "ecdsa"
  SSHK_RSA = "rsa"
  SSHK_ALL = frozenset(["dsa", "ecdsa", "rsa"])
  SSHAK_DSS = "ssh-dss"
  SSHAK_RSA = "ssh-rsa"
  SSHAK_ALL = frozenset(["ssh-dss", "ssh-rsa"])
  SSH_DEFAULT_KEY_TYPE = "rsa"
  SSH_DEFAULT_KEY_BITS = 2048
  SSHS_CLUSTER_NAME = "cluster_name"
  SSHS_SSH_HOST_KEY = "ssh_host_key"
  SSHS_SSH_ROOT_KEY = "ssh_root_key"
  SSHS_SSH_AUTHORIZED_KEYS = "authorized_keys"
  SSHS_SSH_PUBLIC_KEYS = "public_keys"
  SSHS_NODE_DAEMON_CERTIFICATE = "node_daemon_certificate"
  SSHS_SSH_KEY_TYPE = "ssh_key_type"
  SSHS_SSH_KEY_BITS = "ssh_key_bits"
  SSHS_MAX_RETRIES = 3
  SSHS_ADD = "add"
  SSHS_REPLACE_OR_ADD = "replace_or_add"
  SSHS_REMOVE = "remove"
  SSHS_OVERRIDE = "override"
  SSHS_CLEAR = "clear"
  SSHS_GENERATE = "generate"
  SSHS_SUFFIX = "suffix"
  SSHS_MASTER_SUFFIX = "_master_tmp"
  SSHS_ACTIONS = frozenset(["add", "clear", "override", "remove"...
  SSH_HOST_DSA_PRIV = "/etc/ssh/ssh_host_dsa_key"
  SSH_HOST_DSA_PUB = "/etc/ssh/ssh_host_dsa_key.pub"
  SSH_HOST_ECDSA_PRIV = "/etc/ssh/ssh_host_ecdsa_key"
  SSH_HOST_ECDSA_PUB = "/etc/ssh/ssh_host_ecdsa_key.pub"
  SSH_HOST_RSA_PRIV = "/etc/ssh/ssh_host_rsa_key"
  SSH_HOST_RSA_PUB = "/etc/ssh/ssh_host_rsa_key.pub"
  SSH_DAEMON_KEYFILES = {"dsa":("/etc/ssh/ssh_host_dsa_key", "/e...
  NDS_CLUSTER_NAME = "cluster_name"
  NDS_NODE_DAEMON_CERTIFICATE = "node_daemon_certificate"
  NDS_SSCONF = "ssconf"
  NDS_START_NODE_DAEMON = "start_node_daemon"
  NDS_NODE_NAME = "node_name"
  NDS_ACTION = "action"
  V_CLUSTER_ETC_HOSTS = "/etc/hosts"
  V_CLUSTER_VIRT_PATH_PREFIX = "/###-VIRTUAL-PATH-###,"
  V_CLUSTER_ROOTDIR_ENVNAME = "GANETI_ROOTDIR"
  V_CLUSTER_HOSTNAME_ENVNAME = "GANETI_HOSTNAME"
  V_CLUSTER_VPATH_WHITELIST = frozenset(["/etc/hosts"])
  OPCODE_REASON_SRC_CLIENT = "gnt:client"
  _OPCODE_REASON_SRC_DAEMON = "gnt:daemon"
  _OPCODE_REASON_SRC_MASTERD = "gnt:daemon:masterd"
  OPCODE_REASON_SRC_NODED = "gnt:daemon:noded"
  OPCODE_REASON_SRC_OPCODE = "gnt:opcode"
  OPCODE_REASON_SRC_PICKUP = "gnt:daemon:masterd:pickup"
  OPCODE_REASON_SRC_WATCHER = "gnt:watcher"
  OPCODE_REASON_SRC_RLIB2 = "gnt:library:rlib2"
  OPCODE_REASON_SRC_USER = "gnt:user"
  OPCODE_REASON_SOURCES = frozenset(["gnt:client", "gnt:daemon:m...
  RANDOM_UUID_FILE = "/proc/sys/kernel/random/uuid"
  AUTO_REPAIR_FAILOVER = "failover"
  AUTO_REPAIR_FIX_STORAGE = "fix-storage"
  AUTO_REPAIR_MIGRATE = "migrate"
  AUTO_REPAIR_REINSTALL = "reinstall"
  AUTO_REPAIR_ALL_TYPES = frozenset(["failover", "fix-storage", ...
  AUTO_REPAIR_ENOPERM = "enoperm"
  AUTO_REPAIR_FAILURE = "failure"
  AUTO_REPAIR_SUCCESS = "success"
  AUTO_REPAIR_ALL_RESULTS = frozenset(["enoperm", "failure", "su...
  BUILTIN_DATA_COLLECTOR_VERSION = "B"
  OPCODE_REASON = "reason"
  OPCODE_SEQUENTIAL = "sequential"
  DISKSTATS_FILE = "/proc/diskstats"
  STAT_FILE = "/proc/stat"
  CPUAVGLOAD_BUFFER_SIZE = 150
  CPUAVGLOAD_WINDOW_SIZE = 600
  XENTOP_COMMAND = "xentop"
  XENTOP_AVERAGE_THRESHOLD = 100
  MOND_TIME_INTERVAL = 5
  MOND_CONFIG_TIME_INTERVAL = 15
  MOND_LATEST_API_VERSION = 1
  MOND_DEFAULT_CATEGORY = "default"
  DISK_USERSPACE = "userspace"
  DISK_KERNELSPACE = "kernelspace"
  DISK_VALID_ACCESS_MODES = frozenset(["kernelspace", "userspace"])
  UPGRADE_QUEUE_DRAIN_TIMEOUT = 129600
  UPGRADE_QUEUE_POLL_INTERVAL = 10
  HOTPLUG_ACTION_ADD = "hotadd"
  HOTPLUG_ACTION_REMOVE = "hotremove"
  HOTPLUG_ACTION_MODIFY = "hotmod"
  HOTPLUG_ALL_ACTIONS = frozenset(["hotadd", "hotmod", "hotremov...
  HOTPLUG_TARGET_NIC = "nic"
  HOTPLUG_TARGET_DISK = "disk"
  HOTPLUG_ALL_TARGETS = frozenset(["disk", "nic"])
  DISK_REMOVE_RETRY_TIMEOUT = 30
  DISK_REMOVE_RETRY_INTERVAL = 3
  UUID_REGEX = "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}...
  LUXI_SOCKET_PERMS = 432
  LUXI_KEY_METHOD = "method"
  LUXI_KEY_ARGS = "args"
  LUXI_KEY_SUCCESS = "success"
  LUXI_KEY_RESULT = "result"
  LUXI_KEY_VERSION = "version"
  LUXI_REQ_SUBMIT_JOB = "SubmitJob"
  LUXI_REQ_SUBMIT_JOB_TO_DRAINED_QUEUE = "SubmitJobToDrainedQueue"
  LUXI_REQ_SUBMIT_MANY_JOBS = "SubmitManyJobs"
  LUXI_REQ_WAIT_FOR_JOB_CHANGE = "WaitForJobChange"
  LUXI_REQ_PICKUP_JOB = "PickupJob"
  LUXI_REQ_CANCEL_JOB = "CancelJob"
  LUXI_REQ_ARCHIVE_JOB = "ArchiveJob"
  LUXI_REQ_CHANGE_JOB_PRIORITY = "ChangeJobPriority"
  LUXI_REQ_AUTO_ARCHIVE_JOBS = "AutoArchiveJobs"
  LUXI_REQ_QUERY = "Query"
  LUXI_REQ_QUERY_FIELDS = "QueryFields"
  LUXI_REQ_QUERY_JOBS = "QueryJobs"
  LUXI_REQ_QUERY_FILTERS = "QueryFilters"
  LUXI_REQ_REPLACE_FILTER = "ReplaceFilter"
  LUXI_REQ_DELETE_FILTER = "DeleteFilter"
  LUXI_REQ_QUERY_INSTANCES = "QueryInstances"
  LUXI_REQ_QUERY_NODES = "QueryNodes"
  LUXI_REQ_QUERY_GROUPS = "QueryGroups"
  LUXI_REQ_QUERY_NETWORKS = "QueryNetworks"
  LUXI_REQ_QUERY_EXPORTS = "QueryExports"
  LUXI_REQ_QUERY_CONFIG_VALUES = "QueryConfigValues"
  LUXI_REQ_QUERY_CLUSTER_INFO = "QueryClusterInfo"
  LUXI_REQ_QUERY_TAGS = "QueryTags"
  LUXI_REQ_SET_DRAIN_FLAG = "SetDrainFlag"
  LUXI_REQ_SET_WATCHER_PAUSE = "SetWatcherPause"
  LUXI_REQ_ALL = frozenset(["ArchiveJob", "AutoArchiveJobs", "Ca...
  LUXI_DEF_CTMO = 30
  LUXI_DEF_RWTO = 180
  LUXI_WFJC_TIMEOUT = 89
  LUXI_LIVELOCK_PREFIX = "luxi-daemon"
  LUXI_CANCEL_JOB_TIMEOUT = 44
  MASTER_VOTING_RETRIES = 6
  MASTER_VOTING_RETRY_INTERVALL = 10
  QLANG_OP_AND = "&"
  QLANG_OP_OR = "|"
  QLANG_OP_NOT = "!"
  QLANG_OP_TRUE = "?"
  QLANG_OP_CONTAINS = "=[]"
  QLANG_OP_EQUAL = "=="
  QLANG_OP_EQUAL_LEGACY = "="
  QLANG_OP_GE = ">="
  QLANG_OP_GT = ">"
  QLANG_OP_LE = "<="
  QLANG_OP_LT = "<"
  QLANG_OP_NOT_EQUAL = "!="
  QLANG_OP_REGEXP = "=~"
  QLANG_FILTER_DETECTION_CHARS = frozenset(["\t", "\n", "\v", "\...
  QLANG_GLOB_DETECTION_CHARS = frozenset(["*", "?"])
  ERRORS_ECODE_ENVIRON = "environment_error"
  ERRORS_ECODE_EXISTS = "already_exists"
  ERRORS_ECODE_FAULT = "internal_error"
  ERRORS_ECODE_INVAL = "wrong_input"
  ERRORS_ECODE_NOENT = "unknown_entity"
  ERRORS_ECODE_NORES = "insufficient_resources"
  ERRORS_ECODE_NOTUNIQUE = "resource_not_unique"
  ERRORS_ECODE_RESOLVER = "resolver_error"
  ERRORS_ECODE_STATE = "wrong_state"
  ERRORS_ECODE_TEMP_NORES = "temp_insufficient_resources"
  ERRORS_ECODE_ALL = frozenset(["already_exists", "environment_e...
  JSTORE_JOBS_PER_ARCHIVE_DIRECTORY = 10000
  GLUSTER_HOST = "host"
  GLUSTER_HOST_DEFAULT = "127.0.0.1"
  GLUSTER_VOLUME = "volume"
  GLUSTER_VOLUME_DEFAULT = "gv0"
  GLUSTER_PORT = "port"
  GLUSTER_PORT_DEFAULT = 24007
  INSTANCE_COMMUNICATION_DOC = "Enable or disable the communicat...
  INSTANCE_COMMUNICATION_MAC_PREFIX = "52:54:00"
  INSTANCE_COMMUNICATION_NETWORK4 = "169.254.0.0/16"
  INSTANCE_COMMUNICATION_NETWORK6 = "fe80::/10"
  INSTANCE_COMMUNICATION_NETWORK_LINK = "communication_rt"
  INSTANCE_COMMUNICATION_NETWORK_MODE = "routed"
  INSTANCE_COMMUNICATION_NIC_PREFIX = "ganeti:communication:"
  PRIVATE_PARAMETERS_BLACKLIST = ["osparams_private", "osparams_...
  DEBUG_MODE_CONFIDENTIALITY_WARNING = "ALERT: %s started in deb...
  REDACTED = "<redacted>"
  STAT_SIZE = "size"
  HELPER_VM_STARTUP = 300
  HELPER_VM_SHUTDOWN = 7200
  ZEROING_TIMEOUT_PER_MIB = 5.0e-2
  IPV4_NETWORK_MIN_SIZE = 30
  IPV4_NETWORK_MAX_SIZE = 30
  DATA_COLLECTOR_C_P_U_LOAD = "cpu-avg-load"
  DATA_COLLECTOR_XEN_CPU_LOAD = "xen-cpu-avg-load"
  DATA_COLLECTOR_DISK_STATS = "diskstats"
  DATA_COLLECTOR_DRBD = "drbd"
  DATA_COLLECTOR_LV = "lv"
  DATA_COLLECTOR_INST_STATUS = "inst-status-xen"
  DATA_COLLECTOR_PARAMETER_INTERVAL = "interval"
  DATA_COLLECTOR_NAMES = frozenset(["cpu-avg-load", "diskstats",...
  DATA_COLLECTOR_STATE_ACTIVE = "active"
  DATA_COLLECTORS_ENABLED_NAME = "enabled_data_collectors"
  DATA_COLLECTORS_INTERVAL_NAME = "data_collector_interval"
  EX_TAGS_PREFIX = "htools:iextags:"
Variables Details [hide private]

HTOOLS_PROGS

Value:
["harep", "hbal", "hscan", "hspace", "hinfo", "hcheck", "hroller", "hs\
queeze", "hail"]

MAN_PAGES

Value:
{"ganeti": 7, "ganeti-cleaner": 8, "ganeti-confd": 8, "ganeti-extstora\
ge-interface": 7, "ganeti-kvmd": 8, "ganeti-listrunner": 8, "ganeti-lu\
xid": 8, "ganeti-mond": 8, "ganeti-noded": 8, "ganeti-os-interface": 7\
, "ganeti-rapi": 8, "ganeti-watcher": 8, "ganeti-wconfd": 8, "gnt-back\
up": 8, "gnt-cluster": 8, "gnt-debug": 8, "gnt-filter": 8, "gnt-group"\
: 8, "gnt-instance": 8, "gnt-job": 8, "gnt-network": 8, "gnt-node": 8,\
 "gnt-os": 8, "gnt-storage": 8, "hail": 1, "harep": 1, "hbal": 1, "hch\
eck": 1, "hinfo": 1, "hroller": 1, "hscan": 1, "hspace": 1, "hsqueeze"\
...

GNT_SCRIPTS

Value:
["gnt-backup", "gnt-cluster", "gnt-debug", "gnt-group", "gnt-instance"\
, "gnt-job", "gnt-network", "gnt-node", "gnt-os", "gnt-storage", "gnt-\
filter"]

DAEMONS_MASTER

Value:
frozenset(["ganeti-luxid", "ganeti-rapi", "ganeti-wconfd"])

DAEMONS

Value:
frozenset(["ganeti-confd", "ganeti-kvmd", "ganeti-luxid", "ganeti-mast\
erd", "ganeti-metad", "ganeti-mond", "ganeti-noded", "ganeti-rapi", "g\
aneti-wconfd"])

DAEMONS_PORTS

Value:
{"ganeti-confd":("udp", 1814), "ganeti-metad":("tcp", 80), "ganeti-mon\
d":("tcp", 1815), "ganeti-noded":("tcp", 1811), "ganeti-rapi":("tcp", \
5080), "ssh":("tcp", 22)}

DAEMONS_LOGBASE

Value:
{"ganeti-confd": "conf-daemon", "ganeti-kvmd": "kvm-daemon", "ganeti-l\
uxid": "luxi-daemon", "ganeti-masterd": "master-daemon", "ganeti-metad\
": "meta-daemon", "ganeti-mond": "monitoring-daemon", "ganeti-noded": \
"node-daemon", "ganeti-rapi": "rapi-daemon", "ganeti-wconfd": "wconf-d\
aemon"}

DAEMONS_EXTRA_LOGBASE

Value:
{"ganeti-mond": {"access": "monitoring-daemon-access", "error": "monit\
oring-daemon-error"}}

LXC_DEVICES_DEFAULT

Value:
"c 1:3 rw,c 1:5 rw,c 1:7 rw,c 1:8 rw,c 1:9 rw,c 1:10 rw,c 5:0 rw,c 5:1\
 rw,c 5:2 rw,c 136:* rw"

LXC_DROP_CAPABILITIES_DEFAULT

Value:
"mac_override,sys_boot,sys_module,sys_time,sys_admin"

IEC_COMPRESSION_UTILITIES

Value:
{"gzip-fast": "gzip", "gzip-slow": "gzip"}

STORAGE_TYPES

Value:
frozenset(["blockdev", "diskless", "ext", "file", "gluster", "lvm-pv",\
 "lvm-vg", "rados", "sharedfile"])

STS_REPORT_NODE_STORAGE

Value:
frozenset(["file", "gluster", "lvm-pv", "lvm-vg", "sharedfile"])

VALID_STORAGE_FIELDS

Value:
frozenset(["allocatable", "free", "name", "node", "size", "type", "use\
d"])

MODIFIABLE_STORAGE_FIELDS

Value:
{"lvm-pv": frozenset(["allocatable"])}

VALID_STORAGE_OPERATIONS

Value:
{"lvm-vg": frozenset(["fix-consistency"])}

DISK_TEMPLATE_PREFERENCE

Value:
["blockdev", "diskless", "drbd", "ext", "file", "plain", "rbd", "share\
dfile", "gluster"]

DISK_TEMPLATES

Value:
frozenset(["blockdev", "diskless", "drbd", "ext", "file", "gluster", "\
plain", "rbd", "sharedfile"])

MAP_DISK_TEMPLATE_STORAGE_TYPE

Value:
{"blockdev": "blockdev", "diskless": "diskless", "drbd": "lvm-vg", "ex\
t": "ext", "file": "file", "gluster": "gluster", "plain": "lvm-vg", "r\
bd": "rados", "sharedfile": "sharedfile"}

DTS_EXT_MIRROR

Value:
frozenset(["blockdev", "diskless", "ext", "gluster", "rbd", "sharedfil\
e"])

DTS_NOT_LVM

Value:
frozenset(["blockdev", "diskless", "ext", "file", "gluster", "rbd", "s\
haredfile"])

DTS_GROWABLE

Value:
frozenset(["drbd", "ext", "file", "gluster", "plain", "rbd", "sharedfi\
le"])

DTS_MIRRORED

Value:
frozenset(["blockdev", "diskless", "drbd", "ext", "gluster", "rbd", "s\
haredfile"])

DTS_NO_FREE_SPACE_CHECK

Value:
frozenset(["ext", "file", "gluster", "rbd", "sharedfile"])

DTS_BLOCK

Value:
frozenset(["blockdev", "drbd", "ext", "plain", "rbd"])

DRBD_VALID_BARRIER_OPT

Value:
frozenset([frozenset(["b"]), frozenset(["b", "d"]), frozenset(["b", "d\
", "f"]), frozenset(["b", "f"]), frozenset(["d"]), frozenset(["d", "f"\
]), frozenset(["f"]), frozenset(["n"])])

REPLACE_MODES

Value:
frozenset(["replace_auto", "replace_new_secondary", "replace_on_primar\
y", "replace_on_secondary"])

INSTANCE_CREATE_MODES

Value:
frozenset(["create", "import", "remote-import"])

DDMS_VALUES_WITH_MODIFY

Value:
frozenset(["add", "attach", "detach", "modify", "remove"])

VALID_TAG_TYPES

Value:
frozenset(["cluster", "instance", "network", "node", "nodegroup"])

OS_SCRIPTS

Value:
["create", "create_untrusted", "export", "import", "rename", "verify"]

ES_SCRIPTS

Value:
frozenset(["attach", "close", "create", "detach", "grow", "open", "rem\
ove", "setinfo", "snapshot", "verify"])

ENFORCEABLE_TYPES

Value:
frozenset(["string", "maybe-string", "bool", "size", "int", "float"])

VALID_SERIAL_SPEEDS

Value:
[75, 110, 300, 600, 1200, 1800, 2400, 4800, 9600, 14400, 19200, 28800,\
 38400, 57600, 115200, 230400, 345600, 460800]

HV_KVM_SPICE_ZLIB_GLZ_IMG_COMPR

Value:
"spice_zlib_glz_wan_compression"

HVS_PARAMETER_TITLES

Value:
{"acpi": "ACPI", "boot_order": "Boot_order", "cdrom_image_path": "CDRO\
M_image_path", "cpu_type": "cpu_type", "disk_type": "Disk_type", "init\
rd_path": "Initrd_path", "kernel_path": "Kernel_path", "nic_type": "NI\
C_type", "pae": "PAE", "pci_pass": "pci_pass", "vnc_bind_address": "VN\
C_bind_address"}

HVS_PARAMETERS

Value:
frozenset(["acpi", "blockdev_prefix", "boot_order", "bootloader_args",\
 "bootloader_path", "cdrom2_image_path", "cdrom_disk_type", "cdrom_ima\
ge_path", "cpu_cap", "cpu_cores", "cpu_mask", "cpu_sockets", "cpu_thre\
ads", "cpu_type", "cpu_weight", "cpuid", "device_model", "devices", "d\
isk_aio", "disk_cache", "disk_type", "drop_capabilities", "extra_cgrou\
ps", "extra_config", "floppy_image_path", "init_script", "initrd_path"\
, "kernel_args", "kernel_path", "keymap", "kvm_extra", "kvm_flag", "kv\
m_path", "kvm_pci_reservations", "machine_version", "mem_path", "migra\
...

HVS_PARAMETER_TYPES

Value:
{"acpi": "bool", "blockdev_prefix": "string", "boot_order": "string", \
"bootloader_args": "string", "bootloader_path": "string", "cdrom2_imag\
e_path": "string", "cdrom_disk_type": "string", "cdrom_image_path": "s\
tring", "cpu_cap": "int", "cpu_cores": "int", "cpu_mask": "string", "c\
pu_sockets": "int", "cpu_threads": "int", "cpu_type": "string", "cpu_w\
eight": "int", "cpuid": "string", "device_model": "string", "devices":\
 "string", "disk_aio": "string", "disk_cache": "string", "disk_type": \
"string", "drop_capabilities": "string", "extra_cgroups": "string", "e\
...

HV_MIGRATION_VALID_STATUSES

Value:
frozenset(["active", "cancelled", "completed", "failed"])

HV_KVM_MIGRATION_VALID_STATUSES

Value:
frozenset(["active", "cancelled", "completed", "failed"])

HVSTS_PARAMETERS

Value:
frozenset(["cpu_node", "cpu_total", "mem_hv", "mem_node", "mem_total"]\
)

HVST_DEFAULTS

Value:
{"cpu_node": 1, "cpu_total": 1, "mem_hv": 0, "mem_node": 0, "mem_total\
": 0}

HVSTS_PARAMETER_TYPES

Value:
{"cpu_node": "int", "cpu_total": "int", "mem_hv": "int", "mem_node": "\
int", "mem_total": "int"}

DS_DEFAULTS

Value:
{"disk_overhead": 0, "disk_reserved": 0, "disk_total": 0}

DSS_PARAMETER_TYPES

Value:
{"disk_overhead": "int", "disk_reserved": "int", "disk_total": "int"}

DSS_PARAMETERS

Value:
frozenset(["disk_overhead", "disk_reserved", "disk_total"])

BES_PARAMETER_TYPES

Value:
{"always_failover": "bool", "auto_balance": "bool", "maxmem": "size", \
"minmem": "size", "spindle_use": "int", "vcpus": "int"}

BES_PARAMETER_TITLES

Value:
{"auto_balance": "Auto_balance", "maxmem": "ConfigMaxMem", "minmem": "\
ConfigMinMem", "vcpus": "ConfigVCPUs"}

BES_PARAMETER_COMPAT

Value:
{"always_failover": "bool", "auto_balance": "bool", "maxmem": "size", \
"memory": "size", "minmem": "size", "spindle_use": "int", "vcpus": "in\
t"}

BES_PARAMETERS

Value:
frozenset(["always_failover", "auto_balance", "maxmem", "minmem", "spi\
ndle_use", "vcpus"])

ISPECS_PARAMETER_TYPES

Value:
{"cpu-count": "int", "disk-count": "int", "disk-size": "int", "memory-\
size": "int", "nic-count": "int", "spindle-use": "int"}

ISPECS_PARAMETERS

Value:
frozenset(["cpu-count", "disk-count", "disk-size", "memory-size", "nic\
-count", "spindle-use"])

IPOLICY_ALL_KEYS

Value:
frozenset(["disk-templates", "minmax", "spindle-ratio", "std", "vcpu-r\
atio"])

NDS_PARAMETER_TYPES

Value:
{"cpu_speed": "float", "exclusive_storage": "bool", "oob_program": "st\
ring", "ovs": "bool", "ovs_link": "maybe-string", "ovs_name": "maybe-s\
tring", "spindle_count": "int", "ssh_port": "int"}

NDS_PARAMETERS

Value:
frozenset(["cpu_speed", "exclusive_storage", "oob_program", "ovs", "ov\
s_link", "ovs_name", "spindle_count", "ssh_port"])

NDS_PARAMETER_TITLES

Value:
{"exclusive_storage": "ExclusiveStorage", "oob_program": "OutOfBandPro\
gram", "ovs": "OpenvSwitch", "ovs_link": "OpenvSwitchLink", "ovs_name"\
: "OpenvSwitchName", "spindle_count": "SpindleCount"}

DISK_LD_TYPES

Value:
{"access": "string", "c-delay-target": "int", "c-fill-target": "int", \
"c-max-rate": "int", "c-min-rate": "int", "c-plan-ahead": "int", "defa\
ult-metavg": "string", "disable-meta-flush": "bool", "disabled-barrier\
s": "string", "disk-custom": "string", "dynamic-resync": "bool", "net-\
custom": "string", "pool": "string", "protocol": "string", "resync-rat\
e": "int", "stripes": "int"}

DISK_LD_PARAMETERS

Value:
frozenset(["access", "c-delay-target", "c-fill-target", "c-max-rate", \
"c-min-rate", "c-plan-ahead", "default-metavg", "disable-meta-flush", \
"disabled-barriers", "disk-custom", "dynamic-resync", "net-custom", "p\
ool", "protocol", "resync-rate", "stripes"])

DISK_DT_TYPES

Value:
{"access": "string", "c-delay-target": "int", "c-fill-target": "int", \
"c-max-rate": "int", "c-min-rate": "int", "c-plan-ahead": "int", "data\
-stripes": "int", "disk-barriers": "string", "disk-custom": "string", \
"dynamic-resync": "bool", "host": "string", "meta-barriers": "bool", "\
meta-stripes": "int", "metavg": "string", "net-custom": "string", "poo\
l": "string", "port": "int", "protocol": "string", "resync-rate": "int\
", "stripes": "int", "volume": "string"}

DISK_DT_PARAMETERS

Value:
frozenset(["access", "c-delay-target", "c-fill-target", "c-max-rate", \
"c-min-rate", "c-plan-ahead", "data-stripes", "disk-barriers", "disk-c\
ustom", "dynamic-resync", "host", "meta-barriers", "meta-stripes", "me\
tavg", "net-custom", "pool", "port", "protocol", "resync-rate", "strip\
es", "volume"])

OOB_COMMANDS

Value:
frozenset(["health", "power-cycle", "power-off", "power-on", "power-st\
atus"])

OOB_STATUSES

Value:
frozenset(["CRITICAL", "OK", "UNKNOWN", "WARNING"])

NICS_PARAMETER_TYPES

Value:
{"link": "string", "mode": "string", "vlan": "string"}

NIC_VALID_MODES

Value:
frozenset(["bridged", "openvswitch", "pool", "routed"])

IDISK_PARAMS_TYPES

Value:
{"access": "string", "adopt": "string", "dev_type": "string", "metavg"\
: "string", "mode": "string", "name": "maybe-string", "provider": "str\
ing", "size": "size", "spindles": "int", "vg": "string"}

IDISK_PARAMS

Value:
frozenset(["access", "adopt", "dev_type", "metavg", "mode", "name", "p\
rovider", "size", "spindles", "vg"])

MODIFIABLE_IDISK_PARAMS_TYPES

Value:
{"mode": "string", "name": "string"}

INIC_PARAMS_TYPES

Value:
{"bridge": "maybe-string", "ip": "maybe-string", "link": "string", "ma\
c": "string", "mode": "string", "name": "maybe-string", "network": "ma\
ybe-string", "vlan": "maybe-string"}

INIC_PARAMS

Value:
frozenset(["bridge", "ip", "link", "mac", "mode", "name", "network", "\
vlan"])

HYPER_TYPES

Value:
frozenset(["chroot", "fake", "kvm", "lxc", "xen-hvm", "xen-pvm"])

HT_HVM_VALID_NIC_TYPES

Value:
frozenset(["e1000", "ne2k_isa", "ne2k_pci", "paravirtual", "rtl8139"])

HT_KVM_VALID_NIC_TYPES

Value:
frozenset(["e1000", "i82551", "i82557b", "i82559er", "ne2k_isa", "ne2k\
_pci", "paravirtual", "pcnet", "rtl8139"])

HT_SCSI_DEVICE_TYPES

Value:
frozenset(["scsi-block", "scsi-cd", "scsi-generic", "scsi-hd"])

HT_KVM_VALID_DISK_TYPES

Value:
frozenset(["ide", "mtd", "paravirtual", "pflash", "scsi", "scsi-block"\
, "scsi-cd", "scsi-generic", "scsi-hd", "sd"])

HT_KVM_VALID_SCSI_CONTROLLER_TYPES

Value:
frozenset(["lsi", "megasas", "virtio-scsi-pci"])

HT_VALID_CACHE_TYPES

Value:
frozenset(["default", "none", "writeback", "writethrough"])

HT_KVM_VALID_BO_TYPES

Value:
frozenset(["cdrom", "disk", "floppy", "network"])

HT_KVM_SPICE_VALID_LOSSLESS_IMG_COMPR_OPTIONS

Value:
frozenset(["auto_glz", "auto_lz", "glz", "lz", "off", "quic"])

HT_KVM_SPICE_VALID_LOSSY_IMG_COMPR_OPTIONS

Value:
frozenset(["always", "auto", "never"])

HT_KVM_SPICE_VALID_VIDEO_STREAM_DETECTION_OPTIONS

Value:
frozenset(["all", "filter", "off"])

CV_ECLUSTERCERT

Value:
"cluster", "ECLUSTERCERT", "Cluster certificate files verification fai\
lure"

CV_ECLUSTERCLIENTCERT

Value:
"cluster", "ECLUSTERCLIENTCERT", "Cluster client certificate files ver\
ification failure"

CV_ECLUSTERCFG

Value:
"cluster", "ECLUSTERCFG", "Cluster configuration verification failure"

CV_ECLUSTERDANGLINGINST

Value:
"node", "ECLUSTERDANGLINGINST", "Some instances have a non-existing pr\
imary node"

CV_ECLUSTERDANGLINGNODES

Value:
"node", "ECLUSTERDANGLINGNODES", "Some nodes belong to non-existing gr\
oups"

CV_ECLUSTERFILECHECK

Value:
"cluster", "ECLUSTERFILECHECK", "Cluster configuration verification fa\
ilure"

CV_EGROUPDIFFERENTPVSIZE

Value:
"group", "EGROUPDIFFERENTPVSIZE", "PVs in the group have different siz\
es"

CV_EINSTANCEBADNODE

Value:
"instance", "EINSTANCEBADNODE", "Instance marked as running lives on a\
n offline node"

CV_EINSTANCEDOWN

Value:
"instance", "EINSTANCEDOWN", "Instance not running on its primary node\
"

CV_EINSTANCEFAULTYDISK

Value:
"instance", "EINSTANCEFAULTYDISK", "Impossible to retrieve status for \
a disk"

CV_EINSTANCELAYOUT

Value:
"instance", "EINSTANCELAYOUT", "Instance has multiple secondary nodes"

CV_EINSTANCEMISSINGCFGPARAMETER

Value:
"instance", "EINSTANCEMISSINGCFGPARAMETER", "A configuration parameter\
 for an instance is missing"

CV_EINSTANCEMISSINGDISK

Value:
"instance", "EINSTANCEMISSINGDISK", "Missing volume on an instance"

CV_EINSTANCEPOLICY

Value:
"instance", "EINSTANCEPOLICY", "Instance does not meet policy"

CV_EINSTANCESPLITGROUPS

Value:
"instance", "EINSTANCESPLITGROUPS", "Instance with primary and seconda\
ry nodes in different groups"

CV_EINSTANCEUNSUITABLENODE

Value:
"instance", "EINSTANCEUNSUITABLENODE", "Instance running on nodes that\
 are not suitable for it"

CV_EINSTANCEWRONGNODE

Value:
"instance", "EINSTANCEWRONGNODE", "Instance running on the wrong node"

CV_ENODEDRBD

Value:
"node", "ENODEDRBD", "Error parsing the DRBD status file"

CV_ENODEDRBDHELPER

Value:
"node", "ENODEDRBDHELPER", "Error caused by the DRBD helper"

CV_ENODEDRBDVERSION

Value:
"node", "ENODEDRBDVERSION", "DRBD version mismatch within a node group\
"

CV_ENODEFILECHECK

Value:
"node", "ENODEFILECHECK", "Error retrieving the checksum of the node f\
iles"

CV_ENODEFILESTORAGEPATHS

Value:
"node", "ENODEFILESTORAGEPATHS", "Detected bad file storage paths"

CV_ENODEFILESTORAGEPATHUNUSABLE

Value:
"node", "ENODEFILESTORAGEPATHUNUSABLE", "File storage path unusable"

CV_ENODEHOOKS

Value:
"node", "ENODEHOOKS", "Communication failure in hooks execution"

CV_ENODEHV

Value:
"node", "ENODEHV", "Hypervisor parameters verification failure"

CV_ENODEN1

Value:
"node", "ENODEN1", "Not enough memory to accommodate instance failover\
s"

CV_EEXTAGS

Value:
"node", "EEXTAGS", "Instances with same exclusion tag on the same node\
"

CV_ENODEOOBPATH

Value:
"node", "ENODEOOBPATH", "Invalid Out Of Band path"

CV_ENODEORPHANINSTANCE

Value:
"node", "ENODEORPHANINSTANCE", "Unknown intance running on a node"

CV_ENODEORPHANLV

Value:
"node", "ENODEORPHANLV", "Unknown LVM logical volume"

CV_ENODERPC

Value:
"node", "ENODERPC", "Error during connection to the primary node of an\
 instance"

CV_ENODESHAREDFILESTORAGEPATHUNUSABLE

Value:
"node", "ENODESHAREDFILESTORAGEPATHUNUSABLE", "Shared file storage pat\
h unusable"

CV_ENODEGLUSTERSTORAGEPATHUNUSABLE

Value:
"node", "ENODEGLUSTERSTORAGEPATHUNUSABLE", "Gluster storage path unusa\
ble"

CV_ENODEUSERSCRIPTS

Value:
"node", "ENODEUSERSCRIPTS", "User scripts not present or not executabl\
e"

CV_ENODEVERSION

Value:
"node", "ENODEVERSION", "Protocol version mismatch or Ganeti version m\
ismatch"

CV_ALL_ECODES

Value:
frozenset([("cluster", "ECLUSTERCERT", "Cluster certificate files veri\
fication failure"), ("cluster", "ECLUSTERCFG", "Cluster configuration \
verification failure"), ("cluster", "ECLUSTERFILECHECK", "Cluster conf\
iguration verification failure"), ("group", "EGROUPDIFFERENTPVSIZE", "\
PVs in the group have different sizes"), ("instance", "EINSTANCEBADNOD\
E", "Instance marked as running lives on an offline node"), ("instance\
", "EINSTANCEDOWN", "Instance not running on its primary node"), ("ins\
tance", "EINSTANCEFAULTYDISK", "Impossible to retrieve status for a di\
...

CV_ALL_ECODES_STRINGS

Value:
frozenset(["ECLUSTERCERT", "ECLUSTERCFG", "ECLUSTERCLIENTCERT", "ECLUS\
TERDANGLINGINST", "ECLUSTERDANGLINGNODES", "ECLUSTERFILECHECK", "EEXTA\
GS", "EGROUPDIFFERENTPVSIZE", "EINSTANCEBADNODE", "EINSTANCEDOWN", "EI\
NSTANCEFAULTYDISK", "EINSTANCELAYOUT", "EINSTANCEMISSINGCFGPARAMETER",\
 "EINSTANCEMISSINGDISK", "EINSTANCEPOLICY", "EINSTANCESPLITGROUPS", "E\
INSTANCEUNSUITABLENODE", "EINSTANCEWRONGNODE", "ENODEDRBD", "ENODEDRBD\
HELPER", "ENODEDRBDVERSION", "ENODEFILECHECK", "ENODEFILESTORAGEPATHS"\
, "ENODEFILESTORAGEPATHUNUSABLE", "ENODEGLUSTERSTORAGEPATHUNUSABLE", "\
...

INSTST_ALL

Value:
frozenset(["ADMIN_down", "ADMIN_offline", "ERROR_down", "ERROR_nodedow\
n", "ERROR_nodeoffline", "ERROR_up", "ERROR_wrongnode", "USER_down", "\
running"])

VALID_IALLOCATOR_MODES

Value:
frozenset(["allocate", "allocate-secondary", "change-group", "multi-al\
locate", "node-evacuate", "relocate"])

NODE_EVAC_MODES

Value:
frozenset(["all", "primary-only", "secondary-only"])

JOB_STATUS_ALL

Value:
frozenset(["canceled", "canceling", "error", "queued", "running", "suc\
cess", "waiting"])

JQT_ALL

Value:
frozenset(["exec", "expandnames", "logmsg", "startmsg"])

QR_VIA_LUXI

Value:
frozenset(["export", "filter", "group", "instance", "job", "lock", "ne\
twork", "node"])

QR_VIA_RAPI

Value:
frozenset(["export", "filter", "group", "instance", "job", "lock", "ne\
twork", "node"])

QFT_ALL

Value:
frozenset(["bool", "float", "number", "other", "text", "timestamp", "u\
nit", "unknown"])

RSS_DESCRIPTION

Value:
{1:("(unknown)", "??"), 2:("(nodata)", "?"), 3:("(unavail)", "-"), 4:(\
"(offline)", "*")}

VALID_SS_HVPARAMS_KEYS

Value:
frozenset(["hvparams_chroot", "hvparams_fake", "hvparams_kvm", "hvpara\
ms_lxc", "hvparams_xen-hvm", "hvparams_xen-pvm"])

VALID_SS_KEYS

Value:
frozenset(["cluster_name", "cluster_tags", "enabled_user_shutdown", "f\
ile_storage_dir", "gluster_storage_dir", "hvparams_chroot", "hvparams_\
fake", "hvparams_kvm", "hvparams_lxc", "hvparams_xen-hvm", "hvparams_x\
en-pvm", "hypervisor_list", "instance_list", "maintain_node_health", "\
master_candidates", "master_candidates_certs", "master_candidates_ips"\
, "master_ip", "master_netdev", "master_netmask", "master_node", "netw\
orks", "node_list", "node_primary_ips", "node_secondary_ips", "node_vm\
_capable", "nodegroups", "offline_nodes", "online_nodes", "primary_ip_\
...

HVC_DEFAULTS

Value:
{"kvm": {"acpi": True, "boot_order": "disk", "cdrom2_image_path": "", \
"cdrom_disk_type": "", "cdrom_image_path": "", "cpu_cores": 0, "cpu_ma\
sk": "all", "cpu_sockets": 0, "cpu_threads": 0, "cpu_type": "", "disk_\
aio": "threads", "disk_cache": "default", "disk_type": "paravirtual", \
"floppy_image_path": "", "initrd_path": "", "kernel_args": "ro", "kern\
el_path": "/boot/vmlinuz-3-kvmU", "keymap": "", "kvm_extra": "", "kvm_\
flag": "", "kvm_path": "/usr/bin/kvm", "kvm_pci_reservations": 12, "ma\
chine_version": "", "mem_path": "", "migration_bandwidth": 32, "migrat\
...

HVC_GLOBALS

Value:
frozenset(["migration_bandwidth", "migration_mode", "migration_port", \
"xen_cmd"])

BEC_DEFAULTS

Value:
{"always_failover": False, "auto_balance": True, "maxmem": 128, "minme\
m": 128, "spindle_use": 1, "vcpus": 1}

NDC_DEFAULTS

Value:
{"cpu_speed": 1.0, "exclusive_storage": False, "oob_program": "", "ovs\
": False, "ovs_link": "", "ovs_name": "switch1", "spindle_count": 1, "\
ssh_port": 22}

DISK_LD_DEFAULTS

Value:
{"file": {}, "sharedfile": {}, "plain": {"stripes": 1}, "blockdev": {}\
, "drbd": {"c-delay-target": 1, "c-fill-target": 0, "c-max-rate": 6144\
0, "c-min-rate": 4096, "c-plan-ahead": 20, "default-metavg": "xenvg", \
"disable-meta-flush": False, "disabled-barriers": "n", "disk-custom": \
"", "dynamic-resync": False, "net-custom": "", "protocol": "C", "resyn\
c-rate": 61440}, "rbd": {"access": "kernelspace", "pool": "rbd"}, "ext\
": {"access": "kernelspace"}, "gluster": {"access": "kernelspace", "ho\
st": "127.0.0.1", "port": 24007, "volume": "gv0"}}

DISK_DT_DEFAULTS

Value:
{"diskless": {}, "file": {}, "sharedfile": {}, "plain": {"stripes": 1}\
, "blockdev": {}, "drbd": {"c-delay-target": 1, "c-fill-target": 0, "c\
-max-rate": 61440, "c-min-rate": 4096, "c-plan-ahead": 20, "data-strip\
es": 1, "disk-barriers": "n", "disk-custom": "", "dynamic-resync": Fal\
se, "meta-barriers": False, "meta-stripes": 1, "metavg": "xenvg", "net\
-custom": "", "protocol": "C", "resync-rate": 61440}, "rbd": {"access"\
: "kernelspace", "pool": "rbd"}, "ext": {"access": "kernelspace"}, "gl\
uster": {"access": "kernelspace", "host": "127.0.0.1", "port": 24007, \
...

NICC_DEFAULTS

Value:
{"link": "xen-br0", "mode": "bridged", "vlan": ""}

ISPECS_MINMAX_DEFAULTS

Value:
{"max": {"cpu-count": 8, "disk-count": 16, "disk-size": 1048576, "memo\
ry-size": 32768, "nic-count": 8, "spindle-use": 12}, "min": {"cpu-coun\
t": 1, "disk-count": 1, "disk-size": 1024, "memory-size": 128, "nic-co\
unt": 1, "spindle-use": 1}}

IPOLICY_DEFAULTS

Value:
{"disk-templates": ["blockdev", "diskless", "drbd", "ext", "file", "gl\
uster", "plain", "rbd", "sharedfile"], "minmax": [{"max": {"cpu-count"\
: 8, "disk-count": 16, "disk-size": 1048576, "memory-size": 32768, "ni\
c-count": 8, "spindle-use": 12}, "min": {"cpu-count": 1, "disk-count":\
 1, "disk-size": 1024, "memory-size": 128, "nic-count": 1, "spindle-us\
e": 1}}], "spindle-ratio": 32.0, "std": {"cpu-count": 1, "disk-count":\
 1, "disk-size": 1024, "memory-size": 128, "nic-count": 1, "spindle-us\
e": 1}, "vcpu-ratio": 4.0}

VALID_ALLOC_POLICIES

Value:
["preferred", "last_resort", "unallocable"]

SSHS_ACTIONS

Value:
frozenset(["add", "clear", "override", "remove", "replace_or_add"])

SSH_DAEMON_KEYFILES

Value:
{"dsa":("/etc/ssh/ssh_host_dsa_key", "/etc/ssh/ssh_host_dsa_key.pub"),\
 "ecdsa":("/etc/ssh/ssh_host_ecdsa_key", "/etc/ssh/ssh_host_ecdsa_key.\
pub"), "rsa":("/etc/ssh/ssh_host_rsa_key", "/etc/ssh/ssh_host_rsa_key.\
pub")}

OPCODE_REASON_SOURCES

Value:
frozenset(["gnt:client", "gnt:daemon:masterd:pickup", "gnt:daemon:node\
d", "gnt:library:rlib2", "gnt:opcode", "gnt:user", "gnt:watcher"])

AUTO_REPAIR_ALL_TYPES

Value:
frozenset(["failover", "fix-storage", "migrate", "reinstall"])

AUTO_REPAIR_ALL_RESULTS

Value:
frozenset(["enoperm", "failure", "success"])

HOTPLUG_ALL_ACTIONS

Value:
frozenset(["hotadd", "hotmod", "hotremove"])

UUID_REGEX

Value:
"^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$"

LUXI_REQ_ALL

Value:
frozenset(["ArchiveJob", "AutoArchiveJobs", "CancelJob", "ChangeJobPri\
ority", "DeleteFilter", "PickupJob", "Query", "QueryClusterInfo", "Que\
ryConfigValues", "QueryExports", "QueryFields", "QueryFilters", "Query\
Groups", "QueryInstances", "QueryJobs", "QueryNetworks", "QueryNodes",\
 "QueryTags", "ReplaceFilter", "SetDrainFlag", "SetWatcherPause", "Sub\
mitJob", "SubmitJobToDrainedQueue", "SubmitManyJobs", "WaitForJobChang\
e"])

QLANG_FILTER_DETECTION_CHARS

Value:
frozenset(["\t", "\n", "\v", "\f", "\r", " ", "!", "\"", "'", "(", ")"\
, "/", "<", "=", ">", "\\", "~"])

ERRORS_ECODE_ALL

Value:
frozenset(["already_exists", "environment_error", "insufficient_resour\
ces", "internal_error", "resolver_error", "resource_not_unique", "temp\
_insufficient_resources", "unknown_entity", "wrong_input", "wrong_stat\
e"])

INSTANCE_COMMUNICATION_DOC

Value:
"Enable or disable the communication mechanism for an instance"

PRIVATE_PARAMETERS_BLACKLIST

Value:
["osparams_private", "osparams_secret", "osparams_private_cluster"]

DEBUG_MODE_CONFIDENTIALITY_WARNING

Value:
"ALERT: %s started in debug mode.\n Private and secret parameters WILL\
 be logged!\n"

DATA_COLLECTOR_NAMES

Value:
frozenset(["cpu-avg-load", "diskstats", "drbd", "inst-status-xen", "lv\
", "xen-cpu-avg-load"])