Running CC locally against a bosh lite environment - cloudfoundry/cloud_controller_ng GitHub Wiki
There are a number of scripts provided to enable and disable this setup:
scripts/setup-local-cc.shscripts/restore-bosh-lite-cc.shscripts/run-local-cc-worker.shscripts/run-local-cc.sh
setup-local-cc.sh - will add some configurations to allow routing to the local cc instance, as well as disabling the CC and CC local workers on bosh-lite.
restore-bosh-lite-cc.sh - will undo the changes made in setup-local-cc.sh so that the api_z1 vm begins serving traffic again
run-local-cc-worker.sh - will run a local CC worker, this is required for a local CC to run properly
run-local-cc.sh - will run a local CC
These scripts all assume there is a config/bosh-lite.yml file that is properly configured. This file will need to be maintained as we make changes to CC configuration.