root / snf-cyclades-app / synnefo / app_settings / default / queues.py @ 597e7eba
History | View | Annotate | Download (540 Bytes)
1 |
# -*- coding: utf-8 -*-
|
---|---|
2 |
#
|
3 |
# Queues, exchanges and bindings for AMQP
|
4 |
###########################################
|
5 |
|
6 |
# Rabbit work queue endpoint
|
7 |
RABBIT_HOST = "10.0.0.1:5672"
|
8 |
RABBIT_USERNAME = "username"
|
9 |
RABBIT_PASSWORD = "password"
|
10 |
RABBIT_VHOST = "/"
|
11 |
AMQP_HOSTS=["amqp://username:password@host:port"]
|
12 |
|
13 |
EXCHANGE_GANETI = "ganeti" # Messages from Ganeti |
14 |
EXCHANGE_CRON = "cron" # Messages from periodically triggered tasks |
15 |
EXCHANGE_API = "api" # Messages from the REST API |
16 |
EXCHANGES = (EXCHANGE_GANETI, EXCHANGE_CRON, EXCHANGE_API) |