aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/compass_conf/templates/ansible_installer/openstack_ocata/hosts
diff options
context:
space:
mode:
authorHarry Huang <huangxiangyu5@huawei.com>2017-07-25 17:01:04 +0800
committerHarry Huang <huangxiangyu5@huawei.com>2017-08-11 15:06:29 +0800
commit02708db0054bcabf4db151d4b364d70ecc44ef18 (patch)
tree927dca85b79e918ce30d1f96f6c8bd09079777fa /deploy/compass_conf/templates/ansible_installer/openstack_ocata/hosts
parent58f021096b8c7969bcbbc9e06934f0718b71a2b9 (diff)
Adapt network.yml to OpenStack Ansible
JIRA:COMPASS-557 1. modify sys_intf_mappings and ip_settings in network.yml to synchronize with OSA network. networks compass build will be mgmt, external, tenant, storage. 2. modify compass_conf to support new netwok.yml 3. fix some hard coding when transfer ip parameters 4. support heterogeneous network Change-Id: Ib4a8af1f96a40e6456242e3dc2b456e0c8c17c2e Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
Diffstat (limited to 'deploy/compass_conf/templates/ansible_installer/openstack_ocata/hosts')
-rwxr-xr-xdeploy/compass_conf/templates/ansible_installer/openstack_ocata/hosts/HA-ansible-multinodes.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/deploy/compass_conf/templates/ansible_installer/openstack_ocata/hosts/HA-ansible-multinodes.tmpl b/deploy/compass_conf/templates/ansible_installer/openstack_ocata/hosts/HA-ansible-multinodes.tmpl
index 9d628b5e..4c98066e 100755
--- a/deploy/compass_conf/templates/ansible_installer/openstack_ocata/hosts/HA-ansible-multinodes.tmpl
+++ b/deploy/compass_conf/templates/ansible_installer/openstack_ocata/hosts/HA-ansible-multinodes.tmpl
@@ -20,12 +20,12 @@
# controller
#for worker in $controllers
#set worker_hostname = $worker.hostname
- #set worker_ip = $ip_settings[$worker_hostname].mgmt.ip
+ #set worker_ip = $ip_settings[$worker_hostname]["tenant"]["ip"]
$worker_ip $worker_hostname
#end for
# compute
#for worker in $computes
#set worker_hostname = $worker.hostname
- #set worker_ip = $ip_settings[$worker_hostname].mgmt.ip
+ #set worker_ip = $ip_settings[$worker_hostname]["tenant"]["ip"]
$worker_ip $worker_hostname
#end for