---
kolla_base_distro: "{{ base_distro }}"
kolla_install_type: "{{ install_type }}"

# Use a random router id, otherwise it may result in the same router id
# in the CI gate.
keepalived_virtual_router_id: "{{ 250 | random(1) }}"

{% if hostvars|length > 2 %}
enable_haproxy: "no"
kolla_internal_vip_address: "{{ api_interface_address }}"
{% else %}
kolla_internal_vip_address: "169.254.169.10"
{% endif %}

network_interface: "{{ api_interface_name }}"
docker_restart_policy: "never"
{% if need_build_image %}
# NOTE(Jeffrey4l): use different a docker namespace name in case it pull image from hub.docker.io when deplying
docker_namespace: "lokolla"
docker_registry: "{{ api_interface_address }}:4000"
{% else %}
# use docker hub images
docker_namespace: "kolla"
openstack_release: "{{ zuul.branch | basename }}"
{% endif %}
neutron_external_interface: "fake_interface"
enable_horizon: "yes"
enable_heat: "no"
openstack_logging_debug: "True"
openstack_service_workers: "1"

{% if 'ceph' in zuul.job %}
enable_ceph: "yes"
enable_cinder: "yes"
{% endif %}

disable_selinux: "yes"
