summaryrefslogtreecommitdiffstats
path: root/snaps/openstack/tests/heat/floating_ip_heat_template.yaml
diff options
context:
space:
mode:
authorMichael Polenchuk <mpolenchuk@mirantis.com>2018-09-11 13:55:21 +0400
committerMichael Polenchuk <mpolenchuk@mirantis.com>2018-09-11 14:07:11 +0400
commit0dacfaa2fbd2dfe7fc9d438b9350a0187506e61c (patch)
treed1188a717fc589eee240f2201fc6e46f18185ecf /snaps/openstack/tests/heat/floating_ip_heat_template.yaml
parentd75a13621de68b122189301a761b3802f9b86ef1 (diff)
Pass flavor metadata into heat template
Change-Id: I660c7421c9c43d4603cf05489ca39f781467e3a1 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
Diffstat (limited to 'snaps/openstack/tests/heat/floating_ip_heat_template.yaml')
-rw-r--r--snaps/openstack/tests/heat/floating_ip_heat_template.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/snaps/openstack/tests/heat/floating_ip_heat_template.yaml b/snaps/openstack/tests/heat/floating_ip_heat_template.yaml
index 40626b9..e64c7fc 100644
--- a/snaps/openstack/tests/heat/floating_ip_heat_template.yaml
+++ b/snaps/openstack/tests/heat/floating_ip_heat_template.yaml
@@ -41,6 +41,10 @@ parameters:
label: Instance Flavor for second VM
description: Flavor name for the second instance
default: m1.med
+ flavor_extra_specs:
+ type: json
+ description: Instance Flavor extra specs
+ default: {}
net_name:
type: string
label: Test network name
@@ -88,12 +92,14 @@ resources:
ram: 1024
vcpus: 2
disk: 2
+ extra_specs: { get_param: flavor_extra_specs }
flavor2:
type: OS::Nova::Flavor
properties:
ram: 1024
vcpus: 2
disk: 2
+ extra_specs: { get_param: flavor_extra_specs }
network:
type: OS::Neutron::Net