Merge "Neutron ubuntu binary container"
This commit is contained in:
commit
28ef995398
@ -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
|
||||||
|
@ -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'] %}
|
||||||
|
@ -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'] %}
|
||||||
|
@ -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'] %}
|
||||||
|
Loading…
Reference in New Issue
Block a user