summaryrefslogtreecommitdiffstats
path: root/tests/blueprints/heat/hello-world.hot
blob: 398bc623eaf78c969310f4954d3578838ab5a2aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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]