def main()

in application-workloads/bosh/bosh-cf-crossregion/scripts/setup_env.py [0:0]


def main():
    settings = get_settings()
    with open('settings', "w") as tmpfile:
        tmpfile.write(json.dumps(settings, indent=4, sort_keys=True))

    prepare_storage(settings)

    bosh_director_ip = render_bosh_manifest(settings)
    print bosh_director_ip

    render_cloud_foundry_manifest(settings)
    render_cloud_foundry_deployment_cmd(settings)