File tree Expand file tree Collapse file tree 3 files changed +50
-0
lines changed
docker/octavia/octavia-driver-agent Expand file tree Collapse file tree 3 files changed +50
-0
lines changed Original file line number Diff line number Diff line change
1
+ FROM {{ namespace }}/{{ image_prefix }}octavia-base:{{ tag }}
2
+ {% block labels %}
3
+ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
4
+ {% endblock %}
5
+
6
+ {% block octavia_driver_agent_header %}{% endblock %}
7
+
8
+ {% import "macros.j2" as macros with context %}
9
+
10
+ {% if install_type == 'binary' %}
11
+ {% if base_package_type == 'rpm' %}
12
+ {% set octavia_driver_agent_packages = [
13
+ 'python3-ovn-octavia-provider'
14
+ ] %}
15
+ {% elif base_package_type == 'deb' %}
16
+ {% set octavia_driver_agent_packages = [
17
+ 'octavia-driver-agent' ,
18
+ 'python3-ovn-octavia-provider'
19
+ ] %}
20
+ {% endif %}
21
+
22
+ {% elif install_type == 'source' %}
23
+ {% set octavia_driver_agent_packages = [
24
+ ] %}
25
+
26
+ {% set octavia_driver_agent_plugins_pip_packages = [
27
+ '/plugins/*'
28
+ ] %}
29
+
30
+ {{ macros.install_packages(octavia_driver_agent_packages | customizable("packages")) }}
31
+
32
+ ADD plugins-archive /
33
+ RUN if [ "$(ls /plugins)" ]; then \
34
+ {{ macros.install_pip(octavia_driver_agent_plugins_pip_packages) }} ; \
35
+ fi
36
+ {% endif %}
37
+
38
+ {% block octavia_driver_agent_footer %}{% endblock %}
39
+ {% block footer %}{% endblock %}
40
+
41
+ USER octavia
Original file line number Diff line number Diff line change 616
616
'type' : 'url' ,
617
617
'location' : ('$tarballs_base/openstack/ovn-octavia-provider/'
618
618
'ovn-octavia-provider-stable-victoria.tar.gz' )},
619
+ 'octavia-driver-agent-plugin-ovn-octavia-provider' : {
620
+ 'type' : 'url' ,
621
+ 'location' : ('$tarballs_base/openstack/ovn-octavia-provider/'
622
+ 'ovn-octavia-provider-stable-victoria.tar.gz' )},
619
623
'panko-base' : {
620
624
'type' : 'url' ,
621
625
'location' : ('$tarballs_base/openstack/panko/'
Original file line number Diff line number Diff line change
1
+ ---
2
+ features :
3
+ - |
4
+ ``octavia-driver-agent`` image was added to support other Octavia providers than
5
+ ``amphora``.
You can’t perform that action at this time.
0 commit comments