summaryrefslogtreecommitdiffstats
path: root/ci/config_tpl/juju2/bundle_tpl/rabbitmq.yaml
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2017-08-15 13:28:22 -0500
committerNarinder Gupta <narinder.gupta@canonical.com>2017-08-15 14:02:27 -0500
commite9a56336b664f4575194c2317aa747652a2ecb6f (patch)
treeb05ae1c0cd57c9a8d6fcd33f6ee947229895f216 /ci/config_tpl/juju2/bundle_tpl/rabbitmq.yaml
parentdc5adfcfe2f4c2534ad512f8d3b811d86a473089 (diff)
modified templates and added variable to easlity understand the
templates and added support for multiple networks. Change-Id: I1074c722c9007bd12c711dbfc58afa1a098d2a17 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci/config_tpl/juju2/bundle_tpl/rabbitmq.yaml')
-rw-r--r--ci/config_tpl/juju2/bundle_tpl/rabbitmq.yaml6
1 files changed, 4 insertions, 2 deletions
diff --git a/ci/config_tpl/juju2/bundle_tpl/rabbitmq.yaml b/ci/config_tpl/juju2/bundle_tpl/rabbitmq.yaml
index ecbef4f1..b3bba40d 100644
--- a/ci/config_tpl/juju2/bundle_tpl/rabbitmq.yaml
+++ b/ci/config_tpl/juju2/bundle_tpl/rabbitmq.yaml
@@ -3,9 +3,12 @@
num_units: {{ unit_qty() }}
{% if os.service.bindings %}
bindings:
- amqp: internal-api
+ "": *oam-space
+ amqp: *internal-space
+ cluster: *internal-space
{% endif %}
options:
+ source: *openstack-origin
{% if opnfv.storage_dict.ceph is defined %}
ceph-osd-replication-count: {{ unit_ceph_qty() }}
{% endif %}
@@ -13,7 +16,6 @@
prefer-ipv6: {{ os.network.ipv6 }}
{% endif %}
{% if os.ha.mode == 'ha' %}
- #vip: {{ opnfv.vip.rabbitmq }}
min-cluster-size: {{ unit_qty() }}
{% endif %}
to: