Skip to content
Permalink
Browse files

add ipv6 opsfiles

Signed-off-by: Brian Cunnie <bcunnie@pivotal.io>
  • Loading branch information...
cppforlife committed Aug 26, 2017
1 parent dc25468 commit 214ebac44cdd30a892feafc8c4a62662ab36665b
Showing with 87 additions and 2 deletions.
  1. +29 −0 misc/ipv6/bosh.yml
  2. +11 −0 misc/ipv6/credhub.yml
  3. +7 −0 misc/ipv6/uaa.yml
  4. +25 −2 test.sh
  5. +7 −0 virtualbox/ipv6/cpi.yml
  6. +8 −0 virtualbox/ipv6/remote.yml
@@ -0,0 +1,29 @@
- type: replace
path: /networks/name=default/subnets/0/dns
value:
- "2001:4860:4860:0000:0000:0000:0000:8888"
- "2001:4860:4860:0000:0000:0000:0000:8844"

- type: replace
path: /instance_groups/name=bosh/properties/director/ipv6_listen?
value: true

- type: replace
path: /instance_groups/name=bosh/properties/blobstore/ipv6_listen?
value: true

- type: replace
path: /instance_groups/name=bosh/properties/nats/listen_address?
value: "::"

- type: replace
path: /cloud_provider/mbus
value: "https://mbus:((mbus_bootstrap_password))@[((internal_ip))]:6868"

- type: replace
path: /instance_groups/name=bosh/properties/agent/mbus
value: "nats://nats:((nats_password))@[((internal_ip))]:4222"

- type: replace
path: /instance_groups/name=bosh/properties/blobstore/address
value: "[((internal_ip))]"
@@ -0,0 +1,11 @@
- type: replace
path: /instance_groups/name=bosh/jobs/name=credhub/properties/credhub/authentication/uaa/url
value: "https://[((internal_ip))]:8443"

- type: replace
path: /instance_groups/name=bosh/properties/director/config_server/url
value: "https://[((internal_ip))]:8844/api/"

- type: replace
path: /instance_groups/name=bosh/properties/director/config_server/uaa/url
value: "https://[((internal_ip))]:8443"
@@ -0,0 +1,7 @@
- type: replace
path: /instance_groups/name=bosh/properties/director/user_management/uaa?/url
value: "https://[((internal_ip))]:8443"

- type: replace
path: /instance_groups/name=bosh/jobs/name=uaa/properties/uaa/url
value: "https://[((internal_ip))]:8443"
27 test.sh
@@ -18,10 +18,10 @@ function bosh() {
}

echo -e "\nUsed compiled releases\n"
grep -r -i s3.amazonaws.com/bosh-compiled-release-tarballs . | grep -v grep
grep -r -i s3.amazonaws.com/bosh-compiled-release-tarballs . | grep -v grep | grep -v ./.git

echo -e "\nUsed stemcells\n"
grep -r -i d/stemcells . | grep -v grep
grep -r -i d/stemcells . | grep -v grep | grep -v ./.git

echo -e "\nExamples\n"

@@ -401,6 +401,29 @@ bosh create-env bosh.yml \
-v internal_gw=192.168.56.1 \
-v internal_cidr=192.168.56.0/24

echo "- VirtualBox with IPv6 (remote)"
bosh create-env bosh.yml \
--state=$vars_store_prefix \
--vars-store $(mktemp ${vars_store_prefix}.XXXXXX) \
-o virtualbox/cpi.yml \
-o virtualbox/outbound-network.yml \
-o jumpbox-user.yml \
-o uaa.yml \
-o credhub.yml \
-o misc/ipv6/bosh.yml \
-o misc/ipv6/uaa.yml \
-o misc/ipv6/credhub.yml \
-o virtualbox/remote.yml \
-o virtualbox/ipv6/cpi.yml \
-o virtualbox/ipv6/remote.yml \
-v director_name=vbox \
-v internal_cidr=fd7a:eeed:e696:969f:0000:0000:0000:0000/64 \
-v internal_gw=fd7a:eeed:e696:969f:0000:0000:0000:0001 \
-v internal_ip=fd7a:eeed:e696:969f:0000:0000:0000:0004 \
-v outbound_network_name=NatNetwork \
-v vbox_host=fd7a:eeed:e696:969f:0000:0000:0000:0001 \
-v vbox_username=test

echo "- VirtualBox with BOSH Lite with garden-runc"
bosh create-env bosh.yml \
-o virtualbox/cpi.yml \
@@ -0,0 +1,7 @@
- type: replace
path: /instance_groups/name=bosh/jobs/name=virtualbox_cpi/properties/agent/mbus
value: "nats://nats:((nats_password))@[((internal_ip))]:4222"

- type: replace
path: /instance_groups/name=bosh/jobs/name=virtualbox_cpi/properties/blobstore/address
value: "[((internal_ip))]"
@@ -0,0 +1,8 @@
---
- type: replace
path: /instance_groups/name=bosh/jobs/name=virtualbox_cpi/properties/host
value: "[((vbox_host))]"

- type: replace
path: /cloud_provider/properties/host
value: "[((vbox_host))]"

0 comments on commit 214ebac

Please sign in to comment.
You can’t perform that action at this time.