Files
openstack-helm/tools/images/openvswitch
Stacey Fletcher 34c37f620d Add Makefile
This patchset adds a Makefile for each component under tools/images

Change-Id: I84d8bda0313e921f0921dfef10d14469ed26ff5c
2018-03-13 17:29:41 +00:00
..
2018-03-13 17:29:41 +00:00

OpenvSwitch Container
=====================

This container builds a small image with OpenvSwitch.

Instructions
------------

OS Specific Host setup:
~~~~~~~~~~~~~~~~~~~~~~~

Ubuntu:
^^^^^^^

From a freshly provisioned Ubuntu 16.04 LTS host run:

.. code:: bash

    sudo apt-get update -y
    sudo apt-get install -y \
            docker.io \
            git

Build the VBMC Image environment
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

A known good image is published to dockerhub on a fairly regular basis, but if
you wish to build your own image, from the root directory of the OpenStack-Helm
repo run:

.. code:: bash

    OVS_VERSION=2.8.1
    sudo docker build \
      --network=host \
      --build-arg OVS_VERSION="${OVS_VERSION}" \
      -t docker.io/openstackhelm/openvswitch:v${OVS_VERSION} \
      tools/images/openvswitch
    sudo docker push docker.io/openstackhelm/openvswitch:v${OVS_VERSION}