-
Notifications
You must be signed in to change notification settings - Fork 6
/
schema.yaml
122 lines (122 loc) · 3.82 KB
/
schema.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
---
type: map
mapping:
# Global configuration of computing nodes.
"images":
type: map
required: true
mapping:
"default":
type: str
required: true
"=":
type: str
"network":
type: str
required: true
"secgroups":
type: seq
required: true
sequence:
- type: str
"sshkey":
type: str
required: true
"pubkeys":
type: seq
sequence:
- type: str
"graceful":
type: bool
required: true
# Inventory.
"nodes_inventory":
type: map
matching-rule: all
mapping:
regex;([a-z][0-9].*):
type: int
# Resource group definitions.
"deployment":
type: map
required: true
mapping:
"=":
type: map
mapping:
"count":
type: int
required: true
range:
min: 0
"flavor":
type: str
required: true
enum:
- c1.c28m225d50
- c1.c28m475d50
- c1.c36m100d50
- c1.c36m225d50
- c1.c36m900d50
- c1.c36m975d50
- c1.c60m1975d50
- c1.c120m205d50
- c1.c120m405d50
- c1.c125m425d50
- c1.c28m935d50
- c1.c28m875d50
- g1.c14m40g1d50
- g1.c8m40g1d50
- m1.large
- m1.medium
- m1.nano
- m1.small
- m1.tiny
- m1.xlarge
- m1.xxlarge
"start":
type: date
required: false
format: "%Y-%m-%d"
"end":
type: date
required: false
format: "%Y-%m-%d"
"group":
type: str
required: true
"image":
type: str
required: false
"volume":
type: map
required: false
'mapping':
"size":
type: int
range:
min: 12
"type":
type: str
enum:
- default
- netapp
"boot":
type: bool
"cgroups":
type: map
required: false
'mapping':
"mem_limit_policy":
type: str
enum:
- soft
- hard
"mem_reserved_size":
type: int
required: true
range:
min: 1024
"docker":
type: bool
required: false