def connect_to_services(region=None):
 global cloudservers, cloudfiles, cloud_loadbalancers, cloud_databases
 global cloud_blockstorage, cloud_dns, cloud_networks, cloud_monitoring
 global autoscale, images, queues, cloud_cdn
 cloudservers = connect_to_cloudservers(region=region)
 cloudfiles = connect_to_cloudfiles(region=region)
 cloud_cdn = connect_to_cloud_cdn(region=region)
 cloud_loadbalancers = connect_to_cloud_loadbalancers(region=region)
 cloud_databases = connect_to_cloud_databases(region=region)
 cloud_blockstorage = connect_to_cloud_blockstorage(region=region)
 cloud_dns = connect_to_cloud_dns(region=region)
 cloud_networks = connect_to_cloud_networks(region=region)
 cloud_monitoring = connect_to_cloud_monitoring(region=region)
 autoscale = connect_to_autoscale(region=region)
 images = connect_to_images(region=region)
 queues = connect_to_queues(region=region)

def connect_to_services ( region = None ) : global cloudservers , cloudfiles , cloud_loadbalancers , cloud_databases global cloud_blockstorage , cloud_dns , cloud_networks , cloud_monitoring global autoscale , images , queues , cloud_cdn cloudservers = connect_to_cloudservers ( region = region ) cloudfiles = connect_to_cloudfiles ( region = region ) cloud_cdn = connect_to_cloud_cdn ( region = region ) cloud_loadbalancers = connect_to_cloud_loadbalancers ( region = region ) cloud_databases = connect_to_cloud_databases ( region = region ) cloud_blockstorage = connect_to_cloud_blockstorage ( region = region ) cloud_dns = connect_to_cloud_dns ( region = region ) cloud_networks = connect_to_cloud_networks ( region = region ) cloud_monitoring = connect_to_cloud_monitoring ( region = region ) autoscale = connect_to_autoscale ( region = region ) images = connect_to_images ( region = region ) queues = connect_to_queues ( region = region )
establishes authenticated connections to the various cloud apis .