Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (622 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
AMQP_HOSTS=["amqp://username:password@host:port"]
12
# AMQP Backend Client. One of: 'puka', 'haigha'
13
AMQP_BACKEND='puka'
14

    
15
EXCHANGE_GANETI = "ganeti"  # Messages from Ganeti
16
EXCHANGE_CRON = "cron"      # Messages from periodically triggered tasks
17
EXCHANGE_API = "api"        # Messages from the REST API
18
EXCHANGES = (EXCHANGE_GANETI, EXCHANGE_CRON, EXCHANGE_API)