Install python2-networking-baremetal in neutron-server

This package contain the ML2 plug-in. Baremetal mechanism driver used
to integrate Ironic and Neutron. This is required for routed networks
support in Ironic.

Also required for routed networks support in containerized undercloud.

Change-Id: I12c36754f8da8dfb8d428ad749afca4b294ec4c4
This commit is contained in:
Harald Jensas 2018-02-16 21:40:23 +01:00 committed by Harald Jensås
parent 95cc729950
commit ae07676c67

View File

@ -56,8 +56,11 @@ RUN sed -i -r 's,^(Listen 80),#\1,' /etc/httpd/conf/httpd.conf \
&& echo "if [[ "\$\(whoami\)" == 'root' ]]; then rm -rf /var/run/httpd/* /run/httpd/* /tmp/httpd*; fi" >> /usr/local/bin/kolla_extend_start
{% endblock %}
# NOTE (jaosorior): neutron-server with TLS everywhere needs these packages.
{% set neutron_server_packages_append = ['httpd', 'mod_ssl'] %}
# NOTE (jaosorior): neutron-server with TLS everywhere needs httpd and mod_ssl packages.
# NOTE (hjensas): python2-networking-baremetal ML2 plug-in for ironic neutron integration.
{% set neutron_server_packages_append = ['httpd',
'mod_ssl',
'python2-networking-baremetal'] %}
{% block neutron_server_footer %}
RUN sed -i -r 's,^(Listen 80),#\1,' /etc/httpd/conf/httpd.conf \
&& sed -i -r 's,^(Listen 443),#\1,' /etc/httpd/conf.d/ssl.conf \