From 02708db0054bcabf4db151d4b364d70ecc44ef18 Mon Sep 17 00:00:00 2001 From: Harry Huang Date: Tue, 25 Jul 2017 17:01:04 +0800 Subject: 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 --- .../openstack_ocata/hosts/HA-ansible-multinodes.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'deploy/compass_conf/templates/ansible_installer/openstack_ocata/hosts') 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 -- cgit 1.2.3-korg