a9bd125f69
This PS updates the heat templates, reducing the size of the launched vm. In addition cinder is enabled in the ceph dev pipeline, this is possible due to the resources no longer consumed by the test vm. Change-Id: I9efe6fe643c636b660dd54b60dfe7c8785d7fec2
57 lines
950 B
YAML
57 lines
950 B
YAML
heat_template_version: 2016-10-14
|
|
|
|
parameters:
|
|
baremetal_net:
|
|
type: string
|
|
default: baremetal
|
|
|
|
baremetal_subnet:
|
|
type: string
|
|
default: baremetal
|
|
|
|
image:
|
|
type: string
|
|
default: Cirros 0.3.5 64-bit
|
|
|
|
flavor:
|
|
type: string
|
|
default: baremetal
|
|
|
|
ssh_key:
|
|
type: string
|
|
default: heat-vm-key
|
|
|
|
resources:
|
|
server:
|
|
type: OS::Nova::Server
|
|
properties:
|
|
image:
|
|
get_param: image
|
|
flavor:
|
|
get_param: flavor
|
|
key_name:
|
|
get_param: ssh_key
|
|
networks:
|
|
- port:
|
|
get_resource: server_port
|
|
user_data_format: RAW
|
|
|
|
server_port:
|
|
type: OS::Neutron::Port
|
|
properties:
|
|
network:
|
|
get_param: baremetal_net
|
|
fixed_ips:
|
|
- subnet:
|
|
get_param: baremetal_subnet
|
|
port_security_enabled: false
|
|
|
|
outputs:
|
|
ip:
|
|
value:
|
|
get_attr:
|
|
- server_port
|
|
- fixed_ips
|
|
- 0
|
|
- ip_address
|