summaryrefslogtreecommitdiffstats
path: root/tosca2heat/heat-translator/translator/tests/data/hot_output/network/hot_server_on_existing_network.yaml
blob: 5116bcca424ea7aa19d0eed482fcc71cd16e1f51 (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
heat_template_version: 2014-10-16

description: >
  TOSCA simple profile with 1 server bound to an existing network

parameters:
  network_name:
    type: string
    description: Network name
    default: private_net

resources:
  my_server:
    type: OS::Nova::Server
    properties:
      flavor: m1.small
      image: cirros-0.3.2-x86_64-uec
      networks:
      - port: { get_resource: my_port }
      user_data_format: SOFTWARE_CONFIG
      software_config_transport: POLL_SERVER_HEAT

  my_port:
    type: OS::Neutron::Port
    properties:
      network: {get_param: network_name}

outputs: {}