Uses tunnel_interface as ovs tunnel instead of api_interface

Closes-Bug: #1638242
Change-Id: Ib5192d1379457cd4292fc71dcbd62f78a02a1c07
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
(cherry picked from commit 803aaa6597)
This commit is contained in:
Zhijiang Hu 2016-11-01 07:34:02 -04:00
parent 18c3918f5c
commit c0bd984b1d
2 changed files with 2 additions and 2 deletions

View File

@ -108,7 +108,7 @@ storage_interface: "{{ network_interface }}"
cluster_interface: "{{ network_interface }}"
tunnel_interface: "{{ network_interface }}"
bifrost_network_interface: "{{ network_interface }}"
tunnel_interface_address: "{{ hostvars[inventory_hostname]['ansible_' + tunnel_interface]['ipv4']['address'] }}"
# Valid options are [ openvswitch, linuxbridge, sfc ]
neutron_plugin_agent: "openvswitch"

View File

@ -69,4 +69,4 @@ physical_interface_mappings = physnet1:{{ neutron_external_interface }}
[vxlan]
l2_population = true
{% endif %}
local_ip = {{ api_interface_address }}
local_ip = {{ tunnel_interface_address }}