Sean Mooney 4f5bac1089 introduces support for the OVS DPDK dataplane
- DPDK is a  userspace library for high-performance networking.
- This change enable support of Open vSwitch with the DPDK
  accelerated netdev datapath.
- This change provided binary and source support via
  a template-override.
- This change provides an example template override file
  and corresponding documentation.

Co-Authored-By: Mauricio Lima <mauriciolimab@gmail.com>
Partial-Implements: blueprint ovs-dpdk
Change-Id: I7c3a5dddeca1886fe1c7681ce8d5bebde08f3102
2017-07-05 11:34:51 +00:00

27 lines
875 B
Django/Jinja

FROM {{ namespace }}/{{ image_prefix }}base:{{ tag }}
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
{% block openvswitch_base_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% block ovs_install %}
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
{% set openvswitch_base_packages = ['openvswitch'] %}
{% elif base_distro in ['debian', 'ubuntu'] %}
{% set openvswitch_base_packages = ['openvswitch-switch'] %}
{% endif %}
{{ macros.install_packages(openvswitch_base_packages | customizable("packages")) }}
{% endblock %}
COPY extend_start.sh /usr/local/bin/kolla_extend_start
RUN touch /usr/local/bin/kolla_openvswitch_extend_start \
&& chmod 755 /usr/local/bin/kolla_extend_start /usr/local/bin/kolla_openvswitch_extend_start
{% block openvswitch_base_footer %}{% endblock %}