Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo / app_settings / default / queues.py @ a2c97d38

History | View | Annotate | Download (504 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 = "rabbit-username"
9
RABBIT_PASSWORD = "rabbit-password"
10
RABBIT_VHOST = "/"
11

    
12
EXCHANGE_GANETI = "ganeti"  # Messages from Ganeti
13
EXCHANGE_CRON = "cron"      # Messages from periodically triggered tasks
14
EXCHANGE_API = "api"        # Messages from the REST API
15
EXCHANGES = (EXCHANGE_GANETI, EXCHANGE_CRON, EXCHANGE_API)