From 4f5bac108952a4f7e0bec3789bea175c5875d6f7 Mon Sep 17 00:00:00 2001 From: Sean Mooney Date: Wed, 29 Mar 2017 15:05:55 +0000 Subject: 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 Partial-Implements: blueprint ovs-dpdk Change-Id: I7c3a5dddeca1886fe1c7681ce8d5bebde08f3102 --- docker/openvswitch/openvswitch-base/Dockerfile.j2 | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docker/openvswitch/openvswitch-base') diff --git a/docker/openvswitch/openvswitch-base/Dockerfile.j2 b/docker/openvswitch/openvswitch-base/Dockerfile.j2 index 75c60d890..1d16e8872 100644 --- a/docker/openvswitch/openvswitch-base/Dockerfile.j2 +++ b/docker/openvswitch/openvswitch-base/Dockerfile.j2 @@ -5,6 +5,8 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build {% import "macros.j2" as macros with context %} +{% block ovs_install %} + {% if base_distro in ['centos', 'oraclelinux', 'rhel'] %} {% set openvswitch_base_packages = ['openvswitch'] %} @@ -14,6 +16,8 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build {% 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 \ -- cgit v1.2.3