Revision f1da30e6 lib/constants.py

b/lib/constants.py
91 91
SSL_CERT_FILE = DATA_DIR + "/server.pem"
92 92
WATCHER_STATEFILE = DATA_DIR + "/watcher.data"
93 93
SSH_KNOWN_HOSTS_FILE = DATA_DIR + "/known_hosts"
94
QUEUE_DIR = DATA_DIR + "/queue"
94 95
ETC_HOSTS = "/etc/hosts"
95 96
DEFAULT_FILE_STORAGE_DIR = _autoconf.FILE_STORAGE_DIR
96 97
MASTER_SOCKET = RUN_GANETI_DIR + "/master.sock"
......
244 245
IARUN_FAILURE = 2
245 246
IARUN_SUCCESS = 3
246 247

  
248
# Job queue
249
JOB_QUEUE_VERSION = 1
250
JOB_QUEUE_LOCK_FILE = QUEUE_DIR + "/lock"
251
JOB_QUEUE_VERSION_FILE = QUEUE_DIR + "/version"
252
JOB_QUEUE_SERIAL_FILE = QUEUE_DIR + "/serial"
253

  
247 254
# Job status
248 255
JOB_STATUS_QUEUED = "queued"
249 256
JOB_STATUS_RUNNING = "running"

Also available in: Unified diff