-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathopenstack-vm-blueprint.yaml
42 lines (32 loc) · 980 Bytes
/
openstack-vm-blueprint.yaml
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
39
40
41
42
tosca_definitions_version: cloudify_dsl_1_3
imports:
- http://www.getcloudify.org/spec/cloudify/4.3/types.yaml
- plugin:cloudify-openstack-plugin
inputs:
server_name:
type: string
default: server
server_image:
type: string
default: "centos7.4-1802"
server_flavor:
type: string
default: "m1.small"
dsl_definitions:
openstack_config: &openstack_config
username: { get_secret: keystone_username }
password: { get_secret: keystone_password }
project_id: { get_secret: project_id }
user_domain_name: { get_secret: user_domain_name }
auth_url: { get_secret: auth_url }
node_templates:
server_host:
type: cloudify.openstack.nodes.Server
properties:
resource_id: { get_input: server_name }
openstack_config: *openstack_config
image: { get_input: server_image }
flavor: { get_input: server_flavor }
management_network_name: "bala"
agent_config:
install_method: none