Merge "Update docs for building ovs-dpdk images"

This commit is contained in:
Zuul 2018-12-27 07:26:56 +00:00 committed by Gerrit Code Review
commit 997a609e37
1 changed files with 8 additions and 12 deletions

View File

@ -9,30 +9,26 @@ To use the uio_pci_generic driver on Ubuntu a source build is required.
Building ovs with dpdk containers from source
---------------------------------------------
- Append the following to ``/etc/kolla/kolla-build.conf`` to select the version
of ovs and dpdk to use for your source build.
kolla-build.conf
________________
In this place the ``contrib/template-override/ovs-dpdk.j2`` file:
Append the following to ``/etc/kolla/kolla-build.conf`` to select the version
of ovs and dpdk to use for your source build.
.. code-block:: console
[openvswitch-base-plugin-ovs]
type = git
location = https://github.com/openvswitch/ovs.git
reference = v2.7.0
reference = v2.10.0
[openvswitch-base-plugin-dpdk]
type = git
location = http://dpdk.org/git/dpdk
reference = v17.02
reference = v17.11
To build the container execute the follow command:
To build the container, run the following command inside a cloned kolla
repository:
.. code-block:: console
tools/build.py --template-override \
contrib/template-override/ovs-dpdk.j2 dpdk
tools/build.py -t source --template-override contrib/template-override/ovs-dpdk.j2 ovsdpdk