def get_dd_regions():
 check_libcloud_or_fail()
 all_regions = API_ENDPOINTS.keys()
 regions = [region[3:] for region in all_regions if region.startswith('dd-')]
 return regions

def get_dd_regions ( ) : check_libcloud_or_fail ( ) all_regions = API_ENDPOINTS . keys ( ) regions = [ region [ 3 : ] for region in all_regions if region . startswith ( 'dd-' ) ] return regions
get the list of available regions whose vendor is dimension data .