From 8c978370a123dccc0b93ee9bd2ba46f8167a2cc2 Mon Sep 17 00:00:00 2001 From: Yifei Xue Date: Tue, 15 Aug 2017 11:40:26 +0800 Subject: Support offline deployment for nosdn no feature scenario JIRA: - Add a repo docker which includes ubuntu PPA and python packages used for offline deployment. Change-Id: Iad9b0df7f33f5a7ab974c5deffb408fc93b3f3ad Signed-off-by: Yifei Xue --- .../openstack_ocata/vars/HA-ansible-multinodes.tmpl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'deploy/compass_conf/templates/ansible_installer/openstack_ocata') diff --git a/deploy/compass_conf/templates/ansible_installer/openstack_ocata/vars/HA-ansible-multinodes.tmpl b/deploy/compass_conf/templates/ansible_installer/openstack_ocata/vars/HA-ansible-multinodes.tmpl index d0d0b7d0..704c23fb 100755 --- a/deploy/compass_conf/templates/ansible_installer/openstack_ocata/vars/HA-ansible-multinodes.tmpl +++ b/deploy/compass_conf/templates/ansible_installer/openstack_ocata/vars/HA-ansible-multinodes.tmpl @@ -37,7 +37,6 @@ #set neutron_cfg = $getVar('neutron_config', {}) #set ovs_config = $neutron_cfg.openvswitch - #set has = $getVar('ha', []) #set ha_vip = $getVar('ha_vip', []) @@ -64,6 +63,11 @@ public_net_info: "{{ network_cfg.public_net_info }}" host_ip_settings: "{{ ip_settings[inventory_hostname] }}" ntp_server: $ntp_server + +offline_deployment: $getVar('offline_deployment', 'Disable') +offline_repo_ip: $getVar('compass_ip', '') +offline_repo_port: $getVar('offline_repo_port', '5151') + internal_vip: ip: $network_cfg["internal_vip"]["ip"] netmask: $network_cfg["internal_vip"]["netmask"] -- cgit 1.2.3-korg