From 213e916cb6a63a79ff3ceac7d9bec48b251be922 Mon Sep 17 00:00:00 2001 From: blsaws Date: Thu, 8 Sep 2016 23:29:47 -0700 Subject: Added blueprints and startup script, etc JIRA: MODELS-23 Change-Id: I13ea12d8d9791fd2aa6861909d6194caaa47733f Signed-off-by: blsaws --- tests/blueprints/heat/hello-world.hot | 38 +++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100755 tests/blueprints/heat/hello-world.hot (limited to 'tests/blueprints/heat') diff --git a/tests/blueprints/heat/hello-world.hot b/tests/blueprints/heat/hello-world.hot new file mode 100755 index 0000000..a4d6a7e --- /dev/null +++ b/tests/blueprints/heat/hello-world.hot @@ -0,0 +1,38 @@ +heat_template_version: 2013-05-23 +description: 'Hello World' +parameters: {} +resources: + VDU1: + type: OS::Nova::Server + properties: + availability_zone: nova + config_drive: false + flavor: {get_resource: VDU1_flavor} + image: cirros-0.3.4-x86_64-uec + networks: + - port: + get_resource: CP1 + - port: + get_resource: CP2 + - port: + get_resource: CP3 + user_data_format: SOFTWARE_CONFIG + CP1: + type: OS::Neutron::Port + properties: + network: vnf_mgmt + CP2: + type: OS::Neutron::Port + properties: + network: vnf_private + CP3: + type: OS::Neutron::Port + properties: + network: public + VDU1_flavor: + properties: {disk: 1, ram: 512, vcpus: 1} + type: OS::Nova::Flavor +outputs: + mgmt_ip-VDU1: + value: + get_attr: [CP1, fixed_ips, 0, ip_address] -- cgit