bosh-cloudfoundry 0.7.0 → 0.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/ChangeLog.md +1 -0
- data/README.md +7 -7
- data/bosh-cloudfoundry.gemspec +1 -1
- data/bosh_release/.final_builds/jobs/cloud_controller_ng/index.yml +30 -0
- data/bosh_release/.final_builds/jobs/collector/index.yml +5 -0
- data/bosh_release/.final_builds/jobs/dashboard/index.yml +5 -0
- data/bosh_release/.final_builds/jobs/dea_logging_agent/index.yml +17 -0
- data/bosh_release/.final_builds/jobs/dea_next/index.yml +20 -0
- data/bosh_release/.final_builds/jobs/gorouter/index.yml +15 -0
- data/bosh_release/.final_builds/jobs/health_manager_next/index.yml +15 -0
- data/bosh_release/.final_builds/jobs/loggregator/index.yml +22 -0
- data/bosh_release/.final_builds/jobs/loggregatorrouter/index.yml +7 -0
- data/bosh_release/.final_builds/jobs/login/index.yml +25 -0
- data/bosh_release/.final_builds/jobs/narc/index.yml +7 -0
- data/bosh_release/.final_builds/jobs/nats/index.yml +5 -0
- data/bosh_release/.final_builds/jobs/saml_login/index.yml +20 -0
- data/bosh_release/.final_builds/jobs/syslog_aggregator/index.yml +20 -0
- data/bosh_release/.final_builds/jobs/uaa/index.yml +15 -0
- data/bosh_release/.final_builds/packages/buildpack_cache/index.yml +5 -0
- data/bosh_release/.final_builds/packages/cfop/index.yml +7 -0
- data/bosh_release/.final_builds/packages/cloud_controller_ng/index.yml +35 -0
- data/bosh_release/.final_builds/packages/collector/index.yml +30 -0
- data/bosh_release/.final_builds/packages/dashboard/index.yml +5 -0
- data/bosh_release/.final_builds/packages/dea_logging_agent/index.yml +32 -0
- data/bosh_release/.final_builds/packages/dea_next/index.yml +35 -0
- data/bosh_release/.final_builds/packages/golang/index.yml +5 -0
- data/bosh_release/.final_builds/packages/gorouter/index.yml +35 -0
- data/bosh_release/.final_builds/packages/health_manager_next/index.yml +20 -0
- data/bosh_release/.final_builds/packages/loggregator/index.yml +32 -0
- data/bosh_release/.final_builds/packages/loggregatorrouter/index.yml +17 -0
- data/bosh_release/.final_builds/packages/login/index.yml +35 -0
- data/bosh_release/.final_builds/packages/narc/index.yml +17 -0
- data/bosh_release/.final_builds/packages/ruby/index.yml +5 -0
- data/bosh_release/.final_builds/packages/saml_login/index.yml +35 -0
- data/bosh_release/.final_builds/packages/syslog_aggregator/index.yml +5 -0
- data/bosh_release/.final_builds/packages/uaa/index.yml +35 -0
- data/bosh_release/.final_builds/packages/warden/index.yml +20 -0
- data/bosh_release/config/final.yml +1 -1
- data/bosh_release/releases/cf-136.yml +336 -0
- data/bosh_release/releases/cf-137.yml +329 -0
- data/bosh_release/releases/cf-138.yml +323 -0
- data/bosh_release/releases/cf-139.yml +350 -0
- data/bosh_release/releases/cf-140.yml +350 -0
- data/bosh_release/releases/cf-141.yml +349 -0
- data/bosh_release/releases/cf-release-135.yml +310 -0
- data/bosh_release/releases/index.yml +14 -0
- data/lib/bosh/cli/commands/01_prepare_bosh_for_cf.rb +11 -1
- data/lib/bosh/cli/commands/02_create_cf.rb +2 -0
- data/lib/bosh/cloudfoundry/deployment_attributes.rb +29 -3
- data/lib/bosh/cloudfoundry/release_version.rb +11 -2
- data/spec/assets/v132/aws/large.yml +2 -3
- data/spec/assets/v132/aws/medium.yml +4 -5
- data/spec/assets/v133/aws/large.yml +2 -3
- data/spec/assets/v133/aws/medium.yml +4 -5
- data/spec/assets/v141/aws/large.yml +334 -0
- data/spec/assets/v141/aws/medium.yml +293 -0
- data/spec/commands/command_prepare_cf_spec.rb +3 -5
- data/spec/deployment_attributes_spec.rb +6 -4
- data/spec/deployment_file_spec.rb +22 -20
- data/spec/release_version_cpi_spec.rb +2 -4
- data/spec/release_version_spec.rb +3 -5
- data/spec/spec_helper.rb +4 -0
- data/templates/v132/aws/large/deployment_file.yml.erb +2 -3
- data/templates/v132/aws/medium/deployment_file.yml.erb +4 -5
- data/templates/v132/openstack/large/deployment_file.yml.erb +2 -3
- data/templates/v132/openstack/medium/deployment_file.yml.erb +4 -5
- data/templates/v133/aws/large/deployment_file.yml.erb +2 -3
- data/templates/v133/aws/medium/deployment_file.yml.erb +4 -5
- data/templates/v133/openstack/large/deployment_file.yml.erb +2 -3
- data/templates/v133/openstack/medium/deployment_file.yml.erb +4 -5
- data/templates/v134/aws/large/deployment_file.yml.erb +2 -3
- data/templates/v134/aws/medium/deployment_file.yml.erb +4 -5
- data/templates/v134/openstack/large/deployment_file.yml.erb +2 -3
- data/templates/v134/openstack/medium/deployment_file.yml.erb +4 -5
- data/templates/v136/aws/large/deployment_file.yml.erb +371 -0
- data/templates/v136/aws/large/spec +6 -0
- data/templates/v136/aws/medium/deployment_file.yml.erb +330 -0
- data/templates/v136/aws/medium/spec +6 -0
- data/templates/v136/aws/small/README.md +5 -0
- data/templates/v136/aws/spec +6 -0
- data/templates/v136/openstack/large/deployment_file.yml.erb +371 -0
- data/templates/v136/openstack/large/spec +6 -0
- data/templates/v136/openstack/medium/deployment_file.yml.erb +330 -0
- data/templates/v136/openstack/medium/spec +6 -0
- data/templates/v136/openstack/spec +6 -0
- data/templates/v136/spec +14 -0
- data/templates/v141/aws/large/deployment_file.yml.erb +373 -0
- data/templates/v141/aws/large/spec +6 -0
- data/templates/v141/aws/medium/deployment_file.yml.erb +332 -0
- data/templates/v141/aws/medium/spec +6 -0
- data/templates/v141/aws/small/README.md +5 -0
- data/templates/v141/aws/spec +6 -0
- data/templates/v141/openstack/large/deployment_file.yml.erb +372 -0
- data/templates/v141/openstack/large/spec +6 -0
- data/templates/v141/openstack/medium/deployment_file.yml.erb +331 -0
- data/templates/v141/openstack/medium/spec +6 -0
- data/templates/v141/openstack/spec +6 -0
- data/templates/v141/spec +16 -0
- data/tutorials/activities/repair-a-cloud-foundry.md +128 -0
- data/tutorials/build-your-own-heroku-with-cloudfoundry.md +12 -11
- metadata +49 -4
|
@@ -268,3 +268,17 @@ builds:
|
|
|
268
268
|
version: 133
|
|
269
269
|
!binary "NzRlZDM1YjQ4YjlhOTQwZTg0MDU0YzQ5MWZlNmQ0Yzg0NGM1NTc1Zg==":
|
|
270
270
|
version: 134
|
|
271
|
+
!binary "ZTFhNGIwYmMxYTA0ODFkMjk5MzZjZGY2ZGY1MzZkNWZlNGRiZTY1ZQ==":
|
|
272
|
+
version: 135
|
|
273
|
+
!binary "YTJiOWYzYjA1YWMwYzk0ZTBkN2RhY2E3NDk5YzBjZDQyM2M5MWJhMw==":
|
|
274
|
+
version: 136
|
|
275
|
+
!binary "MGNjMjI3MjNkM2EzYTRiNTk5YmVjZDNiNDA5MDU4Yzk3YTNkNmJkOA==":
|
|
276
|
+
version: 137
|
|
277
|
+
!binary "YTljMzUzNTg3MDQ5OGViYjg4ZDU3ODk3YTMyMmQyNDIyYmUyNTAyOQ==":
|
|
278
|
+
version: 138
|
|
279
|
+
!binary "YjY0MTRjZjFmYzg1ZGQzZWY5YzU5NDZmODZmMDRmNGM2ODUwODlhMQ==":
|
|
280
|
+
version: 139
|
|
281
|
+
!binary "YThlNGZkNTlhYzJiYWY2YzhlNzMxY2IzNzQwNmVlYzY2MjQ5NzAzNg==":
|
|
282
|
+
version: 140
|
|
283
|
+
!binary "ZTcyMGRhY2UwNWJjZjFjYTlmMmM1N2UzMmM5MjhkNmMwYzMzYWU5ZQ==":
|
|
284
|
+
version: 141
|
|
@@ -49,7 +49,7 @@ module Bosh::Cli::Command
|
|
|
49
49
|
end
|
|
50
50
|
unless errors.empty?
|
|
51
51
|
say errors.shift.make_yellow
|
|
52
|
-
stemcell_url = "http://bosh-jenkins-artifacts.s3.amazonaws.com/bosh-stemcell/#{bosh_cpi}/
|
|
52
|
+
stemcell_url = "http://bosh-jenkins-artifacts.s3.amazonaws.com/bosh-stemcell/#{bosh_cpi}/bosh-stemcell-latest-#{bosh_cpi}-#{bosh_cpi_hypervisor}-ubuntu.tgz"
|
|
53
53
|
stemcell_cmd(non_interactive: true).upload(stemcell_url)
|
|
54
54
|
end
|
|
55
55
|
end
|
|
@@ -98,6 +98,16 @@ module Bosh::Cli::Command
|
|
|
98
98
|
bosh_status["cpi"]
|
|
99
99
|
end
|
|
100
100
|
|
|
101
|
+
# The CPI (aws/openstack/etc) of the target bosh
|
|
102
|
+
def bosh_cpi_hypervisor
|
|
103
|
+
case bosh_status["cpi"]
|
|
104
|
+
when "aws"
|
|
105
|
+
"xen"
|
|
106
|
+
when "openstack"
|
|
107
|
+
"kvm"
|
|
108
|
+
end
|
|
109
|
+
end
|
|
110
|
+
|
|
101
111
|
# Helper to invoke the Release command's actions
|
|
102
112
|
#
|
|
103
113
|
# Usage to invoke #upload action:
|
|
@@ -15,6 +15,7 @@ module Bosh::Cli::Command
|
|
|
15
15
|
option "--disk 4096", Integer, "Size of persistent disk (Mb)"
|
|
16
16
|
option "--security-group default", String, "Security group to assign to provisioned VMs"
|
|
17
17
|
option "--deployment-size medium", String, "Size of deployment - medium or large"
|
|
18
|
+
option "--skip-dns-validation", "Skip DNS validation"
|
|
18
19
|
def create_cf
|
|
19
20
|
auth_required
|
|
20
21
|
bosh_status # preload
|
|
@@ -32,6 +33,7 @@ module Bosh::Cli::Command
|
|
|
32
33
|
attrs.set_unless_nil(:security_group, options[:security_group])
|
|
33
34
|
attrs.set_unless_nil(:common_password, options[:common_password])
|
|
34
35
|
attrs.set_unless_nil(:deployment_size, options[:deployment_size])
|
|
36
|
+
attrs.set_unless_nil(:skip_dns_validation, options[:skip_dns_validation])
|
|
35
37
|
|
|
36
38
|
release_version = ReleaseVersion.latest_version_number
|
|
37
39
|
@release_version_cpi_size =
|
|
@@ -18,6 +18,9 @@ module Bosh::Cloudfoundry
|
|
|
18
18
|
@attributes[:persistent_disk] ||= default_persistent_disk
|
|
19
19
|
@attributes[:security_group] ||= default_security_group
|
|
20
20
|
@attributes[:common_password] ||= random_string(12, :common)
|
|
21
|
+
@attributes[:skip_dns_validation] ||= default_skip_dns_validation
|
|
22
|
+
@attributes[:dea_server_ram] ||= default_dea_server_ram
|
|
23
|
+
@attributes[:dea_container_depot_disk] ||= default_dea_container_depot_disk
|
|
21
24
|
end
|
|
22
25
|
|
|
23
26
|
def name
|
|
@@ -48,6 +51,14 @@ module Bosh::Cloudfoundry
|
|
|
48
51
|
@attributes[:dns]
|
|
49
52
|
end
|
|
50
53
|
|
|
54
|
+
def dea_server_ram
|
|
55
|
+
@attributes[:dea_server_ram]
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
def dea_container_depot_disk
|
|
59
|
+
@attributes[:dea_container_depot_disk]
|
|
60
|
+
end
|
|
61
|
+
|
|
51
62
|
def available_attributes
|
|
52
63
|
@attributes.keys
|
|
53
64
|
end
|
|
@@ -106,8 +117,10 @@ module Bosh::Cloudfoundry
|
|
|
106
117
|
|
|
107
118
|
# FIXME only supports a single ip_address
|
|
108
119
|
def validate_dns_mapping
|
|
109
|
-
|
|
110
|
-
|
|
120
|
+
unless @attributes[:skip_dns_validation]
|
|
121
|
+
validate_dns_a_record("api.#{dns}", ip_addresses.first)
|
|
122
|
+
validate_dns_a_record("demoapp.#{dns}", ip_addresses.first)
|
|
123
|
+
end
|
|
111
124
|
end
|
|
112
125
|
|
|
113
126
|
def validate_dns_a_record(domain, expected_ip_address)
|
|
@@ -191,6 +204,19 @@ module Bosh::Cloudfoundry
|
|
|
191
204
|
"default"
|
|
192
205
|
end
|
|
193
206
|
|
|
207
|
+
def default_skip_dns_validation
|
|
208
|
+
false
|
|
209
|
+
end
|
|
210
|
+
|
|
211
|
+
# Chosen to be small enough to fit within EC2 m1.small (1.7G)
|
|
212
|
+
def default_dea_server_ram
|
|
213
|
+
1500
|
|
214
|
+
end
|
|
215
|
+
|
|
216
|
+
def default_dea_container_depot_disk
|
|
217
|
+
10 * 1024
|
|
218
|
+
end
|
|
219
|
+
|
|
194
220
|
def set_default_dns
|
|
195
221
|
if dns.nil?
|
|
196
222
|
first_ip_address = ip_addresses.first
|
|
@@ -223,4 +249,4 @@ module Bosh::Cloudfoundry
|
|
|
223
249
|
end
|
|
224
250
|
|
|
225
251
|
end
|
|
226
|
-
end
|
|
252
|
+
end
|
|
@@ -6,7 +6,6 @@ module Bosh::Cloudfoundry
|
|
|
6
6
|
# From this class you can navigate to ReleaseVersionCpi for the CPI specific aspect of a release version;
|
|
7
7
|
# and from ReleaseVersionCpi you can navigate to one or more ReleaseVersionCpiSizes (deployment sizes).
|
|
8
8
|
class ReleaseVersion
|
|
9
|
-
attr_reader :release_name
|
|
10
9
|
attr_reader :version_number
|
|
11
10
|
|
|
12
11
|
def self.for_version(version_number)
|
|
@@ -43,7 +42,13 @@ module Bosh::Cloudfoundry
|
|
|
43
42
|
|
|
44
43
|
def initialize(version_number)
|
|
45
44
|
@version_number = version_number
|
|
46
|
-
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
def release_name
|
|
48
|
+
@release_name ||= begin
|
|
49
|
+
release_yml = Dir[File.join(bosh_release_dir, "releases", "*-#{release_version}.yml")].first
|
|
50
|
+
YAML.load_file(release_yml)["name"]
|
|
51
|
+
end
|
|
47
52
|
end
|
|
48
53
|
|
|
49
54
|
# Attributes & their values that can be changed via setters & deployment re-deployed successfully
|
|
@@ -64,6 +69,10 @@ module Bosh::Cloudfoundry
|
|
|
64
69
|
available_cpi_names.include?(cpi)
|
|
65
70
|
end
|
|
66
71
|
|
|
72
|
+
def bosh_release_dir
|
|
73
|
+
File.expand_path("../../../../bosh_release", __FILE__)
|
|
74
|
+
end
|
|
75
|
+
|
|
67
76
|
def self.base_template_dir
|
|
68
77
|
File.expand_path("../../../../templates", __FILE__)
|
|
69
78
|
end
|
|
@@ -25,10 +25,9 @@ compilation:
|
|
|
25
25
|
|
|
26
26
|
update:
|
|
27
27
|
canaries: 1
|
|
28
|
-
canary_watch_time: 30000-
|
|
29
|
-
update_watch_time: 30000-
|
|
28
|
+
canary_watch_time: 30000-60000
|
|
29
|
+
update_watch_time: 30000-60000
|
|
30
30
|
max_in_flight: 4
|
|
31
|
-
max_errors: 1
|
|
32
31
|
|
|
33
32
|
resource_pools:
|
|
34
33
|
- name: small
|
|
@@ -18,10 +18,9 @@ networks:
|
|
|
18
18
|
|
|
19
19
|
update:
|
|
20
20
|
canaries: 1
|
|
21
|
-
canary_watch_time: 30000-
|
|
22
|
-
update_watch_time: 30000-
|
|
21
|
+
canary_watch_time: 30000-60000
|
|
22
|
+
update_watch_time: 30000-60000
|
|
23
23
|
max_in_flight: 4
|
|
24
|
-
max_errors: 1
|
|
25
24
|
|
|
26
25
|
compilation:
|
|
27
26
|
workers: 6
|
|
@@ -175,8 +174,8 @@ properties:
|
|
|
175
174
|
|
|
176
175
|
nfs_server:
|
|
177
176
|
address: 0.core.default.demo.microbosh
|
|
178
|
-
|
|
179
|
-
|
|
177
|
+
network: "*.demo.microbosh"
|
|
178
|
+
idmapd_domain: mycloud.com
|
|
180
179
|
|
|
181
180
|
debian_nfs_server:
|
|
182
181
|
no_root_squash: true
|
|
@@ -25,10 +25,9 @@ compilation:
|
|
|
25
25
|
|
|
26
26
|
update:
|
|
27
27
|
canaries: 1
|
|
28
|
-
canary_watch_time: 30000-
|
|
29
|
-
update_watch_time: 30000-
|
|
28
|
+
canary_watch_time: 30000-60000
|
|
29
|
+
update_watch_time: 30000-60000
|
|
30
30
|
max_in_flight: 4
|
|
31
|
-
max_errors: 1
|
|
32
31
|
|
|
33
32
|
resource_pools:
|
|
34
33
|
- name: small
|
|
@@ -18,10 +18,9 @@ networks:
|
|
|
18
18
|
|
|
19
19
|
update:
|
|
20
20
|
canaries: 1
|
|
21
|
-
canary_watch_time: 30000-
|
|
22
|
-
update_watch_time: 30000-
|
|
21
|
+
canary_watch_time: 30000-60000
|
|
22
|
+
update_watch_time: 30000-60000
|
|
23
23
|
max_in_flight: 4
|
|
24
|
-
max_errors: 1
|
|
25
24
|
|
|
26
25
|
compilation:
|
|
27
26
|
workers: 6
|
|
@@ -157,8 +156,8 @@ properties:
|
|
|
157
156
|
|
|
158
157
|
nfs_server:
|
|
159
158
|
address: 0.data.default.demo.microbosh
|
|
160
|
-
|
|
161
|
-
|
|
159
|
+
network: "*.demo.microbosh"
|
|
160
|
+
idmapd_domain: mycloud.com
|
|
162
161
|
|
|
163
162
|
debian_nfs_server:
|
|
164
163
|
no_root_squash: true
|
|
@@ -0,0 +1,334 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: demo
|
|
3
|
+
director_uuid: UUID
|
|
4
|
+
|
|
5
|
+
releases:
|
|
6
|
+
- name: cf
|
|
7
|
+
version: 141
|
|
8
|
+
|
|
9
|
+
networks:
|
|
10
|
+
- name: floating
|
|
11
|
+
type: vip
|
|
12
|
+
cloud_properties: {}
|
|
13
|
+
- name: default
|
|
14
|
+
type: dynamic
|
|
15
|
+
cloud_properties:
|
|
16
|
+
security_groups:
|
|
17
|
+
- default
|
|
18
|
+
|
|
19
|
+
compilation:
|
|
20
|
+
workers: 6
|
|
21
|
+
network: default
|
|
22
|
+
reuse_compilation_vms: true
|
|
23
|
+
cloud_properties:
|
|
24
|
+
instance_type: m1.medium
|
|
25
|
+
|
|
26
|
+
update:
|
|
27
|
+
canaries: 1
|
|
28
|
+
canary_watch_time: 30000-60000
|
|
29
|
+
update_watch_time: 30000-60000
|
|
30
|
+
max_in_flight: 4
|
|
31
|
+
|
|
32
|
+
resource_pools:
|
|
33
|
+
- name: small
|
|
34
|
+
network: default
|
|
35
|
+
size: 8
|
|
36
|
+
stemcell:
|
|
37
|
+
name: bosh-stemcell
|
|
38
|
+
version: latest
|
|
39
|
+
cloud_properties:
|
|
40
|
+
instance_type: m1.small
|
|
41
|
+
|
|
42
|
+
- name: large
|
|
43
|
+
network: default
|
|
44
|
+
size: 1
|
|
45
|
+
stemcell:
|
|
46
|
+
name: bosh-stemcell
|
|
47
|
+
version: latest
|
|
48
|
+
cloud_properties:
|
|
49
|
+
instance_type: m1.large
|
|
50
|
+
|
|
51
|
+
jobs:
|
|
52
|
+
- name: nats
|
|
53
|
+
release: cf
|
|
54
|
+
template:
|
|
55
|
+
- nats
|
|
56
|
+
instances: 1
|
|
57
|
+
resource_pool: small
|
|
58
|
+
networks:
|
|
59
|
+
- name: default
|
|
60
|
+
default: [dns, gateway]
|
|
61
|
+
|
|
62
|
+
- name: syslog_aggregator
|
|
63
|
+
release: cf
|
|
64
|
+
template:
|
|
65
|
+
- syslog_aggregator
|
|
66
|
+
instances: 1
|
|
67
|
+
resource_pool: small
|
|
68
|
+
persistent_disk: 65536
|
|
69
|
+
networks:
|
|
70
|
+
- name: default
|
|
71
|
+
default: [dns, gateway]
|
|
72
|
+
|
|
73
|
+
- name: postgres
|
|
74
|
+
release: cf
|
|
75
|
+
template:
|
|
76
|
+
- postgres
|
|
77
|
+
instances: 1
|
|
78
|
+
resource_pool: small
|
|
79
|
+
persistent_disk: 65536
|
|
80
|
+
networks:
|
|
81
|
+
- name: default
|
|
82
|
+
default: [dns, gateway]
|
|
83
|
+
properties:
|
|
84
|
+
db: databases
|
|
85
|
+
|
|
86
|
+
- name: nfs_server
|
|
87
|
+
release: cf
|
|
88
|
+
template:
|
|
89
|
+
- debian_nfs_server
|
|
90
|
+
instances: 1
|
|
91
|
+
resource_pool: small
|
|
92
|
+
persistent_disk: 65536
|
|
93
|
+
networks:
|
|
94
|
+
- name: default
|
|
95
|
+
default: [dns, gateway]
|
|
96
|
+
|
|
97
|
+
- name: uaa
|
|
98
|
+
release: cf
|
|
99
|
+
template:
|
|
100
|
+
- uaa
|
|
101
|
+
instances: 1
|
|
102
|
+
resource_pool: small
|
|
103
|
+
networks:
|
|
104
|
+
- name: default
|
|
105
|
+
default: [dns, gateway]
|
|
106
|
+
|
|
107
|
+
- name: cloud_controller
|
|
108
|
+
release: cf
|
|
109
|
+
template:
|
|
110
|
+
- cloud_controller_ng
|
|
111
|
+
instances: 1
|
|
112
|
+
resource_pool: small
|
|
113
|
+
networks:
|
|
114
|
+
- name: default
|
|
115
|
+
default: [dns, gateway]
|
|
116
|
+
properties:
|
|
117
|
+
ccdb: ccdb
|
|
118
|
+
|
|
119
|
+
- name: router
|
|
120
|
+
release: cf
|
|
121
|
+
template:
|
|
122
|
+
- gorouter
|
|
123
|
+
instances: 1
|
|
124
|
+
resource_pool: small
|
|
125
|
+
networks:
|
|
126
|
+
- name: default
|
|
127
|
+
default: [dns, gateway]
|
|
128
|
+
- name: floating
|
|
129
|
+
static_ips:
|
|
130
|
+
- 1.2.3.4
|
|
131
|
+
|
|
132
|
+
- name: health_manager
|
|
133
|
+
release: cf
|
|
134
|
+
template:
|
|
135
|
+
- health_manager_next
|
|
136
|
+
instances: 1
|
|
137
|
+
resource_pool: small
|
|
138
|
+
networks:
|
|
139
|
+
- name: default
|
|
140
|
+
default: [dns, gateway]
|
|
141
|
+
|
|
142
|
+
- name: dea
|
|
143
|
+
release: cf
|
|
144
|
+
template: dea_next
|
|
145
|
+
instances: 1
|
|
146
|
+
resource_pool: large
|
|
147
|
+
networks:
|
|
148
|
+
- name: default
|
|
149
|
+
default: [dns, gateway]
|
|
150
|
+
|
|
151
|
+
properties:
|
|
152
|
+
cf:
|
|
153
|
+
name: demo
|
|
154
|
+
dns: mycloud.com
|
|
155
|
+
ip_addresses: ["1.2.3.4"]
|
|
156
|
+
deployment_size: large
|
|
157
|
+
security_group: default
|
|
158
|
+
persistent_disk: 4096
|
|
159
|
+
common_password: qwertyasdfgh
|
|
160
|
+
dea_server_ram: 1500
|
|
161
|
+
dea_container_depot_disk: 10240
|
|
162
|
+
|
|
163
|
+
domain: mycloud.com
|
|
164
|
+
system_domain: mycloud.com
|
|
165
|
+
system_domain_organization: mycloud.com
|
|
166
|
+
app_domains:
|
|
167
|
+
- mycloud.com
|
|
168
|
+
|
|
169
|
+
networks:
|
|
170
|
+
apps: default
|
|
171
|
+
management: default
|
|
172
|
+
|
|
173
|
+
nats:
|
|
174
|
+
address: 0.nats.default.demo.microbosh
|
|
175
|
+
port: 4222
|
|
176
|
+
user: nats
|
|
177
|
+
password: qwertyasdfgh
|
|
178
|
+
authorization_timeout: 5
|
|
179
|
+
|
|
180
|
+
router:
|
|
181
|
+
port: 8081
|
|
182
|
+
status:
|
|
183
|
+
port: 8080
|
|
184
|
+
user: gorouter
|
|
185
|
+
password: qwertyasdfgh
|
|
186
|
+
|
|
187
|
+
dea: &dea
|
|
188
|
+
memory_mb: 1500
|
|
189
|
+
disk_mb: 10240
|
|
190
|
+
directory_server_protocol: http
|
|
191
|
+
|
|
192
|
+
dea_next: *dea
|
|
193
|
+
|
|
194
|
+
syslog_aggregator:
|
|
195
|
+
address: 0.syslog-aggregator.default.demo.microbosh
|
|
196
|
+
port: 54321
|
|
197
|
+
|
|
198
|
+
nfs_server:
|
|
199
|
+
address: 0.nfs-server.default.demo.microbosh
|
|
200
|
+
network: "*.demo.microbosh"
|
|
201
|
+
idmapd_domain: mycloud.com
|
|
202
|
+
|
|
203
|
+
debian_nfs_server:
|
|
204
|
+
no_root_squash: true
|
|
205
|
+
|
|
206
|
+
databases: &databases
|
|
207
|
+
db_scheme: postgres
|
|
208
|
+
address: 0.postgres.default.demo.microbosh
|
|
209
|
+
port: 5524
|
|
210
|
+
roles:
|
|
211
|
+
- tag: admin
|
|
212
|
+
name: ccadmin
|
|
213
|
+
password: qwertyasdfgh
|
|
214
|
+
- tag: admin
|
|
215
|
+
name: uaaadmin
|
|
216
|
+
password: qwertyasdfgh
|
|
217
|
+
databases:
|
|
218
|
+
- tag: cc
|
|
219
|
+
name: ccdb
|
|
220
|
+
citext: true
|
|
221
|
+
- tag: uaa
|
|
222
|
+
name: uaadb
|
|
223
|
+
citext: true
|
|
224
|
+
|
|
225
|
+
ccdb: &ccdb
|
|
226
|
+
db_scheme: postgres
|
|
227
|
+
address: 0.postgres.default.demo.microbosh
|
|
228
|
+
port: 5524
|
|
229
|
+
roles:
|
|
230
|
+
- tag: admin
|
|
231
|
+
name: ccadmin
|
|
232
|
+
password: qwertyasdfgh
|
|
233
|
+
databases:
|
|
234
|
+
- tag: cc
|
|
235
|
+
name: ccdb
|
|
236
|
+
citext: true
|
|
237
|
+
|
|
238
|
+
ccdb_ng: *ccdb
|
|
239
|
+
|
|
240
|
+
uaadb:
|
|
241
|
+
db_scheme: postgresql
|
|
242
|
+
address: 0.postgres.default.demo.microbosh
|
|
243
|
+
port: 5524
|
|
244
|
+
roles:
|
|
245
|
+
- tag: admin
|
|
246
|
+
name: uaaadmin
|
|
247
|
+
password: qwertyasdfgh
|
|
248
|
+
databases:
|
|
249
|
+
- tag: uaa
|
|
250
|
+
name: uaadb
|
|
251
|
+
citext: true
|
|
252
|
+
|
|
253
|
+
cc_api_version: v2
|
|
254
|
+
|
|
255
|
+
cc: &cc
|
|
256
|
+
logging_level: debug
|
|
257
|
+
external_host: ccng
|
|
258
|
+
srv_api_uri: http://api.mycloud.com
|
|
259
|
+
cc_partition: default
|
|
260
|
+
db_encryption_key: qwertyasdfgh
|
|
261
|
+
bootstrap_admin_email: admin@mycloud.com
|
|
262
|
+
bulk_api_password: qwertyasdfgh
|
|
263
|
+
uaa_resource_id: cloud_controller
|
|
264
|
+
staging_upload_user: uploaduser
|
|
265
|
+
staging_upload_password: qwertyasdfgh
|
|
266
|
+
resource_pool:
|
|
267
|
+
resource_directory_key: cc-resources
|
|
268
|
+
# Local provider when using NFS
|
|
269
|
+
fog_connection:
|
|
270
|
+
provider: Local
|
|
271
|
+
local_root: /var/vcap/shared
|
|
272
|
+
packages:
|
|
273
|
+
app_package_directory_key: cc-packages
|
|
274
|
+
droplets:
|
|
275
|
+
droplet_directory_key: cc-droplets
|
|
276
|
+
default_quota_definition: runaway
|
|
277
|
+
|
|
278
|
+
ccng: *cc
|
|
279
|
+
|
|
280
|
+
login:
|
|
281
|
+
enabled: false
|
|
282
|
+
|
|
283
|
+
uaa:
|
|
284
|
+
url: http://uaa.mycloud.com
|
|
285
|
+
spring_profiles: postgresql
|
|
286
|
+
no_ssl: true
|
|
287
|
+
catalina_opts: -Xmx768m -XX:MaxPermSize=256m
|
|
288
|
+
resource_id: account_manager
|
|
289
|
+
jwt:
|
|
290
|
+
signing_key: |
|
|
291
|
+
-----BEGIN RSA PRIVATE KEY-----
|
|
292
|
+
MIICXAIBAAKBgQDHFr+KICms+tuT1OXJwhCUmR2dKVy7psa8xzElSyzqx7oJyfJ1
|
|
293
|
+
JZyOzToj9T5SfTIq396agbHJWVfYphNahvZ/7uMXqHxf+ZH9BL1gk9Y6kCnbM5R6
|
|
294
|
+
0gfwjyW1/dQPjOzn9N394zd2FJoFHwdq9Qs0wBugspULZVNRxq7veq/fzwIDAQAB
|
|
295
|
+
AoGBAJ8dRTQFhIllbHx4GLbpTQsWXJ6w4hZvskJKCLM/o8R4n+0W45pQ1xEiYKdA
|
|
296
|
+
Z/DRcnjltylRImBD8XuLL8iYOQSZXNMb1h3g5/UGbUXLmCgQLOUUlnYt34QOQm+0
|
|
297
|
+
KvUqfMSFBbKMsYBAoQmNdTHBaz3dZa8ON9hh/f5TT8u0OWNRAkEA5opzsIXv+52J
|
|
298
|
+
duc1VGyX3SwlxiE2dStW8wZqGiuLH142n6MKnkLU4ctNLiclw6BZePXFZYIK+AkE
|
|
299
|
+
xQ+k16je5QJBAN0TIKMPWIbbHVr5rkdUqOyezlFFWYOwnMmw/BKa1d3zp54VP/P8
|
|
300
|
+
+5aQ2d4sMoKEOfdWH7UqMe3FszfYFvSu5KMCQFMYeFaaEEP7Jn8rGzfQ5HQd44ek
|
|
301
|
+
lQJqmq6CE2BXbY/i34FuvPcKU70HEEygY6Y9d8J3o6zQ0K9SYNu+pcXt4lkCQA3h
|
|
302
|
+
jJQQe5uEGJTExqed7jllQ0khFJzLMx0K6tj0NeeIzAaGCQz13oo2sCdeGRHO4aDh
|
|
303
|
+
HH6Qlq/6UOV5wP8+GAcCQFgRCcB+hrje8hfEEefHcFpyKH+5g1Eu1k0mLrxK2zd+
|
|
304
|
+
4SlotYRHgPCEubokb2S1zfZDWIXW3HmggnGgM949TlY=
|
|
305
|
+
-----END RSA PRIVATE KEY-----
|
|
306
|
+
verification_key: |
|
|
307
|
+
-----BEGIN PUBLIC KEY-----
|
|
308
|
+
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDHFr+KICms+tuT1OXJwhCUmR2d
|
|
309
|
+
KVy7psa8xzElSyzqx7oJyfJ1JZyOzToj9T5SfTIq396agbHJWVfYphNahvZ/7uMX
|
|
310
|
+
qHxf+ZH9BL1gk9Y6kCnbM5R60gfwjyW1/dQPjOzn9N394zd2FJoFHwdq9Qs0wBug
|
|
311
|
+
spULZVNRxq7veq/fzwIDAQAB
|
|
312
|
+
-----END PUBLIC KEY-----
|
|
313
|
+
cc:
|
|
314
|
+
client_secret: qwertyasdfgh
|
|
315
|
+
admin:
|
|
316
|
+
client_secret: qwertyasdfgh
|
|
317
|
+
batch:
|
|
318
|
+
username: batchuser
|
|
319
|
+
password: qwertyasdfgh
|
|
320
|
+
client:
|
|
321
|
+
autoapprove:
|
|
322
|
+
- cf
|
|
323
|
+
clients:
|
|
324
|
+
cf:
|
|
325
|
+
override: true
|
|
326
|
+
authorized-grant-types: password,implicit,refresh_token
|
|
327
|
+
authorities: uaa.none
|
|
328
|
+
scope: cloud_controller.read,cloud_controller.write,openid,password.write,cloud_controller.admin,scim.read,scim.write
|
|
329
|
+
access-token-validity: 7200
|
|
330
|
+
refresh-token-validity: 1209600
|
|
331
|
+
scim:
|
|
332
|
+
users:
|
|
333
|
+
- admin|qwertyasdfgh|scim.write,scim.read,openid,cloud_controller.admin
|
|
334
|
+
- services|qwertyasdfgh|scim.write,scim.read,openid,cloud_controller.admin
|