[nobuto,r=billy-olsen] Let corosync decide the best bindnetaddr from

nodelist in the case of corosync_transport=udpu.

Partially-Closes-Bug: 1483317
This commit is contained in:
billy.olsen@canonical.com 2015-09-21 15:17:46 -07:00
commit c2e98300b3
1 changed files with 7 additions and 7 deletions

View File

@ -43,16 +43,16 @@ totem {
# This specifies the mode of redundant ring, which may be none, active, or passive.
rrp_mode: none
{% if transport == "udp" %}
interface {
# The following values need to be set based on your environment
ringnumber: 0
bindnetaddr: {{ corosync_bindnetaddr }}
{% if transport == "udp" %}
mcastaddr: {{ corosync_mcastaddr }}
{% endif %}
mcastport: {{ corosync_mcastport }}
}
transport: {{ transport }}
{% endif %}
transport: {{ transport }}
}
quorum {
@ -70,10 +70,10 @@ quorum {
{% if transport == "udpu" %}
nodelist {
{% for nodeid, ip in ha_nodes.iteritems() %}
node {
ring0_addr: {{ ip }}
nodeid: {{ nodeid }}
}
node {
ring0_addr: {{ ip }}
nodeid: {{ nodeid }}
}
{% endfor %}
}
{% endif %}