diff options
author | chenshuai@huawei.com <chenshuai@huawei.com> | 2016-04-15 09:57:12 +0800 |
---|---|---|
committer | chenshuai@huawei.com <chenshuai@huawei.com> | 2016-04-15 09:57:12 +0800 |
commit | ed90c8dde54f99c44ff94a593d7d62505c463b6d (patch) | |
tree | 0f07a2f031dd94c8f1f74dfd7a3a180cdf44b0d9 /deploy/adapters/ansible/roles/open-contrail/vars | |
parent | 06cf46de14100257cc6843c01ffc92216550b06d (diff) |
opencontrail: data/control plane should be same
JIRA: COMPASS-368
Change-Id: Id365065ff985cadcf24938413c1c648a8ab44160
Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles/open-contrail/vars')
-rwxr-xr-x | deploy/adapters/ansible/roles/open-contrail/vars/main.yml | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/deploy/adapters/ansible/roles/open-contrail/vars/main.yml b/deploy/adapters/ansible/roles/open-contrail/vars/main.yml index eb840cec..17b78849 100755 --- a/deploy/adapters/ansible/roles/open-contrail/vars/main.yml +++ b/deploy/adapters/ansible/roles/open-contrail/vars/main.yml @@ -12,13 +12,15 @@ kernel_install: no #ansible_ssh_user: "root" #ansible_ssh_pass: "root" -contrail_keystone_address: "{{ internal_vip.ip }}" +#contrail_keystone_address: "{{ internal_vip.ip }}" +contrail_keystone_address: "{{ public_vip.ip }}" contrail_admin_user: "admin" contrail_admin_password: "console" # network infor adapter for compass -contrail_address: "{{ internal_ip }}" +# contrail_address: "{{ internal_ip }}" +contrail_address: " {{ ip_settings[inventory_hostname]['br-prv']['ip'] }} " #contrail_device: # compass openstack device contrail_netmask: "255.255.255.0" #contrail_gateway: "10.84.50.254" @@ -43,7 +45,8 @@ contrail_vhost_netmask: "{{ ip_settings[inventory_hostname]['br-prv']['netmask'] contrail_keepalived: no #contrail_haproxy_address: "10.0.0.22" # 10.0.0.80 -contrail_haproxy_address: "{{ internal_vip.ip }}" +#contrail_haproxy_address: "{{ internal_vip.ip }}" +contrail_haproxy_address: "{{ public_vip.ip }}" contrail_netmask: "255.255.255.0" contrail_prefixlen: "24" contrail_gateway: "10.0.0.1" |