parameters: | |
_param: | |
# Ceilometer samples are persisted up to 3 hours by default | |
rabbitmq_ceilometer_ttl: 10800000 | |
rabbitmq: | |
server: | |
host: | |
'/': | |
enabled: true | |
user: guest | |
password: ${_param:rabbitmq_guest_password} | |
policies: | |
- name: HA | |
pattern: '^(?!amq\.).*' | |
definition: '{"ha-mode": "all", "message-ttl": 120000}' | |
'/openstack': | |
enabled: true | |
user: openstack | |
password: ${_param:rabbitmq_openstack_password} | |
policies: | |
- name: Ceilometer | |
pattern: '^metering.sample$' | |
definition: '{"ha-mode": "all", "message-ttl": ${_param:rabbitmq_ceilometer_ttl}}' | |
priority: 10 | |
- name: default-policy | |
pattern: '^(?!amq\.).*' | |
definition: '{"message-ttl": 120000}' |