Adding support for Designate notifications.
- This patch is for initial work on integrating Designate to our integrated gates. - Adding nova_designate_enabled option. - Adding oslo_messaging_notifications stanza. Change-Id: I55346e338feb9e4acd376988b664d08c286e1605
This commit is contained in:
parent
59ea9b151a
commit
933b73f18f
@ -13,6 +13,10 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
|
# Enable/Disable designate configurations
|
||||||
|
nova_designate_enabled: False
|
||||||
|
# Notification topics for designate.
|
||||||
|
nova_notifications_designate: notifications_designate
|
||||||
# Enable/Disable ceilometer configurations
|
# Enable/Disable ceilometer configurations
|
||||||
nova_ceilometer_enabled: False
|
nova_ceilometer_enabled: False
|
||||||
|
|
||||||
|
@ -126,8 +126,17 @@ instance_usage_audit_period = hour
|
|||||||
notify_on_state_change = vm_and_task_state
|
notify_on_state_change = vm_and_task_state
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if nova_ceilometer_enabled %}
|
# Notifications
|
||||||
|
{% if nova_ceilometer_enabled or nova_designate_enabled %}
|
||||||
[oslo_messaging_notifications]
|
[oslo_messaging_notifications]
|
||||||
|
{% set notification_topics = [] %}
|
||||||
|
{% if neutron_ceilometer_enabled %}
|
||||||
|
{% set _ = notification_topics.append('notifications') %}
|
||||||
|
{% endif %}
|
||||||
|
{% if neutron_designate_enabled %}
|
||||||
|
{% set _ = notification_topics.append(nova_notifications_designate) %}
|
||||||
|
{% endif %}
|
||||||
|
notification_topics = {{ notification_topics | join(',') }}
|
||||||
driver = messagingv2
|
driver = messagingv2
|
||||||
transport_url = rabbit://{% for host in nova_rabbitmq_telemetry_servers.split(',') %}{{ nova_rabbitmq_telemetry_userid }}:{{ nova_rabbitmq_telemetry_password }}@{{ host }}:{{ nova_rabbitmq_telemetry_port }}{% if not loop.last %},{% else %}/{{ nova_rabbitmq_telemetry_vhost }}{% endif %}{% endfor %}
|
transport_url = rabbit://{% for host in nova_rabbitmq_telemetry_servers.split(',') %}{{ nova_rabbitmq_telemetry_userid }}:{{ nova_rabbitmq_telemetry_password }}@{{ host }}:{{ nova_rabbitmq_telemetry_port }}{% if not loop.last %},{% else %}/{{ nova_rabbitmq_telemetry_vhost }}{% endif %}{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user