Merge "Make keepalived virtual_router_id param configurable"
This commit is contained in:
commit
73800ef8ed
@ -67,6 +67,13 @@ docker_common_options:
|
|||||||
restart_retries: "{{ docker_restart_policy_retry }}"
|
restart_retries: "{{ docker_restart_policy_retry }}"
|
||||||
|
|
||||||
|
|
||||||
|
####################
|
||||||
|
# keepalived options
|
||||||
|
####################
|
||||||
|
# Arbitary unique number from 0..255
|
||||||
|
keepalived_virtual_router_id: "51"
|
||||||
|
|
||||||
|
|
||||||
####################
|
####################
|
||||||
# Networking options
|
# Networking options
|
||||||
####################
|
####################
|
||||||
|
@ -5,11 +5,11 @@ vrrp_script check_alive {
|
|||||||
rise 10
|
rise 10
|
||||||
}
|
}
|
||||||
|
|
||||||
vrrp_instance kolla_internal_vip {
|
vrrp_instance kolla_internal_vip_{{ keepalived_virtual_router_id }} {
|
||||||
state BACKUP
|
state BACKUP
|
||||||
nopreempt
|
nopreempt
|
||||||
interface {{ api_interface }}
|
interface {{ api_interface }}
|
||||||
virtual_router_id 51
|
virtual_router_id {{ keepalived_virtual_router_id }}
|
||||||
priority {{ groups['haproxy'].index(inventory_hostname) + 1 }}
|
priority {{ groups['haproxy'].index(inventory_hostname) + 1 }}
|
||||||
advert_int 1
|
advert_int 1
|
||||||
virtual_ipaddress {
|
virtual_ipaddress {
|
||||||
|
@ -74,6 +74,13 @@ neutron_external_interface: "eth1"
|
|||||||
#neutron_plugin_agent: "openvswitch"
|
#neutron_plugin_agent: "openvswitch"
|
||||||
|
|
||||||
|
|
||||||
|
####################
|
||||||
|
# keepalived options
|
||||||
|
####################
|
||||||
|
# Arbitary unique number from 0..255
|
||||||
|
#keepalived_virtual_router_id: "51"
|
||||||
|
|
||||||
|
|
||||||
####################
|
####################
|
||||||
# TLS options
|
# TLS options
|
||||||
####################
|
####################
|
||||||
|
Loading…
x
Reference in New Issue
Block a user