Enables configuring Octavia flavor by default

Adds default flavor values for Octavia LB instances and enables flavor
creation by default.

Change-Id: I47d5c22cf2b846b8e2138841f59251e1a392b8d4
This commit is contained in:
Brent Eagles 2018-01-19 15:22:34 -03:30
parent 313d42c4c7
commit 43bd273183
2 changed files with 14 additions and 2 deletions

View File

@ -56,11 +56,14 @@ parameters:
amphora.
type: number
OctaviaFlavorProperties:
default: {}
default:
ram : '1024'
disk : '3'
vcpus : '1'
description: Dictionary describing the nova flavor for amphora.
type: json
OctaviaManageNovaFlavor:
default: false
default: true
description: Configure the nova flavor for the amphora.
type: boolean
OctaviaClientCertFile:
@ -106,8 +109,10 @@ outputs:
octavia::worker::amp_flavor_id: {get_param: OctaviaFlavorId}
octavia::worker::nova_flavor_config: {get_param: OctaviaFlavorProperties}
octavia::worker::manage_nova_flavor: {get_param: OctaviaManageNovaFlavor}
octavia::worker::nova_flavor_config: {get_param: OctaviaFlavorProperties}
octavia::certificates::client_cert: {get_param: OctaviaClientCertFile}
octavia::worker::amp_image_tag: {get_param: OctaviaAmphoraImageTag}
octavia::worker::amp_project_name: 'service'
octavia::worker::enable_ssh_access: false
-
if:

View File

@ -0,0 +1,7 @@
---
features:
- |
Default values for OctaviaFlavorProperties have been added and
OctaviaManageNovaFlavor is now enabled by default so a usable OpenStack
flavor will be available for creating Octavia load balancers immediately
after deployment.