+EXIT_NODESETUP_ERROR = 12
+EXIT_CONFIRMATION = 13 # need user confirmation
+
+# tags
+TAG_CLUSTER = "cluster"
+TAG_NODE = "node"
+TAG_INSTANCE = "instance"
+MAX_TAG_LEN = 128
+MAX_TAGS_PER_OBJ = 4096
+
+# others
+DEFAULT_BRIDGE = "xen-br0"
+SYNC_SPEED = 30 * 1024
+LOCALHOST_IP_ADDRESS = "127.0.0.1"
+TCP_PING_TIMEOUT = 10
+GANETI_RUNAS = "root"
+
+# valid os status
+OS_VALID_STATUS = "VALID"
+
+# ssh constants
+SSH_INITD_SCRIPT = _autoconf.SSH_INITD_SCRIPT
+SSH_CONFIG_DIR = "/etc/ssh/"
+SSH_HOST_DSA_PRIV = SSH_CONFIG_DIR + "ssh_host_dsa_key"
+SSH_HOST_DSA_PUB = SSH_HOST_DSA_PRIV + ".pub"
+SSH_HOST_RSA_PRIV = SSH_CONFIG_DIR + "ssh_host_rsa_key"
+SSH_HOST_RSA_PUB = SSH_HOST_RSA_PRIV + ".pub"
+
+# reboot types
+INSTANCE_REBOOT_SOFT = "soft"
+INSTANCE_REBOOT_HARD = "hard"
+INSTANCE_REBOOT_FULL = "full"
+
+# Hypervisor constants
+HT_XEN_PVM30 = "xen-3.0"
+HT_FAKE = "fake"
+HT_XEN_HVM31 = "xen-hvm-3.1"
+HYPER_TYPES = frozenset([HT_XEN_PVM30, HT_FAKE, HT_XEN_HVM31])
+HTS_REQ_PORT = frozenset([HT_XEN_HVM31])
+
+HT_HVM_VNC_BASE_PORT = 5900
+HT_HVM_DEFAULT_BOOT_ORDER = 'dc'
+VNC_PASSWORD_FILE = _autoconf.SYSCONFDIR + "/ganeti/vnc-cluster-password"