def make_client(instance):
neutron_client = utils.get_client_class(<EOL>API_NAME,<EOL>instance._api_version[API_NAME],<EOL>API_VERSIONS,<EOL>)<EOL>instance.initialize()<EOL>url = instance._url<EOL>url = url.rstrip("<STR_LIT:/>")<EOL>client = neutron_client(username=instance._username,<EOL>project_name=instance._project_name,<EOL>password=instance._password,<EOL>region_name=instance._region_name,<EOL>auth_url=instance._auth_url,<EOL>endpoint_url=url,<EOL>endpoint_type=instance._endpoint_type,<EOL>token=instance._token,<EOL>auth_strategy=instance._auth_strategy,<EOL>insecure=instance._insecure,<EOL>ca_cert=instance._ca_cert,<EOL>retries=instance._retries,<EOL>raise_errors=instance._raise_errors,<EOL>session=instance._session,<EOL>auth=instance._auth)<EOL>return client<EOL>
Returns an neutron client.