Merge "Add support for [controller_worker] image_driver"
This commit is contained in:
commit
11796ca87c
@ -57,6 +57,10 @@
|
||||
# (optional) Name of volume driver for managing amphora volumes
|
||||
# Defaults to $::os_service_default
|
||||
#
|
||||
# [*image_driver*]
|
||||
# (optional) Name of volume driver for managing amphora image
|
||||
# Defaults to $::os_service_default
|
||||
#
|
||||
# [*amp_ssh_key_name*]
|
||||
# (optional) Name of Openstack SSH keypair for communicating with amphora
|
||||
# Defaults to 'octavia-ssh-key'
|
||||
@ -187,6 +191,7 @@ class octavia::controller (
|
||||
$compute_driver = $::os_service_default,
|
||||
$network_driver = $::os_service_default,
|
||||
$volume_driver = $::os_service_default,
|
||||
$image_driver = $::os_service_default,
|
||||
$enable_ssh_access = true,
|
||||
$amp_ssh_key_name = 'octavia-ssh-key',
|
||||
$timeout_client_data = $::os_service_default,
|
||||
@ -243,6 +248,7 @@ class octavia::controller (
|
||||
'controller_worker/compute_driver' : value => $compute_driver;
|
||||
'controller_worker/network_driver' : value => $network_driver;
|
||||
'controller_worker/volume_driver' : value => $volume_driver;
|
||||
'controller_worker/image_driver' : value => $image_driver;
|
||||
'haproxy_amphora/timeout_client_data' : value => $timeout_client_data;
|
||||
'haproxy_amphora/timeout_member_connect' : value => $timeout_member_connect;
|
||||
'haproxy_amphora/timeout_member_data' : value => $timeout_member_data;
|
||||
|
4
releasenotes/notes/image_driver-37560e3159ece607.yaml
Normal file
4
releasenotes/notes/image_driver-37560e3159ece607.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
---
|
||||
features:
|
||||
- |
|
||||
The new ``octavia::controller::image_driver`` parameter has been added.
|
@ -25,6 +25,7 @@ describe 'octavia::controller' do
|
||||
:compute_driver => 'sample_compute_driver',
|
||||
:network_driver => 'sample_network_driver',
|
||||
:volume_driver => 'sample_volume_driver',
|
||||
:image_driver => 'sample_image_driver',
|
||||
:amp_ssh_key_name => 'custom-amphora-key',
|
||||
:timeout_client_data => 60,
|
||||
:timeout_member_connect => 5,
|
||||
@ -65,6 +66,7 @@ describe 'octavia::controller' do
|
||||
is_expected.to contain_octavia_config('controller_worker/compute_driver').with_value('sample_compute_driver')
|
||||
is_expected.to contain_octavia_config('controller_worker/network_driver').with_value('sample_network_driver')
|
||||
is_expected.to contain_octavia_config('controller_worker/volume_driver').with_value('sample_volume_driver')
|
||||
is_expected.to contain_octavia_config('controller_worker/image_driver').with_value('sample_image_driver')
|
||||
is_expected.to contain_octavia_config('controller_worker/amp_ssh_key_name').with_value('custom-amphora-key')
|
||||
is_expected.to contain_octavia_config('haproxy_amphora/timeout_client_data').with_value(60)
|
||||
is_expected.to contain_octavia_config('haproxy_amphora/timeout_member_connect').with_value(5)
|
||||
@ -105,6 +107,7 @@ describe 'octavia::controller' do
|
||||
is_expected.to contain_octavia_config('controller_worker/compute_driver').with_value('<SERVICE DEFAULT>')
|
||||
is_expected.to contain_octavia_config('controller_worker/network_driver').with_value('<SERVICE DEFAULT>')
|
||||
is_expected.to contain_octavia_config('controller_worker/volume_driver').with_value('<SERVICE DEFAULT>')
|
||||
is_expected.to contain_octavia_config('controller_worker/image_driver').with_value('<SERVICE DEFAULT>')
|
||||
is_expected.to contain_octavia_config('controller_worker/amp_ssh_key_name').with_value('octavia-ssh-key')
|
||||
is_expected.to contain_octavia_config('haproxy_amphora/timeout_client_data').with_value('<SERVICE DEFAULT>')
|
||||
is_expected.to contain_octavia_config('haproxy_amphora/timeout_member_connect').with_value('<SERVICE DEFAULT>')
|
||||
|
Loading…
Reference in New Issue
Block a user