summaryrefslogtreecommitdiffstats
path: root/ci/config_tpl
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2017-02-02 17:56:27 -0600
committerNarinder Gupta <narinder.gupta@canonical.com>2017-02-02 17:56:27 -0600
commit2744c52b2a708a5a57f264f57f2fffe09dce4831 (patch)
treed78a5873a74f98f7fef162265eb432ea290c062f /ci/config_tpl
parent47386f12fa5d0785f338906514f5a595e2634a10 (diff)
modfiied to not to expose api on admin network if public is not
defined. Change-Id: I3f8a79de2cb85d0273bdfd4d8b21e1eb7a7a4979 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci/config_tpl')
-rw-r--r--ci/config_tpl/juju2/bundle_tpl/aodh.yaml5
-rw-r--r--ci/config_tpl/juju2/bundle_tpl/ceilometer.yaml5
-rw-r--r--ci/config_tpl/juju2/bundle_tpl/ceph.yaml5
-rw-r--r--ci/config_tpl/juju2/bundle_tpl/cinder.yaml5
-rw-r--r--ci/config_tpl/juju2/bundle_tpl/congress.yaml5
-rw-r--r--ci/config_tpl/juju2/bundle_tpl/glance.yaml5
-rw-r--r--ci/config_tpl/juju2/bundle_tpl/heat.yaml5
-rw-r--r--ci/config_tpl/juju2/bundle_tpl/keystone.yaml5
-rw-r--r--ci/config_tpl/juju2/bundle_tpl/mysql.yaml2
-rw-r--r--ci/config_tpl/juju2/bundle_tpl/neutron-api.yaml5
-rw-r--r--ci/config_tpl/juju2/bundle_tpl/nova-cloud-controller.yaml5
-rw-r--r--ci/config_tpl/juju2/bundle_tpl/openbaton.yaml2
12 files changed, 32 insertions, 22 deletions
diff --git a/ci/config_tpl/juju2/bundle_tpl/aodh.yaml b/ci/config_tpl/juju2/bundle_tpl/aodh.yaml
index 1349ad22..6abc6d78 100644
--- a/ci/config_tpl/juju2/bundle_tpl/aodh.yaml
+++ b/ci/config_tpl/juju2/bundle_tpl/aodh.yaml
@@ -5,15 +5,16 @@
bindings:
internal: internal-api
shared-db: internal-api
+{% if opnfv.spaces_dict.public is defined %}
+ public: public-api
{% if opnfv.spaces_dict.data is defined %}
admin: admin-api
{% else %}
admin: internal-api
{% endif %}
-{% if opnfv.spaces_dict.public is defined %}
- public: public-api
{% else %}
public: internal-api
+ admin: internal-api
{% endif %}
{% endif %}
options:
diff --git a/ci/config_tpl/juju2/bundle_tpl/ceilometer.yaml b/ci/config_tpl/juju2/bundle_tpl/ceilometer.yaml
index c3cec5c4..644de692 100644
--- a/ci/config_tpl/juju2/bundle_tpl/ceilometer.yaml
+++ b/ci/config_tpl/juju2/bundle_tpl/ceilometer.yaml
@@ -10,14 +10,15 @@
bindings:
shared-db: internal-api
internal: internal-api
+{% if opnfv.spaces_dict.public is defined %}
+ public: public-api
{% if opnfv.spaces_dict.data is defined %}
admin: admin-api
{% else %}
admin: internal-api
{% endif %}
-{% if opnfv.spaces_dict.public is defined %}
- public: public-api
{% else %}
+ admin: internal-api
public: internal-api
{% endif %}
{% endif %}
diff --git a/ci/config_tpl/juju2/bundle_tpl/ceph.yaml b/ci/config_tpl/juju2/bundle_tpl/ceph.yaml
index 779d2c4c..2d9ffbe4 100644
--- a/ci/config_tpl/juju2/bundle_tpl/ceph.yaml
+++ b/ci/config_tpl/juju2/bundle_tpl/ceph.yaml
@@ -106,15 +106,16 @@
{% if os.service.bindings %}
bindings:
internal: internal-api
+{% if opnfv.spaces_dict.public is defined %}
+ public: public-api
{% if opnfv.spaces_dict.data is defined %}
admin: admin-api
{% else %}
admin: internal-api
{% endif %}
-{% if opnfv.spaces_dict.public is defined %}
- public: public-api
{% else %}
public: internal-api
+ admin: internal-api
{% endif %}
{% endif %}
options:
diff --git a/ci/config_tpl/juju2/bundle_tpl/cinder.yaml b/ci/config_tpl/juju2/bundle_tpl/cinder.yaml
index 268563c7..d350edce 100644
--- a/ci/config_tpl/juju2/bundle_tpl/cinder.yaml
+++ b/ci/config_tpl/juju2/bundle_tpl/cinder.yaml
@@ -9,15 +9,16 @@
bindings:
internal: internal-api
shared-db: internal-api
+{% if opnfv.spaces_dict.public is defined %}
+ public: public-api
{% if opnfv.spaces_dict.data is defined %}
admin: admin-api
{% else %}
admin: internal-api
{% endif %}
-{% if opnfv.spaces_dict.public is defined %}
- public: public-api
{% else %}
public: internal-api
+ admin: internal-api
{% endif %}
{% endif %}
options:
diff --git a/ci/config_tpl/juju2/bundle_tpl/congress.yaml b/ci/config_tpl/juju2/bundle_tpl/congress.yaml
index 4800e58c..e9a549db 100644
--- a/ci/config_tpl/juju2/bundle_tpl/congress.yaml
+++ b/ci/config_tpl/juju2/bundle_tpl/congress.yaml
@@ -5,15 +5,16 @@
bindings:
internal: internal-api
shared-db: internal-api
+{% if opnfv.spaces_dict.public is defined %}
+ public: public-api
{% if opnfv.spaces_dict.data is defined %}
admin: admin-api
{% else %}
admin: internal-api
{% endif %}
-{% if opnfv.spaces_dict.public is defined %}
- public: public-api
{% else %}
public: internal-api
+ admin: internal-api
{% endif %}
{% endif %}
options:
diff --git a/ci/config_tpl/juju2/bundle_tpl/glance.yaml b/ci/config_tpl/juju2/bundle_tpl/glance.yaml
index c57260c6..a34a0f0b 100644
--- a/ci/config_tpl/juju2/bundle_tpl/glance.yaml
+++ b/ci/config_tpl/juju2/bundle_tpl/glance.yaml
@@ -5,15 +5,16 @@
bindings:
internal: internal-api
shared-db: internal-api
+{% if opnfv.spaces_dict.public is defined %}
+ public: public-api
{% if opnfv.spaces_dict.data is defined %}
admin: admin-api
{% else %}
admin: internal-api
{% endif %}
-{% if opnfv.spaces_dict.public is defined %}
- public: public-api
{% else %}
public: internal-api
+ admin: internal-api
{% endif %}
{% endif %}
options:
diff --git a/ci/config_tpl/juju2/bundle_tpl/heat.yaml b/ci/config_tpl/juju2/bundle_tpl/heat.yaml
index c1f23581..5e03b1f7 100644
--- a/ci/config_tpl/juju2/bundle_tpl/heat.yaml
+++ b/ci/config_tpl/juju2/bundle_tpl/heat.yaml
@@ -5,15 +5,16 @@
bindings:
internal: internal-api
shared-db: internal-api
+{% if opnfv.spaces_dict.public is defined %}
+ public: public-api
{% if opnfv.spaces_dict.data is defined %}
admin: admin-api
{% else %}
admin: internal-api
{% endif %}
-{% if opnfv.spaces_dict.public is defined %}
- public: public-api
{% else %}
public: internal-api
+ admin: internal-api
{% endif %}
{% endif %}
options:
diff --git a/ci/config_tpl/juju2/bundle_tpl/keystone.yaml b/ci/config_tpl/juju2/bundle_tpl/keystone.yaml
index fc688b7c..06499b4f 100644
--- a/ci/config_tpl/juju2/bundle_tpl/keystone.yaml
+++ b/ci/config_tpl/juju2/bundle_tpl/keystone.yaml
@@ -5,15 +5,16 @@
bindings:
internal: internal-api
shared-db: internal-api
+{% if opnfv.spaces_dict.public is defined %}
+ public: public-api
{% if opnfv.spaces_dict.data is defined %}
admin: admin-api
{% else %}
admin: internal-api
{% endif %}
-{% if opnfv.spaces_dict.public is defined %}
- public: public-api
{% else %}
public: internal-api
+ admin: internal-api
{% endif %}
{% endif %}
options:
diff --git a/ci/config_tpl/juju2/bundle_tpl/mysql.yaml b/ci/config_tpl/juju2/bundle_tpl/mysql.yaml
index fdd732c4..30cc4050 100644
--- a/ci/config_tpl/juju2/bundle_tpl/mysql.yaml
+++ b/ci/config_tpl/juju2/bundle_tpl/mysql.yaml
@@ -8,7 +8,7 @@
{% endif %}
options:
{% if os.ha.mode == 'ha' %}
- innodb-buffer-pool-size: 10G
+ innodb-buffer-pool-size: 1G
{% else %}
innodb-buffer-pool-size: 1G
{% endif %}
diff --git a/ci/config_tpl/juju2/bundle_tpl/neutron-api.yaml b/ci/config_tpl/juju2/bundle_tpl/neutron-api.yaml
index fa15dd87..72ad0bb9 100644
--- a/ci/config_tpl/juju2/bundle_tpl/neutron-api.yaml
+++ b/ci/config_tpl/juju2/bundle_tpl/neutron-api.yaml
@@ -5,15 +5,16 @@
bindings:
internal: internal-api
shared-db: internal-api
+{% if opnfv.spaces_dict.public is defined %}
+ public: public-api
{% if opnfv.spaces_dict.data is defined %}
admin: admin-api
{% else %}
admin: internal-api
{% endif %}
-{% if opnfv.spaces_dict.public is defined %}
- public: public-api
{% else %}
public: internal-api
+ admin: internal-api
{% endif %}
{% endif %}
options:
diff --git a/ci/config_tpl/juju2/bundle_tpl/nova-cloud-controller.yaml b/ci/config_tpl/juju2/bundle_tpl/nova-cloud-controller.yaml
index e4607993..2f21edf1 100644
--- a/ci/config_tpl/juju2/bundle_tpl/nova-cloud-controller.yaml
+++ b/ci/config_tpl/juju2/bundle_tpl/nova-cloud-controller.yaml
@@ -5,15 +5,16 @@
bindings:
internal: internal-api
shared-db: internal-api
+{% if opnfv.spaces_dict.public is defined %}
+ public: public-api
{% if opnfv.spaces_dict.data is defined %}
admin: admin-api
{% else %}
admin: internal-api
{% endif %}
-{% if opnfv.spaces_dict.public is defined %}
- public: public-api
{% else %}
public: internal-api
+ admin: internal-api
{% endif %}
{% endif %}
options:
diff --git a/ci/config_tpl/juju2/bundle_tpl/openbaton.yaml b/ci/config_tpl/juju2/bundle_tpl/openbaton.yaml
index fc64eb8b..a50c242e 100644
--- a/ci/config_tpl/juju2/bundle_tpl/openbaton.yaml
+++ b/ci/config_tpl/juju2/bundle_tpl/openbaton.yaml
@@ -1,5 +1,5 @@
openbaton:
- charm: "./{{ ubuntu.release }}/openbaton"
+ charm: "./trusty/openbaton"
num_units: 1
to:
- "lxd:nodes/0"