![Matthew Kassawara](/assets/img/avatar_default.png)
Remove deprecated use_namespaces option from neutron agent configuration files. This option applies to a period when some kernels did not support namespaces. However, all kernels support them now which makes it no longer relevant. Partially implements: blueprint master-kilofication Change-Id: Ia29ee24331a2dbd7e79cba51bdba93dda1cfd4a9
35 lines
1.2 KiB
Django/Jinja
35 lines
1.2 KiB
Django/Jinja
# {{ ansible_managed }}
|
|
|
|
[DEFAULT]
|
|
verbose = {{ verbose }}
|
|
debug = {{ debug }}
|
|
|
|
allow_automatic_l3agent_failover = True
|
|
enable_metadata_proxy = True
|
|
external_network_bridge = {{ neutron_external_network_bridge }}
|
|
gateway_external_network_id = {{ neutron_gateway_external_network_id }}
|
|
|
|
# L3 Agent HA
|
|
ha_confs_path = {{ neutron_system_home_folder }}/ha_confs
|
|
ha_vrrp_advert_int = {{ neutron_ha_vrrp_advert_int }}
|
|
ha_vrrp_auth_password = {{ neutron_ha_vrrp_auth_password }}
|
|
ha_vrrp_auth_type = {{ neutron_ha_vrrp_auth_type }}
|
|
handle_internal_only_routers = {{ neutron_handle_internal_only_routers }}
|
|
l3_ha = {{ neutron_l3_ha_enabled }}
|
|
l3_ha_net_cidr = {{ neutron_l3_ha_net_cidr }}
|
|
max_l3_agents_per_router = {{ neutron_max_l3_agents_per_router | default(groups['neutron_agent']|length) }}
|
|
|
|
{% set min_router = groups['neutron_agent'] | length // 2 %}
|
|
{% set min_l3_router = min_router if min_router > 0 else 1 %}
|
|
|
|
min_l3_agents_per_router = {{ neutron_min_l3_agents_per_router | default(min_l3_router) }}
|
|
send_arp_for_ha = 3
|
|
|
|
# L3 configuration options
|
|
router_delete_namespaces = {{ neutron_l3_router_delete_namespaces }}
|
|
|
|
# L3 Agent interfaces
|
|
interface_driver = {{ neutron_driver_interface }}
|
|
handle_internal_only_routers = True
|
|
agent_mode = {{ neutron_agent_mode }}
|