def get_blockdeviceapi():
 config = get_blockdevice_config()
 (backend, api_args) = backend_and_api_args_from_configuration(config)
 api = get_api(backend=backend, api_args=api_args, reactor=reactor, cluster_id=make_cluster_id(TestTypes.FUNCTIONAL))
 return api

def get_blockdeviceapi ( ) : config = get_blockdevice_config ( ) ( backend , api_args ) = backend_and_api_args_from_configuration ( config ) api = get_api ( backend = backend , api_args = api_args , reactor = reactor , cluster_id = make_cluster_id ( TestTypes . FUNCTIONAL ) ) return api
validate and load cloud providers yml config file .