Skip to content

Commit

Permalink
Using get_contrail_internal_vip to determine the discovery ip
Browse files Browse the repository at this point in the history
to handle cfgm/openstack roles in different set of nodes.

Change-Id: I0cc8b78d01a1c9c2f2d7066f959421e17af91d95
Closes-Bug: 1630076
  • Loading branch information
cijohnson committed Oct 4, 2016
1 parent 8e84eb6 commit c787d1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fabfile/tasks/provision.py
Original file line number Diff line number Diff line change
Expand Up @@ -2127,7 +2127,7 @@ def add_tor_agent_by_index(index, node_info, restart=True):
cmd += " --tor_ovs_protocol %s" % toragent_dict[host_string][i]['tor_ovs_protocol']
cmd += " --tor_agent_ovs_ka %s" % tor_agent_ovs_ka
# HA arguments
internal_vip = get_openstack_internal_vip()
internal_vip = get_contrail_internal_vip()
if internal_vip:
# Highly availbale setup
cmd += " --discovery_server_ip %s" % internal_vip
Expand Down

0 comments on commit c787d1e

Please sign in to comment.