Skip to content

Commit 9d956be

Browse files
authored
Merge pull request #10 from indigo-dc/devel
Remove initial indentation
2 parents c669521 + 73243e2 commit 9d956be

File tree

1 file changed

+54
-54
lines changed

1 file changed

+54
-54
lines changed

kepler.yaml

+54-54
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,54 @@
1-
tosca_definitions_version: tosca_simple_yaml_1_0
2-
3-
imports:
4-
- indigo_custom_types: https://raw.githubusercontent.com/indigo-dc/tosca-types/master/custom_types.yaml
5-
6-
description: TOSCA template for deploying an instance for Kepler
7-
8-
topology_template:
9-
inputs:
10-
number_cpus:
11-
type: integer
12-
description: number of cpus required for the instance
13-
default: 1
14-
memory_size:
15-
type: string
16-
description: ram memory required for the instance
17-
default: 1 GB
18-
19-
node_templates:
20-
21-
kepler:
22-
type: tosca.nodes.indigo.Kepler
23-
requirements:
24-
- host: kepler_server
25-
26-
kepler_server:
27-
type: tosca.nodes.indigo.Compute
28-
capabilities:
29-
endpoint:
30-
properties:
31-
network_name: PUBLIC
32-
ports:
33-
ssh_port:
34-
protocol: tcp
35-
source: 22
36-
vnc_port:
37-
protocol: tcp
38-
source: 5900
39-
host:
40-
properties:
41-
num_cpus: { get_input: number_cpus }
42-
mem_size: { get_input: memory_size }
43-
os:
44-
properties:
45-
type: linux
46-
distribution: ubuntu
47-
version: 14.04
48-
image: indigodatacloudapps/kepler
49-
50-
outputs:
51-
instance_ip:
52-
value: { get_attribute: [ kepler_server, public_address, 0 ] }
53-
instance_creds:
54-
value: { get_attribute: [ kepler_server, endpoint, credential, 0 ] }
1+
tosca_definitions_version: tosca_simple_yaml_1_0
2+
3+
imports:
4+
- indigo_custom_types: https://raw.githubusercontent.com/indigo-dc/tosca-types/master/custom_types.yaml
5+
6+
description: TOSCA template for deploying an instance for Kepler
7+
8+
topology_template:
9+
inputs:
10+
number_cpus:
11+
type: integer
12+
description: number of cpus required for the instance
13+
default: 1
14+
memory_size:
15+
type: string
16+
description: ram memory required for the instance
17+
default: 1 GB
18+
19+
node_templates:
20+
21+
kepler:
22+
type: tosca.nodes.indigo.Kepler
23+
requirements:
24+
- host: kepler_server
25+
26+
kepler_server:
27+
type: tosca.nodes.indigo.Compute
28+
capabilities:
29+
endpoint:
30+
properties:
31+
network_name: PUBLIC
32+
ports:
33+
ssh_port:
34+
protocol: tcp
35+
source: 22
36+
vnc_port:
37+
protocol: tcp
38+
source: 5900
39+
host:
40+
properties:
41+
num_cpus: { get_input: number_cpus }
42+
mem_size: { get_input: memory_size }
43+
os:
44+
properties:
45+
type: linux
46+
distribution: ubuntu
47+
version: 14.04
48+
image: indigodatacloudapps/kepler
49+
50+
outputs:
51+
instance_ip:
52+
value: { get_attribute: [ kepler_server, public_address, 0 ] }
53+
instance_creds:
54+
value: { get_attribute: [ kepler_server, endpoint, credential, 0 ] }

0 commit comments

Comments
 (0)