Add networking-sfc package to tacker images
Tacker need networking-sfc package to allow creation of SFC flows in neutron. Change-Id: I825fa9f67cfadb99d6bd90d7bc322747bd44fca4
This commit is contained in:
parent
bee9ea39ff
commit
9342ed6b6f
|
@ -11,7 +11,8 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
|
||||||
|
|
||||||
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
||||||
{% set tacker_base_packages = [
|
{% set tacker_base_packages = [
|
||||||
'openstack-tacker-common'
|
'openstack-tacker-common',
|
||||||
|
'python-networking-sfc'
|
||||||
] %}
|
] %}
|
||||||
|
|
||||||
{% elif base_distro in ['debian', 'ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
|
@ -26,16 +27,24 @@ RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
|
||||||
{% elif install_type == 'source' %}
|
{% elif install_type == 'source' %}
|
||||||
|
|
||||||
ADD tacker-base-archive /tacker-base-source
|
ADD tacker-base-archive /tacker-base-source
|
||||||
|
ADD plugins-archive /
|
||||||
|
|
||||||
{% set tacker_base_pip_packages = [
|
{% set tacker_base_pip_packages = [
|
||||||
'/tacker'
|
'/tacker'
|
||||||
] %}
|
] %}
|
||||||
|
|
||||||
|
{% set tacker_base_plugins_pip_packages = [
|
||||||
|
'/plugins/*'
|
||||||
|
] %}
|
||||||
|
|
||||||
RUN ln -s tacker-base-source/* tacker \
|
RUN ln -s tacker-base-source/* tacker \
|
||||||
&& {{ macros.install_pip(tacker_base_pip_packages | customizable("pip_packages")) }} \
|
&& {{ macros.install_pip(tacker_base_pip_packages | customizable("pip_packages")) }} \
|
||||||
&& mkdir -p /etc/tacker \
|
&& mkdir -p /etc/tacker \
|
||||||
&& cp -r /tacker/etc/tacker/* /etc/tacker \
|
&& cp -r /tacker/etc/tacker/* /etc/tacker \
|
||||||
&& chown -R tacker: /etc/tacker
|
&& chown -R tacker: /etc/tacker \
|
||||||
|
&& if [ "$(ls /plugins)" ]; then \
|
||||||
|
{{ macros.install_pip(tacker_base_plugins_pip_packages) }}; \
|
||||||
|
fi
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
|
@ -637,6 +637,10 @@ SOURCES = {
|
||||||
'type': 'url',
|
'type': 'url',
|
||||||
'location': ('$tarballs_base/tacker/'
|
'location': ('$tarballs_base/tacker/'
|
||||||
'tacker-master.tar.gz')},
|
'tacker-master.tar.gz')},
|
||||||
|
'tacker-base-plugin-networking-sfc': {
|
||||||
|
'type': 'url',
|
||||||
|
'location': ('$tarballs_base/networking-sfc/'
|
||||||
|
'networking-sfc-master.tar.gz')},
|
||||||
'tempest': {
|
'tempest': {
|
||||||
'type': 'url',
|
'type': 'url',
|
||||||
'location': ('$tarballs_base/tempest/'
|
'location': ('$tarballs_base/tempest/'
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
---
|
||||||
|
features:
|
||||||
|
- Networking-sfc package is installed in tacker images
|
||||||
|
to provide Service Function Chaining capabilities.
|
Loading…
Reference in New Issue