kolla/docker/neutron/neutron-l3-agent/Dockerfile.j2
Murali Annamneni fa64c72060 Add IPV6 radvd package to neutron-l3-agent
When a IPV6 subnet created in SLAAC mode, neutron-l3-agent fails if
radvd is not installed. 'radvd' daemon is required in generation of RA
messages by virtual routers.

Change-Id: I16e856bf4563ac1dba5b38b7ed7fdaa52e629ee4
2017-07-04 14:52:45 +01:00

29 lines
741 B
Django/Jinja

FROM {{ namespace }}/{{ image_prefix }}neutron-base:{{ tag }}
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
{% block neutron_l3_agent_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}
{% if base_distro in ['debian', 'ubuntu'] %}
{% set neutron_l3_agent_packages = [
'neutron-l3-agent'
] %}
{% endif %}
{% elif install_type == 'source' %}
{% set neutron_l3_agent_packages = [
'radvd'
] %}
{% endif %}
{{ macros.install_packages(neutron_l3_agent_packages | customizable("packages")) }}
{% block neutron_l3_agent_footer %}{% endblock %}
{% block footer %}{% endblock %}
USER neutron