From a98e478d2363c341722ffb45a7a024ab17a56c18 Mon Sep 17 00:00:00 2001 From: Justin Shepherd Date: Mon, 2 Feb 2015 10:10:33 -0600 Subject: [PATCH] Adding default values for image and flavor. Defaulting to standard options for image and flavor selections. Also providing a list of allowed_values, to present a dropdown if a user is going through the UI. Change-Id: I532b248e5eacc892e27cc56bfcdaa0ca4e2703e0 --- scripts/rpc-aio-rax-heat-template.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/scripts/rpc-aio-rax-heat-template.yml b/scripts/rpc-aio-rax-heat-template.yml index 37b04a93ee..12b8176867 100644 --- a/scripts/rpc-aio-rax-heat-template.yml +++ b/scripts/rpc-aio-rax-heat-template.yml @@ -21,9 +21,30 @@ parameters: image_name: type: string description: Name of image to use for server + default: Ubuntu 12.04 LTS (Precise Pangolin) (PVHVM) + constraints: + - allowed_values: + - Ubuntu 12.04 LTS (Precise Pangolin) (PVHVM) + - Ubuntu 12.04 LTS (Precise Pangolin) + description: Must be a supported operating system. flavor_name: type: string description: Name Flavor to use for server + default: 8 GB Performance + constraints: + - allowed_values: + - 8 GB General Purpose v1 + - 15 GB General Purpose v1 + - 30 GB General Purpose v1 + - 15 GB I/O v1 + - 30 GB I/O v1 + - 8 GB Standard Instance + - 15 GB Standard Instance + - 30 GB Standard Instance + - 8 GB Performance + - 15 GB Performance + - 30 GB Performance + description: Must be a valid flavor. server_name: type: string default: RPCv9.0.0-AIO