summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2017-03-21 11:08:48 -0500
committerNarinder Gupta <narinder.gupta@canonical.com>2017-03-21 11:09:52 -0500
commit0c50df832b79dc06fa44dfd918d78ceb894ffd64 (patch)
tree565224a21008a124f3f1f054d65d7489662f2f73
parent1a0038847969004da45ef50545f6e65f642a3023 (diff)
configure the VIP accordingly and also change the sequence.
Remove the admin-openrc file. Change-Id: I8a14dc6de22d0f0de346d69e6d02a7e9c295ece1 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
-rwxr-xr-xci/clean.sh1
-rw-r--r--ci/config_tpl/juju2/deployconfig.yaml28
2 files changed, 9 insertions, 20 deletions
diff --git a/ci/clean.sh b/ci/clean.sh
index 211bcaa3..a142ca7f 100755
--- a/ci/clean.sh
+++ b/ci/clean.sh
@@ -28,6 +28,7 @@ if [[ "$jujuver" > "2" ]]; then
rm -rf precise
rm -rf trusty
rm -rf xenial
+ rm -rf ~/joid_config/admin-openrc
sleep 30
sudo sysctl -w vm.drop_caches=3
elif [ -d $HOME/.juju/environments ]; then
diff --git a/ci/config_tpl/juju2/deployconfig.yaml b/ci/config_tpl/juju2/deployconfig.yaml
index 8800f302..844ede6f 100644
--- a/ci/config_tpl/juju2/deployconfig.yaml
+++ b/ci/config_tpl/juju2/deployconfig.yaml
@@ -44,27 +44,15 @@ opnfv:
units: {{ lab.racks[0].nodes|count }}
vip:
{% if opnfv.spaces_dict.public is defined %}
-{% if opnfv.spaces_dict.data is defined %}
- ceilometer: {{ net_prefix }}24 {{ netdata_prefix }}24 {{ netpublic_prefix }}24
- cinder: {{ net_prefix }}29 {{ netdata_prefix }}29 {{ netpublic_prefix }}29
- dashboard: {{ net_prefix }}21 {{ netdata_prefix }}21 {{ netpublic_prefix }}21
- glance: {{ net_prefix }}22 {{ netdata_prefix }}22 {{ netpublic_prefix }}22
- heat: {{ net_prefix }}28 {{ netdata_prefix }}28 {{ netpublic_prefix }}28
- keystone: {{ net_prefix }}23 {{ netdata_prefix }}23 {{ netpublic_prefix }}23
- mysql: {{ net_prefix }}25
- neutron: {{ net_prefix }}27 {{ netdata_prefix }}27 {{ netpublic_prefix }}27
- nova: {{ net_prefix }}26 {{ netdata_prefix }}27 {{ netpublic_prefix }}26
-{% else %}
- ceilometer: {{ net_prefix }}24 {{ netpublic_prefix }}24
- cinder: {{ net_prefix }}29 {{ netpublic_prefix }}29
- dashboard: {{ net_prefix }}21 {{ netpublic_prefix }}21
- glance: {{ net_prefix }}22 {{ netpublic_prefix }}22
- heat: {{ net_prefix }}28 {{ netpublic_prefix }}28
- keystone: {{ net_prefix }}23 {{ netpublic_prefix }}23
+ ceilometer: {{ netpublic_prefix }}24 {{ net_prefix }}24 {{ netpublic_prefix }}24
+ cinder: {{ netpublic_prefix }}29 {{ net_prefix }}29
+ dashboard: {{ netpublic_prefix }}21 {{ net_prefix }}21
+ glance: {{ netpublic_prefix }}22 {{ net_prefix }}22
+ heat: {{ netpublic_prefix }}28 {{ net_prefix }}28
+ keystone: {{ netpublic_prefix }}23 {{ net_prefix }}23
mysql: {{ net_prefix }}25
- neutron: {{ net_prefix }}27 {{ netpublic_prefix }}27
- nova: {{ net_prefix }}26 {{ netpublic_prefix }}26
-{% endif %}
+ neutron: {{ netpublic_prefix }}27 {{ net_prefix }}27
+ nova: {{ netpublic_prefix }}26 {{ net_prefix }}26
{% else %}
ceilometer: {{ net_prefix }}24
cinder: {{ net_prefix }}29