Neutron ubuntu binary container

Change-Id: Iae33dfd72755ddc29961d8624fef2f4eb045816b
Partially-Implements: blueprint binary-ubuntu
This commit is contained in:
Artur Zarzycki 2015-12-30 13:13:25 +01:00
parent c5c5c6e444
commit 0ce55a9edd
4 changed files with 34 additions and 0 deletions

View File

@ -17,6 +17,15 @@ RUN apt-get install -y --no-install-recommends supervisor \
COPY supervisord.conf /etc/supervisor/ COPY supervisord.conf /etc/supervisor/
{% if install_type == 'binary' %}
RUN apt-get install -y --no-install-recommends \
neutron-metadata-agent \
neutron-dhcp-agent \
neutron-l3-agent \
&& apt-get clean
{% endif %}
{% endif %} {% endif %}
# TODO: SamYaple FWaaS is part of the l3-agent, not a seperate agent that is # TODO: SamYaple FWaaS is part of the l3-agent, not a seperate agent that is

View File

@ -13,6 +13,16 @@ RUN yum -y install \
# TODO (sdake): remove once RDO adds to the openstack-neutron package # TODO (sdake): remove once RDO adds to the openstack-neutron package
RUN pip install oslo.versionedobjects RUN pip install oslo.versionedobjects
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
neutron-plugin-ml2 \
openvswitch-switch \
neutron-server \
&& apt-get clean \
&& mkdir -p /usr/share/neutron \
&& ln -s /etc/neutron/api-paste.ini /usr/share/neutron/api-paste.ini
{% endif %} {% endif %}
{% elif install_type == 'source' %} {% elif install_type == 'source' %}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %} {% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}

View File

@ -10,6 +10,13 @@ RUN yum install -y \
openstack-neutron-linuxbridge \ openstack-neutron-linuxbridge \
&& yum clean all && yum clean all
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
ebtables \
neutron-plugin-linuxbridge \
&& apt-get clean
{% endif %} {% endif %}
{% elif install_type == 'source' %} {% elif install_type == 'source' %}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %} {% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}

View File

@ -10,6 +10,14 @@ RUN yum install -y \
openvswitch \ openvswitch \
&& yum clean all && yum clean all
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
neutron-plugin-openvswitch \
openvswitch-switch \
neutron-plugin-openvswitch-agent \
&& apt-get clean
{% endif %} {% endif %}
{% elif install_type == 'source' %} {% elif install_type == 'source' %}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %} {% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}