diff options
Diffstat (limited to 'tests/hello-world.hot')
-rw-r--r-- | tests/hello-world.hot | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/tests/hello-world.hot b/tests/hello-world.hot new file mode 100644 index 0000000..398bc62 --- /dev/null +++ b/tests/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] |