{-| Ganeti constants. These are duplicated from the Python code. -} {- Copyright (C) 2009, 2010, 2011 Google Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -} module Ganeti.Constants where -- | Converted from Python constant ADMIN_GROUP adminGroup :: String adminGroup = "root" -- | Converted from Python constant ADOPTABLE_BLOCKDEV_ROOT adoptableBlockdevRoot :: String adoptableBlockdevRoot = "/dev/disk/" -- | Converted from Python constant ALLOC_POLICY_LAST_RESORT allocPolicyLastResort :: String allocPolicyLastResort = "last_resort" -- | Converted from Python constant ALLOC_POLICY_PREFERRED allocPolicyPreferred :: String allocPolicyPreferred = "preferred" -- | Converted from Python constant ALLOC_POLICY_UNALLOCABLE allocPolicyUnallocable :: String allocPolicyUnallocable = "unallocable" -- Skipped ALL_CERT_FILES, <type 'frozenset'> not handled -- | Converted from Python constant BDEV_CACHE_DIR bdevCacheDir :: String bdevCacheDir = "/usr/local/var/run/ganeti/bdev-cache" -- Skipped BEC_DEFAULTS, <type 'dict'> not handled -- Skipped BES_PARAMETERS, <type 'frozenset'> not handled -- Skipped BES_PARAMETER_TYPES, <type 'dict'> not handled -- | Converted from Python constant BE_AUTO_BALANCE beAutoBalance :: String beAutoBalance = "auto_balance" -- | Converted from Python constant BE_MEMORY beMemory :: String beMemory = "memory" -- | Converted from Python constant BE_VCPUS beVcpus :: String beVcpus = "vcpus" -- | Converted from Python constant BLOCKDEV_DRIVER_MANUAL blockdevDriverManual :: String blockdevDriverManual = "manual" -- Skipped BuildVersion, not constant -- | Converted from Python constant CHILD_LINGER_TIMEOUT childLingerTimeout :: Double childLingerTimeout = 5.000000 -- | Converted from Python constant CLUSTER_CONF_FILE clusterConfFile :: String clusterConfFile = "/usr/local/var/lib/ganeti/config.data" -- | Converted from Python constant CLUSTER_DOMAIN_SECRET_FILE clusterDomainSecretFile :: String clusterDomainSecretFile = "/usr/local/var/lib/ganeti/cluster-domain-secret" -- | Converted from Python constant CONFD confd :: String confd = "ganeti-confd" -- | Converted from Python constant CONFD_CLIENT_EXPIRE_TIMEOUT confdClientExpireTimeout :: Int confdClientExpireTimeout = 10 -- | Converted from Python constant CONFD_CONFIG_RELOAD_RATELIMIT confdConfigReloadRatelimit :: Int confdConfigReloadRatelimit = 2 -- | Converted from Python constant CONFD_CONFIG_RELOAD_TIMEOUT confdConfigReloadTimeout :: Int confdConfigReloadTimeout = 60 -- | Converted from Python constant CONFD_DEFAULT_REQ_COVERAGE confdDefaultReqCoverage :: Int confdDefaultReqCoverage = 6 -- | Converted from Python constant CONFD_ERROR_ARGUMENT confdErrorArgument :: Int confdErrorArgument = 3 -- | Converted from Python constant CONFD_ERROR_INTERNAL confdErrorInternal :: Int confdErrorInternal = 2 -- | Converted from Python constant CONFD_ERROR_UNKNOWN_ENTRY confdErrorUnknownEntry :: Int confdErrorUnknownEntry = 1 -- | Converted from Python constant CONFD_GROUP confdGroup :: String confdGroup = "root" -- | Converted from Python constant CONFD_HMAC_KEY confdHmacKey :: String confdHmacKey = "/usr/local/var/lib/ganeti/hmac.key" -- | Converted from Python constant CONFD_MAGIC_FOURCC confdMagicFourcc :: String confdMagicFourcc = "plj0" -- | Converted from Python constant CONFD_MAX_CLOCK_SKEW confdMaxClockSkew :: Int confdMaxClockSkew = 300 -- | Converted from Python constant CONFD_NODE_ROLE_CANDIDATE confdNodeRoleCandidate :: Int confdNodeRoleCandidate = 1 -- | Converted from Python constant CONFD_NODE_ROLE_DRAINED confdNodeRoleDrained :: Int confdNodeRoleDrained = 3 -- | Converted from Python constant CONFD_NODE_ROLE_MASTER confdNodeRoleMaster :: Int confdNodeRoleMaster = 0 -- | Converted from Python constant CONFD_NODE_ROLE_OFFLINE confdNodeRoleOffline :: Int confdNodeRoleOffline = 2 -- | Converted from Python constant CONFD_NODE_ROLE_REGULAR confdNodeRoleRegular :: Int confdNodeRoleRegular = 4 -- | Converted from Python constant CONFD_PROTOCOL_VERSION confdProtocolVersion :: Int confdProtocolVersion = 1 -- Skipped CONFD_REPL_STATUSES, <type 'frozenset'> not handled -- | Converted from Python constant CONFD_REPL_STATUS_ERROR confdReplStatusError :: Int confdReplStatusError = 1 -- | Converted from Python constant CONFD_REPL_STATUS_NOTIMPLEMENTED confdReplStatusNotimplemented :: Int confdReplStatusNotimplemented = 2 -- | Converted from Python constant CONFD_REPL_STATUS_OK confdReplStatusOk :: Int confdReplStatusOk = 0 -- | Converted from Python constant CONFD_REQFIELD_IP confdReqfieldIp :: String confdReqfieldIp = "1" -- | Converted from Python constant CONFD_REQFIELD_MNODE_PIP confdReqfieldMnodePip :: String confdReqfieldMnodePip = "2" -- | Converted from Python constant CONFD_REQFIELD_NAME confdReqfieldName :: String confdReqfieldName = "0" -- | Converted from Python constant CONFD_REQQ_FIELDS confdReqqFields :: String confdReqqFields = "3" -- | Converted from Python constant CONFD_REQQ_IP confdReqqIp :: String confdReqqIp = "1" -- | Converted from Python constant CONFD_REQQ_IPLIST confdReqqIplist :: String confdReqqIplist = "2" -- | Converted from Python constant CONFD_REQQ_LINK confdReqqLink :: String confdReqqLink = "0" -- Skipped CONFD_REQS, <type 'frozenset'> not handled -- | Converted from Python constant CONFD_REQ_CLUSTER_MASTER confdReqClusterMaster :: Int confdReqClusterMaster = 3 -- | Converted from Python constant CONFD_REQ_INSTANCES_IPS_LIST confdReqInstancesIpsList :: Int confdReqInstancesIpsList = 6 -- | Converted from Python constant CONFD_REQ_MC_PIP_LIST confdReqMcPipList :: Int confdReqMcPipList = 5 -- | Converted from Python constant CONFD_REQ_NODE_PIP_BY_INSTANCE_IP confdReqNodePipByInstanceIp :: Int confdReqNodePipByInstanceIp = 2 -- | Converted from Python constant CONFD_REQ_NODE_PIP_LIST confdReqNodePipList :: Int confdReqNodePipList = 4 -- | Converted from Python constant CONFD_REQ_NODE_ROLE_BYNAME confdReqNodeRoleByname :: Int confdReqNodeRoleByname = 1 -- | Converted from Python constant CONFD_REQ_PING confdReqPing :: Int confdReqPing = 0 -- | Converted from Python constant CONFD_USER confdUser :: String confdUser = "root" -- | Converted from Python constant CONFIG_MAJOR configMajor :: Int configMajor = 2 -- | Converted from Python constant CONFIG_MINOR configMinor :: Int configMinor = 5 -- | Converted from Python constant CONFIG_REVISION configRevision :: Int configRevision = 0 -- | Converted from Python constant CONFIG_VERSION configVersion :: Int configVersion = 2050000 -- | Converted from Python constant CONF_DIR confDir :: String confDir = "/usr/local/etc/ganeti" -- Skipped CONS_ALL, <type 'frozenset'> not handled -- | Converted from Python constant CONS_MESSAGE consMessage :: String consMessage = "msg" -- | Converted from Python constant CONS_SSH consSsh :: String consSsh = "ssh" -- | Converted from Python constant CONS_VNC consVnc :: String consVnc = "vnc" -- | Converted from Python constant CRYPTO_KEYS_DIR cryptoKeysDir :: String cryptoKeysDir = "/usr/local/var/run/ganeti/crypto" -- | Converted from Python constant CRYPTO_KEYS_DIR_MODE cryptoKeysDirMode :: Int cryptoKeysDirMode = 448 -- | Converted from Python constant DAEMONS_GROUP daemonsGroup :: String daemonsGroup = "root" -- Skipped DAEMONS_LOGFILES, <type 'dict'> not handled -- Skipped DAEMONS_PORTS, <type 'dict'> not handled -- | Converted from Python constant DAEMON_UTIL daemonUtil :: String daemonUtil = "/usr/local/lib/ganeti/daemon-util" -- | Converted from Python constant DATA_DIR dataDir :: String dataDir = "/usr/local/var/lib/ganeti" -- Skipped DDMS_VALUES, <type 'frozenset'> not handled -- | Converted from Python constant DDM_ADD ddmAdd :: String ddmAdd = "add" -- | Converted from Python constant DDM_REMOVE ddmRemove :: String ddmRemove = "remove" -- | Converted from Python constant DD_CMD ddCmd :: String ddCmd = "dd" -- | Converted from Python constant DEFAULT_BRIDGE defaultBridge :: String defaultBridge = "xen-br0" -- | Converted from Python constant DEFAULT_CONFD_PORT defaultConfdPort :: Int defaultConfdPort = 1814 -- | Converted from Python constant DEFAULT_DRBD_HELPER defaultDrbdHelper :: String defaultDrbdHelper = "/bin/true" -- | Converted from Python constant DEFAULT_ENABLED_HYPERVISOR defaultEnabledHypervisor :: String defaultEnabledHypervisor = "xen-pvm" -- | Converted from Python constant DEFAULT_FILE_STORAGE_DIR defaultFileStorageDir :: String defaultFileStorageDir = "/srv/ganeti/file-storage" -- | Converted from Python constant DEFAULT_MAC_PREFIX defaultMacPrefix :: String defaultMacPrefix = "aa:00:00" -- | Converted from Python constant DEFAULT_NLD_PORT defaultNldPort :: Int defaultNldPort = 1816 -- | Converted from Python constant DEFAULT_NODED_PORT defaultNodedPort :: Int defaultNodedPort = 1811 -- | Converted from Python constant DEFAULT_RAPI_PORT defaultRapiPort :: Int defaultRapiPort = 5080 -- | Converted from Python constant DEFAULT_SHARED_FILE_STORAGE_DIR defaultSharedFileStorageDir :: String defaultSharedFileStorageDir = "/srv/ganeti/shared-file-storage" -- | Converted from Python constant DEFAULT_SHUTDOWN_TIMEOUT defaultShutdownTimeout :: Int defaultShutdownTimeout = 120 -- | Converted from Python constant DEFAULT_VG defaultVg :: String defaultVg = "xenvg" -- | Converted from Python constant DEV_CONSOLE devConsole :: String devConsole = "/dev/console" -- Skipped DISK_ACCESS_SET, <type 'frozenset'> not handled -- | Converted from Python constant DISK_LINKS_DIR diskLinksDir :: String diskLinksDir = "/usr/local/var/run/ganeti/instance-disks" -- | Converted from Python constant DISK_RDONLY diskRdonly :: String diskRdonly = "ro" -- | Converted from Python constant DISK_RDWR diskRdwr :: String diskRdwr = "rw" -- | Converted from Python constant DISK_SEPARATOR diskSeparator :: String diskSeparator = ":" -- Skipped DISK_TEMPLATES, <type 'frozenset'> not handled -- | Converted from Python constant DISK_TRANSFER_CONNECT_TIMEOUT diskTransferConnectTimeout :: Int diskTransferConnectTimeout = 60 -- | Converted from Python constant DRBD_BARRIERS drbdBarriers :: Int drbdBarriers = 1 -- | Converted from Python constant DRBD_HMAC_ALG drbdHmacAlg :: String drbdHmacAlg = "md5" -- | Converted from Python constant DRBD_NET_PROTOCOL drbdNetProtocol :: String drbdNetProtocol = "C" -- Skipped DTS_EXT_MIRROR, <type 'frozenset'> not handled -- Skipped DTS_FILEBASED, <type 'frozenset'> not handled -- Skipped DTS_GROWABLE, <type 'frozenset'> not handled -- Skipped DTS_INT_MIRROR, <type 'frozenset'> not handled -- Skipped DTS_MAY_ADOPT, <type 'frozenset'> not handled -- Skipped DTS_MIRRORED, <type 'frozenset'> not handled -- Skipped DTS_MUST_ADOPT, <type 'frozenset'> not handled -- Skipped DTS_NOT_LVM, <type 'frozenset'> not handled -- | Converted from Python constant DT_BLOCK dtBlock :: String dtBlock = "blockdev" -- | Converted from Python constant DT_DISKLESS dtDiskless :: String dtDiskless = "diskless" -- | Converted from Python constant DT_DRBD8 dtDrbd8 :: String dtDrbd8 = "drbd" -- | Converted from Python constant DT_FILE dtFile :: String dtFile = "file" -- | Converted from Python constant DT_PLAIN dtPlain :: String dtPlain = "plain" -- | Converted from Python constant DT_SHARED_FILE dtSharedFile :: String dtSharedFile = "sharedfile" -- | Converted from Python constant ELOG_JQUEUE_TEST elogJqueueTest :: String elogJqueueTest = "jqueue-test" -- | Converted from Python constant ELOG_MESSAGE elogMessage :: String elogMessage = "message" -- | Converted from Python constant ELOG_PROGRESS elogProgress :: String elogProgress = "progress" -- | Converted from Python constant ELOG_REMOTE_IMPORT elogRemoteImport :: String elogRemoteImport = "remote-import" -- | Converted from Python constant ENABLE_FILE_STORAGE enableFileStorage :: Int enableFileStorage = 1 -- | Converted from Python constant ENABLE_SHARED_FILE_STORAGE enableSharedFileStorage :: Int enableSharedFileStorage = 1 -- Skipped ENFORCEABLE_TYPES, <type 'frozenset'> not handled -- | Converted from Python constant ETC_HOSTS etcHosts :: String etcHosts = "/etc/hosts" -- | Converted from Python constant ETC_HOSTS_ADD etcHostsAdd :: String etcHostsAdd = "add" -- | Converted from Python constant ETC_HOSTS_REMOVE etcHostsRemove :: String etcHostsRemove = "remove" -- | Converted from Python constant EXIT_CONFIRMATION exitConfirmation :: Int exitConfirmation = 13 -- | Converted from Python constant EXIT_FAILURE exitFailure :: Int exitFailure = 1 -- | Converted from Python constant EXIT_NODESETUP_ERROR exitNodesetupError :: Int exitNodesetupError = 12 -- | Converted from Python constant EXIT_NOTCLUSTER exitNotcluster :: Int exitNotcluster = 5 -- | Converted from Python constant EXIT_NOTMASTER exitNotmaster :: Int exitNotmaster = 11 -- | Converted from Python constant EXIT_SUCCESS exitSuccess :: Int exitSuccess = 0 -- | Converted from Python constant EXIT_UNKNOWN_FIELD exitUnknownField :: Int exitUnknownField = 14 -- | Converted from Python constant EXPORT_CONF_FILE exportConfFile :: String exportConfFile = "config.ini" -- | Converted from Python constant EXPORT_DIR exportDir :: String exportDir = "/srv/ganeti/export" -- Skipped EXPORT_MODES, <type 'frozenset'> not handled -- | Converted from Python constant EXPORT_MODE_LOCAL exportModeLocal :: String exportModeLocal = "local" -- | Converted from Python constant EXPORT_MODE_REMOTE exportModeRemote :: String exportModeRemote = "remote" -- | Converted from Python constant EXPORT_VERSION exportVersion :: Int exportVersion = 0 -- Skipped EXT_PLUGIN_MASK, <type '_sre.SRE_Pattern'> not handled -- | Converted from Python constant FD_BLKTAP fdBlktap :: String fdBlktap = "blktap" -- | Converted from Python constant FD_LOOP fdLoop :: String fdLoop = "loop" -- Skipped FILE_DRIVER, <type 'frozenset'> not handled -- | Converted from Python constant FIRST_DRBD_PORT firstDrbdPort :: Int firstDrbdPort = 11000 -- | Converted from Python constant GANETI_RUNAS ganetiRunas :: String ganetiRunas = "root" -- | Converted from Python constant HKR_FAIL hkrFail :: Int hkrFail = 1 -- | Converted from Python constant HKR_SKIP hkrSkip :: Int hkrSkip = 0 -- | Converted from Python constant HKR_SUCCESS hkrSuccess :: Int hkrSuccess = 2 -- | Converted from Python constant HOOKS_BASE_DIR hooksBaseDir :: String hooksBaseDir = "/usr/local/etc/ganeti/hooks" -- | Converted from Python constant HOOKS_NAME_CFGUPDATE hooksNameCfgupdate :: String hooksNameCfgupdate = "config-update" -- | Converted from Python constant HOOKS_NAME_WATCHER hooksNameWatcher :: String hooksNameWatcher = "watcher" -- | Converted from Python constant HOOKS_PATH hooksPath :: String hooksPath = "/sbin:/bin:/usr/sbin:/usr/bin" -- | Converted from Python constant HOOKS_PHASE_POST hooksPhasePost :: String hooksPhasePost = "post" -- | Converted from Python constant HOOKS_PHASE_PRE hooksPhasePre :: String hooksPhasePre = "pre" -- | Converted from Python constant HOOKS_VERSION hooksVersion :: Int hooksVersion = 2 -- | Converted from Python constant HTOOLS htools :: Int htools = 1 -- Skipped HTS_REQ_PORT, <type 'frozenset'> not handled -- | Converted from Python constant HTYPE_CLUSTER htypeCluster :: String htypeCluster = "CLUSTER" -- | Converted from Python constant HTYPE_GROUP htypeGroup :: String htypeGroup = "GROUP" -- | Converted from Python constant HTYPE_INSTANCE htypeInstance :: String htypeInstance = "INSTANCE" -- | Converted from Python constant HTYPE_NODE htypeNode :: String htypeNode = "NODE" -- | Converted from Python constant HT_BO_CDROM htBoCdrom :: String htBoCdrom = "cdrom" -- | Converted from Python constant HT_BO_DISK htBoDisk :: String htBoDisk = "disk" -- | Converted from Python constant HT_BO_FLOPPY htBoFloppy :: String htBoFloppy = "floppy" -- | Converted from Python constant HT_BO_NETWORK htBoNetwork :: String htBoNetwork = "network" -- | Converted from Python constant HT_CACHE_DEFAULT htCacheDefault :: String htCacheDefault = "default" -- | Converted from Python constant HT_CACHE_NONE htCacheNone :: String htCacheNone = "none" -- | Converted from Python constant HT_CACHE_WBACK htCacheWback :: String htCacheWback = "writeback" -- | Converted from Python constant HT_CACHE_WTHROUGH htCacheWthrough :: String htCacheWthrough = "writethrough" -- | Converted from Python constant HT_CHROOT htChroot :: String htChroot = "chroot" -- | Converted from Python constant HT_DISK_IDE htDiskIde :: String htDiskIde = "ide" -- | Converted from Python constant HT_DISK_IOEMU htDiskIoemu :: String htDiskIoemu = "ioemu" -- | Converted from Python constant HT_DISK_MTD htDiskMtd :: String htDiskMtd = "mtd" -- | Converted from Python constant HT_DISK_PARAVIRTUAL htDiskParavirtual :: String htDiskParavirtual = "paravirtual" -- | Converted from Python constant HT_DISK_PFLASH htDiskPflash :: String htDiskPflash = "pflash" -- | Converted from Python constant HT_DISK_SCSI htDiskScsi :: String htDiskScsi = "scsi" -- | Converted from Python constant HT_DISK_SD htDiskSd :: String htDiskSd = "sd" -- | Converted from Python constant HT_FAKE htFake :: String htFake = "fake" -- Skipped HT_HVM_VALID_DISK_TYPES, <type 'frozenset'> not handled -- Skipped HT_HVM_VALID_NIC_TYPES, <type 'frozenset'> not handled -- | Converted from Python constant HT_KVM htKvm :: String htKvm = "kvm" -- | Converted from Python constant HT_KVM_DISABLED htKvmDisabled :: String htKvmDisabled = "disabled" -- | Converted from Python constant HT_KVM_ENABLED htKvmEnabled :: String htKvmEnabled = "enabled" -- Skipped HT_KVM_FLAG_VALUES, <type 'frozenset'> not handled -- Skipped HT_KVM_VALID_BO_TYPES, <type 'frozenset'> not handled -- Skipped HT_KVM_VALID_DISK_TYPES, <type 'frozenset'> not handled -- Skipped HT_KVM_VALID_MOUSE_TYPES, <type 'frozenset'> not handled -- Skipped HT_KVM_VALID_NIC_TYPES, <type 'frozenset'> not handled -- Skipped HT_KVM_VALID_SM_TYPES, <type 'frozenset'> not handled -- | Converted from Python constant HT_LXC htLxc :: String htLxc = "lxc" -- | Converted from Python constant HT_MIGRATION_LIVE htMigrationLive :: String htMigrationLive = "live" -- Skipped HT_MIGRATION_MODES, <type 'frozenset'> not handled -- | Converted from Python constant HT_MIGRATION_NONLIVE htMigrationNonlive :: String htMigrationNonlive = "non-live" -- | Converted from Python constant HT_MOUSE_MOUSE htMouseMouse :: String htMouseMouse = "mouse" -- | Converted from Python constant HT_MOUSE_TABLET htMouseTablet :: String htMouseTablet = "tablet" -- | Converted from Python constant HT_NIC_E1000 htNicE1000 :: String htNicE1000 = "e1000" -- | Converted from Python constant HT_NIC_I82551 htNicI82551 :: String htNicI82551 = "i82551" -- | Converted from Python constant HT_NIC_I8259ER htNicI8259er :: String htNicI8259er = "i82559er" -- | Converted from Python constant HT_NIC_I85557B htNicI85557b :: String htNicI85557b = "i82557b" -- | Converted from Python constant HT_NIC_NE2K_ISA htNicNe2kIsa :: String htNicNe2kIsa = "ne2k_isa" -- | Converted from Python constant HT_NIC_NE2K_PCI htNicNe2kPci :: String htNicNe2kPci = "ne2k_pci" -- | Converted from Python constant HT_NIC_PARAVIRTUAL htNicParavirtual :: String htNicParavirtual = "paravirtual" -- | Converted from Python constant HT_NIC_PCNET htNicPcnet :: String htNicPcnet = "pcnet" -- | Converted from Python constant HT_NIC_RTL8139 htNicRtl8139 :: String htNicRtl8139 = "rtl8139" -- | Converted from Python constant HT_SM_NONE htSmNone :: String htSmNone = "none" -- | Converted from Python constant HT_SM_POOL htSmPool :: String htSmPool = "pool" -- | Converted from Python constant HT_SM_USER htSmUser :: String htSmUser = "user" -- Skipped HT_VALID_CACHE_TYPES, <type 'frozenset'> not handled -- | Converted from Python constant HT_XEN_HVM htXenHvm :: String htXenHvm = "xen-hvm" -- | Converted from Python constant HT_XEN_PVM htXenPvm :: String htXenPvm = "xen-pvm" -- Skipped HVC_DEFAULTS, <type 'dict'> not handled -- Skipped HVC_GLOBALS, <type 'frozenset'> not handled -- Skipped HVS_PARAMETERS, <type 'frozenset'> not handled -- Skipped HVS_PARAMETER_TYPES, <type 'dict'> not handled -- | Converted from Python constant HV_ACPI hvAcpi :: String hvAcpi = "acpi" -- | Converted from Python constant HV_BLOCKDEV_PREFIX hvBlockdevPrefix :: String hvBlockdevPrefix = "blockdev_prefix" -- | Converted from Python constant HV_BOOTLOADER_ARGS hvBootloaderArgs :: String hvBootloaderArgs = "bootloader_args" -- | Converted from Python constant HV_BOOTLOADER_PATH hvBootloaderPath :: String hvBootloaderPath = "bootloader_path" -- | Converted from Python constant HV_BOOT_ORDER hvBootOrder :: String hvBootOrder = "boot_order" -- | Converted from Python constant HV_CDROM_IMAGE_PATH hvCdromImagePath :: String hvCdromImagePath = "cdrom_image_path" -- | Converted from Python constant HV_CPU_MASK hvCpuMask :: String hvCpuMask = "cpu_mask" -- | Converted from Python constant HV_DEVICE_MODEL hvDeviceModel :: String hvDeviceModel = "device_model" -- | Converted from Python constant HV_DISK_CACHE hvDiskCache :: String hvDiskCache = "disk_cache" -- | Converted from Python constant HV_DISK_TYPE hvDiskType :: String hvDiskType = "disk_type" -- | Converted from Python constant HV_INITRD_PATH hvInitrdPath :: String hvInitrdPath = "initrd_path" -- | Converted from Python constant HV_INIT_SCRIPT hvInitScript :: String hvInitScript = "init_script" -- | Converted from Python constant HV_KERNEL_ARGS hvKernelArgs :: String hvKernelArgs = "kernel_args" -- | Converted from Python constant HV_KERNEL_PATH hvKernelPath :: String hvKernelPath = "kernel_path" -- | Converted from Python constant HV_KEYMAP hvKeymap :: String hvKeymap = "keymap" -- | Converted from Python constant HV_KVM_CDROM2_IMAGE_PATH hvKvmCdrom2ImagePath :: String hvKvmCdrom2ImagePath = "cdrom2_image_path" -- | Converted from Python constant HV_KVM_CDROM_DISK_TYPE hvKvmCdromDiskType :: String hvKvmCdromDiskType = "cdrom_disk_type" -- | Converted from Python constant HV_KVM_FLAG hvKvmFlag :: String hvKvmFlag = "kvm_flag" -- | Converted from Python constant HV_KVM_FLOPPY_IMAGE_PATH hvKvmFloppyImagePath :: String hvKvmFloppyImagePath = "floppy_image_path" -- | Converted from Python constant HV_KVM_SPICE_BIND hvKvmSpiceBind :: String hvKvmSpiceBind = "spice_bind" -- | Converted from Python constant HV_KVM_SPICE_IP_VERSION hvKvmSpiceIpVersion :: String hvKvmSpiceIpVersion = "spice_ip_version" -- | Converted from Python constant HV_KVM_USE_CHROOT hvKvmUseChroot :: String hvKvmUseChroot = "use_chroot" -- | Converted from Python constant HV_MEM_PATH hvMemPath :: String hvMemPath = "mem_path" -- | Converted from Python constant HV_MIGRATION_BANDWIDTH hvMigrationBandwidth :: String hvMigrationBandwidth = "migration_bandwidth" -- | Converted from Python constant HV_MIGRATION_DOWNTIME hvMigrationDowntime :: String hvMigrationDowntime = "migration_downtime" -- | Converted from Python constant HV_MIGRATION_MODE hvMigrationMode :: String hvMigrationMode = "migration_mode" -- | Converted from Python constant HV_MIGRATION_PORT hvMigrationPort :: String hvMigrationPort = "migration_port" -- | Converted from Python constant HV_NIC_TYPE hvNicType :: String hvNicType = "nic_type" -- | Converted from Python constant HV_PAE hvPae :: String hvPae = "pae" -- | Converted from Python constant HV_REBOOT_BEHAVIOR hvRebootBehavior :: String hvRebootBehavior = "reboot_behavior" -- | Converted from Python constant HV_ROOT_PATH hvRootPath :: String hvRootPath = "root_path" -- | Converted from Python constant HV_SECURITY_DOMAIN hvSecurityDomain :: String hvSecurityDomain = "security_domain" -- | Converted from Python constant HV_SECURITY_MODEL hvSecurityModel :: String hvSecurityModel = "security_model" -- | Converted from Python constant HV_SERIAL_CONSOLE hvSerialConsole :: String hvSerialConsole = "serial_console" -- | Converted from Python constant HV_USB_MOUSE hvUsbMouse :: String hvUsbMouse = "usb_mouse" -- | Converted from Python constant HV_USE_BOOTLOADER hvUseBootloader :: String hvUseBootloader = "use_bootloader" -- | Converted from Python constant HV_USE_LOCALTIME hvUseLocaltime :: String hvUseLocaltime = "use_localtime" -- | Converted from Python constant HV_VHOST_NET hvVhostNet :: String hvVhostNet = "vhost_net" -- | Converted from Python constant HV_VNC_BIND_ADDRESS hvVncBindAddress :: String hvVncBindAddress = "vnc_bind_address" -- | Converted from Python constant HV_VNC_PASSWORD_FILE hvVncPasswordFile :: String hvVncPasswordFile = "vnc_password_file" -- | Converted from Python constant HV_VNC_TLS hvVncTls :: String hvVncTls = "vnc_tls" -- | Converted from Python constant HV_VNC_X509 hvVncX509 :: String hvVncX509 = "vnc_x509_path" -- | Converted from Python constant HV_VNC_X509_VERIFY hvVncX509Verify :: String hvVncX509Verify = "vnc_x509_verify" -- Skipped HYPER_TYPES, <type 'frozenset'> not handled -- | Converted from Python constant IALLOCATOR_DIR_IN iallocatorDirIn :: String iallocatorDirIn = "in" -- | Converted from Python constant IALLOCATOR_DIR_OUT iallocatorDirOut :: String iallocatorDirOut = "out" -- | Converted from Python constant IALLOCATOR_MODE_ALLOC iallocatorModeAlloc :: String iallocatorModeAlloc = "allocate" -- | Converted from Python constant IALLOCATOR_MODE_CHG_GROUP iallocatorModeChgGroup :: String iallocatorModeChgGroup = "change-group" -- | Converted from Python constant IALLOCATOR_MODE_NODE_EVAC iallocatorModeNodeEvac :: String iallocatorModeNodeEvac = "node-evacuate" -- | Converted from Python constant IALLOCATOR_MODE_RELOC iallocatorModeReloc :: String iallocatorModeReloc = "relocate" -- | Converted from Python constant IALLOCATOR_NEVAC_ALL iallocatorNevacAll :: String iallocatorNevacAll = "all" -- Skipped IALLOCATOR_NEVAC_MODES, <type 'frozenset'> not handled -- | Converted from Python constant IALLOCATOR_NEVAC_PRI iallocatorNevacPri :: String iallocatorNevacPri = "primary-only" -- | Converted from Python constant IALLOCATOR_NEVAC_SEC iallocatorNevacSec :: String iallocatorNevacSec = "secondary-only" -- Skipped IALLOCATOR_SEARCH_PATH, <type 'list'> not handled -- | Converted from Python constant IALLOCATOR_VERSION iallocatorVersion :: Int iallocatorVersion = 2 -- | Converted from Python constant IALLOC_HAIL iallocHail :: String iallocHail = "hail" -- | Converted from Python constant IDISK_ADOPT idiskAdopt :: String idiskAdopt = "adopt" -- | Converted from Python constant IDISK_METAVG idiskMetavg :: String idiskMetavg = "metavg" -- | Converted from Python constant IDISK_MODE idiskMode :: String idiskMode = "mode" -- Skipped IDISK_PARAMS, <type 'frozenset'> not handled -- Skipped IDISK_PARAMS_TYPES, <type 'dict'> not handled -- | Converted from Python constant IDISK_SIZE idiskSize :: String idiskSize = "size" -- | Converted from Python constant IDISK_VG idiskVg :: String idiskVg = "vg" -- Skipped IEC_ALL, <type 'frozenset'> not handled -- | Converted from Python constant IEC_GZIP iecGzip :: String iecGzip = "gzip" -- | Converted from Python constant IEC_NONE iecNone :: String iecNone = "none" -- | Converted from Python constant IEIO_FILE ieioFile :: String ieioFile = "file" -- | Converted from Python constant IEIO_RAW_DISK ieioRawDisk :: String ieioRawDisk = "raw" -- | Converted from Python constant IEIO_SCRIPT ieioScript :: String ieioScript = "script" -- | Converted from Python constant IEM_EXPORT iemExport :: String iemExport = "export" -- | Converted from Python constant IEM_IMPORT iemImport :: String iemImport = "import" -- | Converted from Python constant IE_CUSTOM_SIZE ieCustomSize :: String ieCustomSize = "fd" -- Skipped IE_MAGIC_RE, <type '_sre.SRE_Pattern'> not handled -- | Converted from Python constant IFACE_NO_IP_VERSION_SPECIFIED ifaceNoIpVersionSpecified :: Int ifaceNoIpVersionSpecified = 0 -- | Converted from Python constant IMPORT_EXPORT_DAEMON importExportDaemon :: String importExportDaemon = "/usr/local/lib/ganeti/import-export" -- | Converted from Python constant IMPORT_EXPORT_DIR importExportDir :: String importExportDir = "/usr/local/var/run/ganeti/import-export" -- | Converted from Python constant IMPORT_EXPORT_DIR_MODE importExportDirMode :: Int importExportDirMode = 493 -- | Converted from Python constant INIC_IP inicIp :: String inicIp = "ip" -- | Converted from Python constant INIC_LINK inicLink :: String inicLink = "link" -- | Converted from Python constant INIC_MAC inicMac :: String inicMac = "mac" -- | Converted from Python constant INIC_MODE inicMode :: String inicMode = "mode" -- Skipped INIC_PARAMS, <type 'frozenset'> not handled -- Skipped INIC_PARAMS_TYPES, <type 'dict'> not handled -- | Converted from Python constant INISECT_BEP inisectBep :: String inisectBep = "backend" -- | Converted from Python constant INISECT_EXP inisectExp :: String inisectExp = "export" -- | Converted from Python constant INISECT_HYP inisectHyp :: String inisectHyp = "hypervisor" -- | Converted from Python constant INISECT_INS inisectIns :: String inisectIns = "instance" -- | Converted from Python constant INISECT_OSP inisectOsp :: String inisectOsp = "os" -- | Converted from Python constant INITIAL_NODE_GROUP_NAME initialNodeGroupName :: String initialNodeGroupName = "default" -- | Converted from Python constant INSTANCE_CREATE instanceCreate :: String instanceCreate = "create" -- Skipped INSTANCE_CREATE_MODES, <type 'frozenset'> not handled -- | Converted from Python constant INSTANCE_IMPORT instanceImport :: String instanceImport = "import" -- | Converted from Python constant INSTANCE_REBOOT_ALLOWED instanceRebootAllowed :: String instanceRebootAllowed = "reboot" -- | Converted from Python constant INSTANCE_REBOOT_EXIT instanceRebootExit :: String instanceRebootExit = "exit" -- | Converted from Python constant INSTANCE_REBOOT_FULL instanceRebootFull :: String instanceRebootFull = "full" -- | Converted from Python constant INSTANCE_REBOOT_HARD instanceRebootHard :: String instanceRebootHard = "hard" -- | Converted from Python constant INSTANCE_REBOOT_SOFT instanceRebootSoft :: String instanceRebootSoft = "soft" -- | Converted from Python constant INSTANCE_REMOTE_IMPORT instanceRemoteImport :: String instanceRemoteImport = "remote-import" -- | Converted from Python constant INSTANCE_STATUS_FILE instanceStatusFile :: String instanceStatusFile = "/usr/local/var/run/ganeti/instance-status" -- | Converted from Python constant INSTST_ADMINDOWN inststAdmindown :: String inststAdmindown = "ADMIN_down" -- Skipped INSTST_ALL, <type 'frozenset'> not handled -- | Converted from Python constant INSTST_ERRORDOWN inststErrordown :: String inststErrordown = "ERROR_down" -- | Converted from Python constant INSTST_ERRORUP inststErrorup :: String inststErrorup = "ERROR_up" -- | Converted from Python constant INSTST_NODEDOWN inststNodedown :: String inststNodedown = "ERROR_nodedown" -- | Converted from Python constant INSTST_NODEOFFLINE inststNodeoffline :: String inststNodeoffline = "ERROR_nodeoffline" -- | Converted from Python constant INSTST_RUNNING inststRunning :: String inststRunning = "running" -- | Converted from Python constant INSTST_WRONGNODE inststWrongnode :: String inststWrongnode = "ERROR_wrongnode" -- | Converted from Python constant IP4_ADDRESS_ANY ip4AddressAny :: String ip4AddressAny = "0.0.0.0" -- | Converted from Python constant IP4_ADDRESS_LOCALHOST ip4AddressLocalhost :: String ip4AddressLocalhost = "127.0.0.1" -- | Converted from Python constant IP4_VERSION ip4Version :: Int ip4Version = 4 -- | Converted from Python constant IP6_ADDRESS_ANY ip6AddressAny :: String ip6AddressAny = "::" -- | Converted from Python constant IP6_ADDRESS_LOCALHOST ip6AddressLocalhost :: String ip6AddressLocalhost = "::1" -- | Converted from Python constant IP6_VERSION ip6Version :: Int ip6Version = 6 -- | Converted from Python constant IP_COMMAND_PATH ipCommandPath :: String ipCommandPath = "/bin/ip" -- Skipped JOBS_FINALIZED, <type 'frozenset'> not handled -- Skipped JOB_FILE_RE, <type '_sre.SRE_Pattern'> not handled -- | Converted from Python constant JOB_IDS_KEY jobIdsKey :: String jobIdsKey = "jobs" -- | Converted from Python constant JOB_ID_TEMPLATE jobIdTemplate :: String jobIdTemplate = "\\d+" -- | Converted from Python constant JOB_NOTCHANGED jobNotchanged :: String jobNotchanged = "nochange" -- | Converted from Python constant JOB_QUEUE_ARCHIVE_DIR jobQueueArchiveDir :: String jobQueueArchiveDir = "/usr/local/var/lib/ganeti/queue/archive" -- Skipped JOB_QUEUE_DIRS, <type 'list'> not handled -- | Converted from Python constant JOB_QUEUE_DIRS_MODE jobQueueDirsMode :: Int jobQueueDirsMode = 448 -- | Converted from Python constant JOB_QUEUE_DRAIN_FILE jobQueueDrainFile :: String jobQueueDrainFile = "/usr/local/var/lib/ganeti/queue/drain" -- | Converted from Python constant JOB_QUEUE_LOCK_FILE jobQueueLockFile :: String jobQueueLockFile = "/usr/local/var/lib/ganeti/queue/lock" -- | Converted from Python constant JOB_QUEUE_SERIAL_FILE jobQueueSerialFile :: String jobQueueSerialFile = "/usr/local/var/lib/ganeti/queue/serial" -- | Converted from Python constant JOB_QUEUE_SIZE_HARD_LIMIT jobQueueSizeHardLimit :: Int jobQueueSizeHardLimit = 5000 -- | Converted from Python constant JOB_QUEUE_VERSION jobQueueVersion :: Int jobQueueVersion = 1 -- | Converted from Python constant JOB_QUEUE_VERSION_FILE jobQueueVersionFile :: String jobQueueVersionFile = "/usr/local/var/lib/ganeti/queue/version" -- Skipped JOB_STATUS_ALL, <type 'frozenset'> not handled -- | Converted from Python constant JOB_STATUS_CANCELED jobStatusCanceled :: String jobStatusCanceled = "canceled" -- | Converted from Python constant JOB_STATUS_CANCELING jobStatusCanceling :: String jobStatusCanceling = "canceling" -- | Converted from Python constant JOB_STATUS_ERROR jobStatusError :: String jobStatusError = "error" -- | Converted from Python constant JOB_STATUS_QUEUED jobStatusQueued :: String jobStatusQueued = "queued" -- | Converted from Python constant JOB_STATUS_RUNNING jobStatusRunning :: String jobStatusRunning = "running" -- | Converted from Python constant JOB_STATUS_SUCCESS jobStatusSuccess :: String jobStatusSuccess = "success" -- | Converted from Python constant JOB_STATUS_WAITING jobStatusWaiting :: String jobStatusWaiting = "waiting" -- Skipped JQT_ALL, <type 'frozenset'> not handled -- | Converted from Python constant JQT_EXEC jqtExec :: String jqtExec = "exec" -- | Converted from Python constant JQT_EXPANDNAMES jqtExpandnames :: String jqtExpandnames = "expandnames" -- | Converted from Python constant JQT_LOGMSG jqtLogmsg :: String jqtLogmsg = "logmsg" -- | Converted from Python constant JQT_MSGPREFIX jqtMsgprefix :: String jqtMsgprefix = "TESTMSG=" -- | Converted from Python constant JQT_STARTMSG jqtStartmsg :: String jqtStartmsg = "startmsg" -- | Converted from Python constant KVM_CONSOLE_WRAPPER kvmConsoleWrapper :: String kvmConsoleWrapper = "/usr/local/lib/ganeti/tools/kvm-console-wrapper" -- | Converted from Python constant KVM_IFUP kvmIfup :: String kvmIfup = "/usr/local/lib/ganeti/kvm-ifup" -- | Converted from Python constant KVM_PATH kvmPath :: String kvmPath = "/usr/bin/kvm" -- | Converted from Python constant LAST_DRBD_PORT lastDrbdPort :: Int lastDrbdPort = 14999 -- Skipped LDS_BLOCK, <type 'frozenset'> not handled -- Skipped LDS_DRBD, <type 'frozenset'> not handled -- | Converted from Python constant LDS_FAULTY ldsFaulty :: Int ldsFaulty = 3 -- | Converted from Python constant LDS_OKAY ldsOkay :: Int ldsOkay = 1 -- | Converted from Python constant LDS_UNKNOWN ldsUnknown :: Int ldsUnknown = 2 -- | Converted from Python constant LD_BLOCKDEV ldBlockdev :: String ldBlockdev = "blockdev" -- | Converted from Python constant LD_DRBD8 ldDrbd8 :: String ldDrbd8 = "drbd8" -- | Converted from Python constant LD_FILE ldFile :: String ldFile = "file" -- | Converted from Python constant LD_LV ldLv :: String ldLv = "lvm" -- | Converted from Python constant LOCKS_APPEND locksAppend :: String locksAppend = "append" -- | Converted from Python constant LOCKS_REPLACE locksReplace :: String locksReplace = "replace" -- | Converted from Python constant LOCK_ATTEMPTS_MAXWAIT lockAttemptsMaxwait :: Double lockAttemptsMaxwait = 15.000000 -- | Converted from Python constant LOCK_ATTEMPTS_MINWAIT lockAttemptsMinwait :: Double lockAttemptsMinwait = 1.000000 -- | Converted from Python constant LOCK_ATTEMPTS_TIMEOUT lockAttemptsTimeout :: Double lockAttemptsTimeout = 1800.000000 -- | Converted from Python constant LOCK_DIR lockDir :: String lockDir = "/usr/local/var/lock" -- | Converted from Python constant LOG_BURNIN logBurnin :: String logBurnin = "/usr/local/var/log/ganeti/burnin.log" -- | Converted from Python constant LOG_COMMANDS logCommands :: String logCommands = "/usr/local/var/log/ganeti/commands.log" -- | Converted from Python constant LOG_DIR logDir :: String logDir = "/usr/local/var/log/ganeti/" -- | Converted from Python constant LOG_OS_DIR logOsDir :: String logOsDir = "/usr/local/var/log/ganeti/os" -- | Converted from Python constant LOG_SETUP_SSH logSetupSsh :: String logSetupSsh = "/usr/local/var/log/ganeti/setup-ssh.log" -- | Converted from Python constant LOG_WATCHER logWatcher :: String logWatcher = "/usr/local/var/log/ganeti/watcher.log" -- | Converted from Python constant LUXI_EOM luxiEom :: String luxiEom = "\x03" -- | Converted from Python constant LUXI_VERSION luxiVersion :: Int luxiVersion = 2050000 -- | Converted from Python constant LVM_STRIPECOUNT lvmStripecount :: Int lvmStripecount = 1 -- | Converted from Python constant MASTERD masterd :: String masterd = "ganeti-masterd" -- | Converted from Python constant MASTERD_GROUP masterdGroup :: String masterdGroup = "root" -- | Converted from Python constant MASTERD_USER masterdUser :: String masterdUser = "root" -- | Converted from Python constant MASTER_POOL_SIZE_DEFAULT masterPoolSizeDefault :: Int masterPoolSizeDefault = 10 -- | Converted from Python constant MASTER_SCRIPT masterScript :: String masterScript = "ganeti-master" -- | Converted from Python constant MASTER_SOCKET masterSocket :: String masterSocket = "/usr/local/var/run/ganeti/socket/ganeti-master" -- | Converted from Python constant MAX_DISKS maxDisks :: Int maxDisks = 16 -- | Converted from Python constant MAX_NICS maxNics :: Int maxNics = 8 -- | Converted from Python constant MAX_TAGS_PER_OBJ maxTagsPerObj :: Int maxTagsPerObj = 4096 -- | Converted from Python constant MAX_TAG_LEN maxTagLen :: Int maxTagLen = 128 -- | Converted from Python constant MAX_UDP_DATA_SIZE maxUdpDataSize :: Int maxUdpDataSize = 61440 -- | Converted from Python constant MAX_WIPE_CHUNK maxWipeChunk :: Int maxWipeChunk = 1024 -- | Converted from Python constant MIN_VG_SIZE minVgSize :: Int minVgSize = 20480 -- | Converted from Python constant MIN_WIPE_CHUNK_PERCENT minWipeChunkPercent :: Int minWipeChunkPercent = 10 -- Skipped MODIFIABLE_STORAGE_FIELDS, <type 'dict'> not handled -- Skipped NDC_DEFAULTS, <type 'dict'> not handled -- Skipped NDS_PARAMETERS, <type 'frozenset'> not handled -- Skipped NDS_PARAMETER_TYPES, <type 'dict'> not handled -- | Converted from Python constant ND_OOB_PROGRAM ndOobProgram :: String ndOobProgram = "oob_program" -- Skipped NICC_DEFAULTS, <type 'dict'> not handled -- Skipped NICS_PARAMETERS, <type 'frozenset'> not handled -- Skipped NICS_PARAMETER_TYPES, <type 'dict'> not handled -- | Converted from Python constant NIC_LINK nicLink :: String nicLink = "link" -- | Converted from Python constant NIC_MODE nicMode :: String nicMode = "mode" -- | Converted from Python constant NIC_MODE_BRIDGED nicModeBridged :: String nicModeBridged = "bridged" -- | Converted from Python constant NIC_MODE_ROUTED nicModeRouted :: String nicModeRouted = "routed" -- Skipped NIC_VALID_MODES, <type 'frozenset'> not handled -- | Converted from Python constant NLD nld :: String nld = "ganeti-nld" -- | Converted from Python constant NODED noded :: String noded = "ganeti-noded" -- | Converted from Python constant NODED_CERT_FILE nodedCertFile :: String nodedCertFile = "/usr/local/var/lib/ganeti/server.pem" -- | Converted from Python constant NODED_GROUP nodedGroup :: String nodedGroup = "root" -- | Converted from Python constant NODED_USER nodedUser :: String nodedUser = "root" -- | Converted from Python constant NODE_MAX_CLOCK_SKEW nodeMaxClockSkew :: Int nodeMaxClockSkew = 150 -- Skipped NR_ALL, <type 'frozenset'> not handled -- | Converted from Python constant NR_DRAINED nrDrained :: String nrDrained = "D" -- | Converted from Python constant NR_MASTER nrMaster :: String nrMaster = "M" -- | Converted from Python constant NR_MCANDIDATE nrMcandidate :: String nrMcandidate = "C" -- | Converted from Python constant NR_OFFLINE nrOffline :: String nrOffline = "O" -- | Converted from Python constant NR_REGULAR nrRegular :: String nrRegular = "R" -- | Converted from Python constant NV_BRIDGES nvBridges :: String nvBridges = "bridges" -- | Converted from Python constant NV_DRBDHELPER nvDrbdhelper :: String nvDrbdhelper = "drbd-helper" -- | Converted from Python constant NV_DRBDLIST nvDrbdlist :: String nvDrbdlist = "drbd-list" -- | Converted from Python constant NV_FILELIST nvFilelist :: String nvFilelist = "filelist" -- | Converted from Python constant NV_HVINFO nvHvinfo :: String nvHvinfo = "hvinfo" -- | Converted from Python constant NV_HVPARAMS nvHvparams :: String nvHvparams = "hvparms" -- | Converted from Python constant NV_HYPERVISOR nvHypervisor :: String nvHypervisor = "hypervisor" -- | Converted from Python constant NV_INSTANCELIST nvInstancelist :: String nvInstancelist = "instancelist" -- | Converted from Python constant NV_LVLIST nvLvlist :: String nvLvlist = "lvlist" -- | Converted from Python constant NV_MASTERIP nvMasterip :: String nvMasterip = "master-ip" -- | Converted from Python constant NV_NODELIST nvNodelist :: String nvNodelist = "nodelist" -- | Converted from Python constant NV_NODENETTEST nvNodenettest :: String nvNodenettest = "node-net-test" -- | Converted from Python constant NV_NODESETUP nvNodesetup :: String nvNodesetup = "nodesetup" -- | Converted from Python constant NV_OOB_PATHS nvOobPaths :: String nvOobPaths = "oob-paths" -- | Converted from Python constant NV_OSLIST nvOslist :: String nvOslist = "oslist" -- | Converted from Python constant NV_PVLIST nvPvlist :: String nvPvlist = "pvlist" -- | Converted from Python constant NV_TIME nvTime :: String nvTime = "time" -- | Converted from Python constant NV_VERSION nvVersion :: String nvVersion = "version" -- | Converted from Python constant NV_VGLIST nvVglist :: String nvVglist = "vglist" -- | Converted from Python constant NV_VMNODES nvVmnodes :: String nvVmnodes = "vmnodes" -- Skipped OOB_COMMANDS, <type 'frozenset'> not handled -- | Converted from Python constant OOB_HEALTH oobHealth :: String oobHealth = "health" -- | Converted from Python constant OOB_POWER_CYCLE oobPowerCycle :: String oobPowerCycle = "power-cycle" -- | Converted from Python constant OOB_POWER_DELAY oobPowerDelay :: Double oobPowerDelay = 2.000000 -- | Converted from Python constant OOB_POWER_OFF oobPowerOff :: String oobPowerOff = "power-off" -- | Converted from Python constant OOB_POWER_ON oobPowerOn :: String oobPowerOn = "power-on" -- | Converted from Python constant OOB_POWER_STATUS oobPowerStatus :: String oobPowerStatus = "power-status" -- | Converted from Python constant OOB_POWER_STATUS_POWERED oobPowerStatusPowered :: String oobPowerStatusPowered = "powered" -- Skipped OOB_STATUSES, <type 'frozenset'> not handled -- | Converted from Python constant OOB_STATUS_CRITICAL oobStatusCritical :: String oobStatusCritical = "CRITICAL" -- | Converted from Python constant OOB_STATUS_OK oobStatusOk :: String oobStatusOk = "OK" -- | Converted from Python constant OOB_STATUS_UNKNOWN oobStatusUnknown :: String oobStatusUnknown = "UNKNOWN" -- | Converted from Python constant OOB_STATUS_WARNING oobStatusWarning :: String oobStatusWarning = "WARNING" -- | Converted from Python constant OOB_TIMEOUT oobTimeout :: Int oobTimeout = 60 -- | Converted from Python constant OPENSSL_CIPHERS opensslCiphers :: String opensslCiphers = "HIGH:-DES:-3DES:-EXPORT:-ADH" -- Skipped OPS_FINALIZED, <type 'frozenset'> not handled -- | Converted from Python constant OP_PRIO_DEFAULT opPrioDefault :: Int opPrioDefault = 0 -- | Converted from Python constant OP_PRIO_HIGH opPrioHigh :: Int opPrioHigh = -10 -- | Converted from Python constant OP_PRIO_HIGHEST opPrioHighest :: Int opPrioHighest = -20 -- | Converted from Python constant OP_PRIO_LOW opPrioLow :: Int opPrioLow = 10 -- | Converted from Python constant OP_PRIO_LOWEST opPrioLowest :: Int opPrioLowest = 19 -- | Converted from Python constant OP_PRIO_NORMAL opPrioNormal :: Int opPrioNormal = 0 -- Skipped OP_PRIO_SUBMIT_VALID, <type 'frozenset'> not handled -- | Converted from Python constant OP_STATUS_CANCELED opStatusCanceled :: String opStatusCanceled = "canceled" -- | Converted from Python constant OP_STATUS_CANCELING opStatusCanceling :: String opStatusCanceling = "canceling" -- | Converted from Python constant OP_STATUS_ERROR opStatusError :: String opStatusError = "error" -- | Converted from Python constant OP_STATUS_QUEUED opStatusQueued :: String opStatusQueued = "queued" -- | Converted from Python constant OP_STATUS_RUNNING opStatusRunning :: String opStatusRunning = "running" -- | Converted from Python constant OP_STATUS_SUCCESS opStatusSuccess :: String opStatusSuccess = "success" -- | Converted from Python constant OP_STATUS_WAITING opStatusWaiting :: String opStatusWaiting = "waiting" -- | Converted from Python constant OS_API_FILE osApiFile :: String osApiFile = "ganeti_api_version" -- | Converted from Python constant OS_API_V10 osApiV10 :: Int osApiV10 = 10 -- | Converted from Python constant OS_API_V15 osApiV15 :: Int osApiV15 = 15 -- | Converted from Python constant OS_API_V20 osApiV20 :: Int osApiV20 = 20 -- Skipped OS_API_VERSIONS, <type 'frozenset'> not handled -- | Converted from Python constant OS_PARAMETERS_FILE osParametersFile :: String osParametersFile = "parameters.list" -- Skipped OS_SCRIPTS, <type 'frozenset'> not handled -- | Converted from Python constant OS_SCRIPT_CREATE osScriptCreate :: String osScriptCreate = "create" -- | Converted from Python constant OS_SCRIPT_EXPORT osScriptExport :: String osScriptExport = "export" -- | Converted from Python constant OS_SCRIPT_IMPORT osScriptImport :: String osScriptImport = "import" -- | Converted from Python constant OS_SCRIPT_RENAME osScriptRename :: String osScriptRename = "rename" -- | Converted from Python constant OS_SCRIPT_VERIFY osScriptVerify :: String osScriptVerify = "verify" -- Skipped OS_SEARCH_PATH, <type 'list'> not handled -- Skipped OS_VALIDATE_CALLS, <type 'frozenset'> not handled -- | Converted from Python constant OS_VALIDATE_PARAMETERS osValidateParameters :: String osValidateParameters = "parameters" -- | Converted from Python constant OS_VARIANTS_FILE osVariantsFile :: String osVariantsFile = "variants.list" -- | Converted from Python constant PGREP pgrep :: String pgrep = "pgrep" -- | Converted from Python constant PP_DEFAULT ppDefault :: String ppDefault = "default" -- | Converted from Python constant PROC_MOUNTS procMounts :: String procMounts = "/proc/mounts" -- | Converted from Python constant PROTOCOL_VERSION protocolVersion :: Int protocolVersion = 2050000 -- Skipped QFT_ALL, <type 'frozenset'> not handled -- | Converted from Python constant QFT_BOOL qftBool :: String qftBool = "bool" -- | Converted from Python constant QFT_NUMBER qftNumber :: String qftNumber = "number" -- | Converted from Python constant QFT_OTHER qftOther :: String qftOther = "other" -- | Converted from Python constant QFT_TEXT qftText :: String qftText = "text" -- | Converted from Python constant QFT_TIMESTAMP qftTimestamp :: String qftTimestamp = "timestamp" -- | Converted from Python constant QFT_UNIT qftUnit :: String qftUnit = "unit" -- | Converted from Python constant QFT_UNKNOWN qftUnknown :: String qftUnknown = "unknown" -- | Converted from Python constant QR_GROUP qrGroup :: String qrGroup = "group" -- | Converted from Python constant QR_INSTANCE qrInstance :: String qrInstance = "instance" -- | Converted from Python constant QR_LOCK qrLock :: String qrLock = "lock" -- | Converted from Python constant QR_NODE qrNode :: String qrNode = "node" -- | Converted from Python constant QR_OS qrOs :: String qrOs = "os" -- Skipped QR_VIA_LUXI, <type 'frozenset'> not handled -- Skipped QR_VIA_OP, <type 'frozenset'> not handled -- Skipped QR_VIA_RAPI, <type 'frozenset'> not handled -- | Converted from Python constant QUEUE_DIR queueDir :: String queueDir = "/usr/local/var/lib/ganeti/queue" -- | Converted from Python constant RAPI rapi :: String rapi = "ganeti-rapi" -- | Converted from Python constant RAPI_CERT_FILE rapiCertFile :: String rapiCertFile = "/usr/local/var/lib/ganeti/rapi.pem" -- | Converted from Python constant RAPI_GROUP rapiGroup :: String rapiGroup = "root" -- | Converted from Python constant RAPI_USER rapiUser :: String rapiUser = "root" -- | Converted from Python constant RAPI_USERS_FILE rapiUsersFile :: String rapiUsersFile = "/usr/local/var/lib/ganeti/rapi/users" -- | Converted from Python constant RAPI_VERSION rapiVersion :: Int rapiVersion = 2 -- Skipped REBOOT_BEHAVIORS, <type 'frozenset'> not handled -- Skipped REBOOT_TYPES, <type 'frozenset'> not handled -- | Converted from Python constant RELEASE_VERSION releaseVersion :: String releaseVersion = "2.5.2" -- | Converted from Python constant REPLACE_DISK_AUTO replaceDiskAuto :: String replaceDiskAuto = "replace_auto" -- | Converted from Python constant REPLACE_DISK_CHG replaceDiskChg :: String replaceDiskChg = "replace_new_secondary" -- | Converted from Python constant REPLACE_DISK_PRI replaceDiskPri :: String replaceDiskPri = "replace_on_primary" -- | Converted from Python constant REPLACE_DISK_SEC replaceDiskSec :: String replaceDiskSec = "replace_on_secondary" -- Skipped REPLACE_MODES, <type 'frozenset'> not handled -- | Converted from Python constant RIE_CERT_VALIDITY rieCertValidity :: Int rieCertValidity = 86400 -- | Converted from Python constant RIE_CONNECT_ATTEMPT_TIMEOUT rieConnectAttemptTimeout :: Int rieConnectAttemptTimeout = 20 -- | Converted from Python constant RIE_CONNECT_RETRIES rieConnectRetries :: Int rieConnectRetries = 10 -- | Converted from Python constant RIE_CONNECT_TIMEOUT rieConnectTimeout :: Int rieConnectTimeout = 180 -- | Converted from Python constant RIE_HANDSHAKE rieHandshake :: String rieHandshake = "Hi, I\'m Ganeti" -- | Converted from Python constant RIE_VERSION rieVersion :: Int rieVersion = 0 -- | Converted from Python constant RPC_ENCODING_NONE rpcEncodingNone :: Int rpcEncodingNone = 0 -- | Converted from Python constant RPC_ENCODING_ZLIB_BASE64 rpcEncodingZlibBase64 :: Int rpcEncodingZlibBase64 = 1 -- | Converted from Python constant RSA_KEY_BITS rsaKeyBits :: Int rsaKeyBits = 2048 -- Skipped RSS_DESCRIPTION, <type 'dict'> not handled -- Skipped RS_ALL, <type 'frozenset'> not handled -- | Converted from Python constant RS_NODATA rsNodata :: Int rsNodata = 2 -- | Converted from Python constant RS_NORMAL rsNormal :: Int rsNormal = 0 -- | Converted from Python constant RS_OFFLINE rsOffline :: Int rsOffline = 4 -- | Converted from Python constant RS_UNAVAIL rsUnavail :: Int rsUnavail = 3 -- | Converted from Python constant RS_UNKNOWN rsUnknown :: Int rsUnknown = 1 -- | Converted from Python constant RUNPARTS_ERR runpartsErr :: Int runpartsErr = 2 -- | Converted from Python constant RUNPARTS_RUN runpartsRun :: Int runpartsRun = 1 -- | Converted from Python constant RUNPARTS_SKIP runpartsSkip :: Int runpartsSkip = 0 -- Skipped RUNPARTS_STATUS, <type 'frozenset'> not handled -- | Converted from Python constant RUN_DIR runDir :: String runDir = "/usr/local/var/run" -- | Converted from Python constant RUN_DIRS_MODE runDirsMode :: Int runDirsMode = 509 -- | Converted from Python constant RUN_GANETI_DIR runGanetiDir :: String runGanetiDir = "/usr/local/var/run/ganeti" -- | Converted from Python constant SCP scp :: String scp = "scp" -- | Converted from Python constant SECURE_DIR_MODE secureDirMode :: Int secureDirMode = 448 -- | Converted from Python constant SECURE_FILE_MODE secureFileMode :: Int secureFileMode = 384 -- | Converted from Python constant SETUP_SSH setupSsh :: String setupSsh = "/usr/local/lib/ganeti/tools/setup-ssh" -- | Converted from Python constant SF_ALLOCATABLE sfAllocatable :: String sfAllocatable = "allocatable" -- | Converted from Python constant SF_FREE sfFree :: String sfFree = "free" -- | Converted from Python constant SF_NAME sfName :: String sfName = "name" -- | Converted from Python constant SF_NODE sfNode :: String sfNode = "node" -- | Converted from Python constant SF_SIZE sfSize :: String sfSize = "size" -- | Converted from Python constant SF_TYPE sfType :: String sfType = "type" -- | Converted from Python constant SF_USED sfUsed :: String sfUsed = "used" -- | Converted from Python constant SOCAT_ESCAPE_CODE socatEscapeCode :: String socatEscapeCode = "0x1d" -- | Converted from Python constant SOCAT_PATH socatPath :: String socatPath = "/usr/bin/socat" -- | Converted from Python constant SOCAT_USE_COMPRESS socatUseCompress :: Int socatUseCompress = 0 -- | Converted from Python constant SOCAT_USE_ESCAPE socatUseEscape :: Int socatUseEscape = 1 -- | Converted from Python constant SOCKET_DIR socketDir :: String socketDir = "/usr/local/var/run/ganeti/socket" -- | Converted from Python constant SOCKET_DIR_MODE socketDirMode :: Int socketDirMode = 488 -- | Converted from Python constant SO_FIX_CONSISTENCY soFixConsistency :: String soFixConsistency = "fix-consistency" -- | Converted from Python constant SSCONF_LOCK_FILE ssconfLockFile :: String ssconfLockFile = "/usr/local/var/lock/ganeti-ssconf.lock" -- | Converted from Python constant SSH ssh :: String ssh = "ssh" -- | Converted from Python constant SSH_CONFIG_DIR sshConfigDir :: String sshConfigDir = "/etc/ssh" -- | Converted from Python constant SSH_HOST_DSA_PRIV sshHostDsaPriv :: String sshHostDsaPriv = "/etc/ssh/ssh_host_dsa_key" -- | Converted from Python constant SSH_HOST_DSA_PUB sshHostDsaPub :: String sshHostDsaPub = "/etc/ssh/ssh_host_dsa_key.pub" -- | Converted from Python constant SSH_HOST_RSA_PRIV sshHostRsaPriv :: String sshHostRsaPriv = "/etc/ssh/ssh_host_rsa_key" -- | Converted from Python constant SSH_HOST_RSA_PUB sshHostRsaPub :: String sshHostRsaPub = "/etc/ssh/ssh_host_rsa_key.pub" -- | Converted from Python constant SSH_KNOWN_HOSTS_FILE sshKnownHostsFile :: String sshKnownHostsFile = "/usr/local/var/lib/ganeti/known_hosts" -- | Converted from Python constant SSL_CERT_EXPIRATION_ERROR sslCertExpirationError :: Int sslCertExpirationError = 7 -- | Converted from Python constant SSL_CERT_EXPIRATION_WARN sslCertExpirationWarn :: Int sslCertExpirationWarn = 30 -- | Converted from Python constant SS_CLUSTER_NAME ssClusterName :: String ssClusterName = "cluster_name" -- | Converted from Python constant SS_CLUSTER_TAGS ssClusterTags :: String ssClusterTags = "cluster_tags" -- | Converted from Python constant SS_FILE_PERMS ssFilePerms :: Int ssFilePerms = 292 -- | Converted from Python constant SS_FILE_STORAGE_DIR ssFileStorageDir :: String ssFileStorageDir = "file_storage_dir" -- | Converted from Python constant SS_HYPERVISOR_LIST ssHypervisorList :: String ssHypervisorList = "hypervisor_list" -- | Converted from Python constant SS_INSTANCE_LIST ssInstanceList :: String ssInstanceList = "instance_list" -- | Converted from Python constant SS_MAINTAIN_NODE_HEALTH ssMaintainNodeHealth :: String ssMaintainNodeHealth = "maintain_node_health" -- | Converted from Python constant SS_MASTER_CANDIDATES ssMasterCandidates :: String ssMasterCandidates = "master_candidates" -- | Converted from Python constant SS_MASTER_CANDIDATES_IPS ssMasterCandidatesIps :: String ssMasterCandidatesIps = "master_candidates_ips" -- | Converted from Python constant SS_MASTER_IP ssMasterIp :: String ssMasterIp = "master_ip" -- | Converted from Python constant SS_MASTER_NETDEV ssMasterNetdev :: String ssMasterNetdev = "master_netdev" -- | Converted from Python constant SS_MASTER_NODE ssMasterNode :: String ssMasterNode = "master_node" -- | Converted from Python constant SS_NODEGROUPS ssNodegroups :: String ssNodegroups = "nodegroups" -- | Converted from Python constant SS_NODE_LIST ssNodeList :: String ssNodeList = "node_list" -- | Converted from Python constant SS_NODE_PRIMARY_IPS ssNodePrimaryIps :: String ssNodePrimaryIps = "node_primary_ips" -- | Converted from Python constant SS_NODE_SECONDARY_IPS ssNodeSecondaryIps :: String ssNodeSecondaryIps = "node_secondary_ips" -- | Converted from Python constant SS_OFFLINE_NODES ssOfflineNodes :: String ssOfflineNodes = "offline_nodes" -- | Converted from Python constant SS_ONLINE_NODES ssOnlineNodes :: String ssOnlineNodes = "online_nodes" -- | Converted from Python constant SS_PRIMARY_IP_FAMILY ssPrimaryIpFamily :: String ssPrimaryIpFamily = "primary_ip_family" -- | Converted from Python constant SS_RELEASE_VERSION ssReleaseVersion :: String ssReleaseVersion = "release_version" -- | Converted from Python constant SS_SHARED_FILE_STORAGE_DIR ssSharedFileStorageDir :: String ssSharedFileStorageDir = "shared_file_storage_dir" -- | Converted from Python constant SS_UID_POOL ssUidPool :: String ssUidPool = "uid_pool" -- | Converted from Python constant ST_FILE stFile :: String stFile = "file" -- | Converted from Python constant ST_LVM_PV stLvmPv :: String stLvmPv = "lvm-pv" -- | Converted from Python constant ST_LVM_VG stLvmVg :: String stLvmVg = "lvm-vg" -- Skipped SUB_RUN_DIRS, <type 'list'> not handled -- | Converted from Python constant SYNC_SPEED syncSpeed :: Int syncSpeed = 61440 -- | Converted from Python constant SYSCONFDIR sysconfdir :: String sysconfdir = "/usr/local/etc" -- | Converted from Python constant SYSLOG_NO syslogNo :: String syslogNo = "no" -- | Converted from Python constant SYSLOG_ONLY syslogOnly :: String syslogOnly = "only" -- | Converted from Python constant SYSLOG_SOCKET syslogSocket :: String syslogSocket = "/dev/log" -- | Converted from Python constant SYSLOG_USAGE syslogUsage :: String syslogUsage = "no" -- | Converted from Python constant SYSLOG_YES syslogYes :: String syslogYes = "yes" -- Skipped SplitVersion, not constant -- | Converted from Python constant TAG_CLUSTER tagCluster :: String tagCluster = "cluster" -- | Converted from Python constant TAG_INSTANCE tagInstance :: String tagInstance = "instance" -- | Converted from Python constant TAG_NODE tagNode :: String tagNode = "node" -- | Converted from Python constant TAG_NODEGROUP tagNodegroup :: String tagNodegroup = "nodegroup" -- | Converted from Python constant TCP_PING_TIMEOUT tcpPingTimeout :: Int tcpPingTimeout = 10 -- | Converted from Python constant TOOLSDIR toolsdir :: String toolsdir = "/usr/local/lib/ganeti/tools" -- | Converted from Python constant UIDPOOL_LOCKDIR uidpoolLockdir :: String uidpoolLockdir = "/usr/local/var/run/ganeti/uid-pool" -- | Converted from Python constant UIDPOOL_UID_MAX uidpoolUidMax :: Int uidpoolUidMax = 4294967295 -- | Converted from Python constant UIDPOOL_UID_MIN uidpoolUidMin :: Int uidpoolUidMin = 0 -- Skipped VALID_ALLOC_POLICIES, <type 'list'> not handled -- Skipped VALID_IALLOCATOR_DIRECTIONS, <type 'frozenset'> not handled -- Skipped VALID_IALLOCATOR_MODES, <type 'frozenset'> not handled -- Skipped VALID_IP_VERSIONS, <type 'frozenset'> not handled -- Skipped VALID_STORAGE_FIELDS, <type 'frozenset'> not handled -- Skipped VALID_STORAGE_OPERATIONS, <type 'dict'> not handled -- Skipped VALID_STORAGE_TYPES, <type 'frozenset'> not handled -- Skipped VALID_TAG_TYPES, <type 'frozenset'> not handled -- | Converted from Python constant VALUE_AUTO valueAuto :: String valueAuto = "auto" -- | Converted from Python constant VALUE_DEFAULT valueDefault :: String valueDefault = "default" -- | Converted from Python constant VALUE_FALSE valueFalse :: String valueFalse = "false" -- | Converted from Python constant VALUE_GENERATE valueGenerate :: String valueGenerate = "generate" -- | Converted from Python constant VALUE_NONE valueNone :: String valueNone = "none" -- | Converted from Python constant VALUE_TRUE valueTrue :: String valueTrue = "true" -- | Converted from Python constant VCS_VERSION vcsVersion :: String vcsVersion = "v2.5.2" -- | Converted from Python constant VERIFY_NPLUSONE_MEM verifyNplusoneMem :: String verifyNplusoneMem = "nplusone_mem" -- Skipped VERIFY_OPTIONAL_CHECKS, <type 'frozenset'> not handled -- | Converted from Python constant VNC_BASE_PORT vncBasePort :: Int vncBasePort = 5900 -- | Converted from Python constant VNC_DEFAULT_BIND_ADDRESS vncDefaultBindAddress :: String vncDefaultBindAddress = "0.0.0.0" -- | Converted from Python constant VNC_PASSWORD_FILE vncPasswordFile :: String vncPasswordFile = "/usr/local/etc/ganeti/vnc-cluster-password" -- | Converted from Python constant VTYPE_BOOL vtypeBool :: String vtypeBool = "bool" -- | Converted from Python constant VTYPE_INT vtypeInt :: String vtypeInt = "int" -- | Converted from Python constant VTYPE_MAYBE_STRING vtypeMaybeString :: String vtypeMaybeString = "maybe-string" -- | Converted from Python constant VTYPE_SIZE vtypeSize :: String vtypeSize = "size" -- | Converted from Python constant VTYPE_STRING vtypeString :: String vtypeString = "string" -- | Converted from Python constant WATCHER_GROUP_INSTANCE_STATUS_FILE watcherGroupInstanceStatusFile :: String watcherGroupInstanceStatusFile = "/usr/local/var/lib/ganeti/watcher.%s.instance-status" -- | Converted from Python constant WATCHER_GROUP_STATE_FILE watcherGroupStateFile :: String watcherGroupStateFile = "/usr/local/var/lib/ganeti/watcher.%s.data" -- | Converted from Python constant WATCHER_LOCK_FILE watcherLockFile :: String watcherLockFile = "/usr/local/var/lock/ganeti-watcher.lock" -- | Converted from Python constant WATCHER_PAUSEFILE watcherPausefile :: String watcherPausefile = "/usr/local/var/lib/ganeti/watcher.pause" -- | Converted from Python constant WIPE_BLOCK_SIZE wipeBlockSize :: Int wipeBlockSize = 1048576 -- | Converted from Python constant X509_CERT_CN x509CertCn :: String x509CertCn = "ganeti.example.com" -- | Converted from Python constant X509_CERT_DEFAULT_VALIDITY x509CertDefaultValidity :: Int x509CertDefaultValidity = 1825 -- | Converted from Python constant X509_CERT_SIGNATURE_HEADER x509CertSignatureHeader :: String x509CertSignatureHeader = "X-Ganeti-Signature" -- | Converted from Python constant X509_CERT_SIGN_DIGEST x509CertSignDigest :: String x509CertSignDigest = "SHA1" -- | Converted from Python constant XEN_BOOTLOADER xenBootloader :: String xenBootloader = "" -- | Converted from Python constant XEN_INITRD xenInitrd :: String xenInitrd = "/boot/initrd-2.6-xenU" -- | Converted from Python constant XEN_KERNEL xenKernel :: String xenKernel = "/boot/vmlinuz-2.6-xenU" -- | Converted from Python constant XM_CONSOLE_WRAPPER xmConsoleWrapper :: String xmConsoleWrapper = "/usr/local/lib/ganeti/tools/xm-console-wrapper" -- Skipped __builtins__, not constant -- Skipped __doc__, not constant -- Skipped __file__, not constant -- Skipped __name__, not constant -- Skipped __package__, not constant -- Skipped _autoconf, not constant -- Skipped _vcsversion, not constant -- Skipped re, not constant