-
Notifications
You must be signed in to change notification settings - Fork 0
/
api-config.yaml
111 lines (107 loc) · 3.5 KB
/
api-config.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
DEBUG: false
SERVER_NAME: 127.0.0.1:5000
BIND_HOST: 127.0.0.1:5000
CLOUDS_RESET: true
PLUGINS:
provision_server: image
cmds:
ping: &ping
cmd: "ping %"
ssh: &ssh
cmd: "echo y | nc % 22"
customerMonitoring: &customerMonitoring
cmd: "curl '$MONITORING_URL/status.cgi?=%'"
simpleWebCheck: &simpleWebCheck
cmd: "curl http://%/$REQUEST_URI"
CLOUDS:
source:
environment: source-env
endpoint:
auth_url: http://127.0.0.1:5000/v2.0
username: admin
password: nomoresecrete
tenant_name: admin
identity:
connection: mysql+mysqlconnector://root:[email protected]/keystone
populate:
num_servers: 3
num_tenants: 3
urls:
horizon: http://10.0.0.1/
workloads:
flavors:
- &small
name: pumphouse-flavor-0001-small
ram: 1024
vcpu: 1
disk: 10
- &medium
name: pumphouse-flavor-0001-medium
ram: 4096
vcpu: 2
disk: 40
- &large
name: pumphouse-flavor-0001-large
ram: 8192
vcpu: 4
disk: 80
images:
- &image
name: pumphouse-test-image-0001
url: http://download.cirros-cloud.net/0.3.2/cirros-0.3.2-x86_64-disk.img
tenants:
- name: pumphouse-test-0001
description: "pumphouse test tenant 0001"
username: pumphouse-test-user-0001
servers:
- name: pumphouse-test-instance-0001
flavor:
<<: *small
image:
<<: *image
pre-actions: &health_checks
-
- <<: *ping
input:
- public
- private
- <<: *ssh
input:
- public
- private
- <<: *customerMonitoring
env:
MONITORING_URL: "http://monitoring.customer.int/cgi-bin"
- <<: *simpleWebCheck
env:
REQUEST_URI: "/index2.html"
post-actions:
<<: *health_checks
- name: pumphouse-test-instance-0002
flavor:
<<: *medium
image:
<<: *image
- name: pumphouse-test-instance-0003
flavor:
<<: *large
image:
<<: *image
destination:
environment: source-env
endpoint:
auth_url: http://127.0.0.1:5000/v2.0
username: admin
password: secrete
tenant_name: admin
identity:
connection: mysql+mysqlconnector://keystone:[email protected]/keystone
urls:
horizon: http://horizon.endpoint.com/
mos: http://127.0.0.1:8000/
fuel:
endpoint:
host: 172.18.167.155
port: 8000
username: admin
password: admin