aboutsummaryrefslogtreecommitdiffstats
path: root/test/mocks/mass-pnf-sim/deployment/heat/heat.yaml
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-07-03 14:27:52 +0200
committerMorgan Richomme <morgan.richomme@orange.com>2020-07-03 16:02:32 +0000
commitf58de8f008604c0faf54395f48a2db25b1a5e756 (patch)
tree29c89ee6fd886115133aa9070cd2c5f15c3f6042 /test/mocks/mass-pnf-sim/deployment/heat/heat.yaml
parentf8d8c571385b4924fc08edd3f3019609de0f4e6c (diff)
Add basic cloud-init setup for the simulator instance
Change-Id: I456358ac26e4ab02d5989a9505541721553034fe Issue-ID: INT-1649 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Diffstat (limited to 'test/mocks/mass-pnf-sim/deployment/heat/heat.yaml')
-rw-r--r--test/mocks/mass-pnf-sim/deployment/heat/heat.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/mocks/mass-pnf-sim/deployment/heat/heat.yaml b/test/mocks/mass-pnf-sim/deployment/heat/heat.yaml
index 7bc36dcc9..9664ea0ad 100644
--- a/test/mocks/mass-pnf-sim/deployment/heat/heat.yaml
+++ b/test/mocks/mass-pnf-sim/deployment/heat/heat.yaml
@@ -18,6 +18,11 @@ parameters:
type: string
description: Id of a private network for instance interface
resources:
+ config:
+ type: OS::Heat::SoftwareConfig
+ properties:
+ config:
+ get_file: cloud-config.yaml
simulator_floating_ip:
type: OS::Neutron::FloatingIP
properties:
@@ -38,6 +43,9 @@ resources:
networks:
- network:
get_param: instance_net_id
+ user_data_format: RAW
+ user_data:
+ get_resource: config
outputs:
simulator_instance_id:
description: ID of the simulator instance