keystone Package

clean Module

keystone.clean.check_length(property_name, value, min_length=1, max_length=64)
keystone.clean.check_type(property_name, value, expected_type, display_expected_type)
keystone.clean.tenant_name(name)
keystone.clean.user_name(name)

cli Module

config Module

keystone.config.register_bool(*args, **kw)
keystone.config.register_cli_bool(*args, **kw)
keystone.config.register_cli_int(*args, **kw)
keystone.config.register_cli_str(*args, **kw)
keystone.config.register_int(*args, **kw)
keystone.config.register_str(*args, **kw)
keystone.config.setup_logging(conf)

Sets up the logging options for a log with supplied name

Parameters:conf – a cfg.ConfOpts object

exception Module

exception keystone.exception.Conflict(message=None, **kwargs)

Bases: keystone.exception.Error

Conflict occurred attempting to store %(type)s.

%(details)s

code = 409
title = 'Conflict'
exception keystone.exception.EndpointNotFound(message=None, **kwargs)

Bases: keystone.exception.NotFound

Could not find endpoint: %(endpoint_id)s

exception keystone.exception.Error(message=None, **kwargs)

Bases: exceptions.StandardError

Base error class.

Child classes should define an HTTP status code, title, and a doc string.

code = None
title = None
exception keystone.exception.Forbidden(message=None, **kwargs)

Bases: keystone.exception.Error

You are not authorized to perform the requested action.

code = 403
title = 'Not Authorized'
exception keystone.exception.ForbiddenAction(message=None, **kwargs)

Bases: keystone.exception.Forbidden

You are not authorized to perform the requested action: %(action)s

exception keystone.exception.MalformedEndpoint(message=None, **kwargs)

Bases: keystone.exception.UnexpectedError

Malformed endpoint URL (see ERROR log for details): %(endpoint)s

exception keystone.exception.MetadataNotFound(message=None, **kwargs)

Bases: keystone.exception.NotFound

An unhandled exception has occurred: Could not find metadata.

exception keystone.exception.NotFound(message=None, **kwargs)

Bases: keystone.exception.Error

Could not find: %(target)s

code = 404
title = 'Not Found'
exception keystone.exception.NotImplemented(message=None, **kwargs)

Bases: keystone.exception.Error

The action you have requested has not been implemented.

code = 501
title = 'Not Implemented'
exception keystone.exception.RoleNotFound(message=None, **kwargs)

Bases: keystone.exception.NotFound

Could not find role: %(role_id)s

exception keystone.exception.ServiceNotFound(message=None, **kwargs)

Bases: keystone.exception.NotFound

Could not find service: %(service_id)s

exception keystone.exception.TenantNotFound(message=None, **kwargs)

Bases: keystone.exception.NotFound

Could not find tenant: %(tenant_id)s

exception keystone.exception.TokenNotFound(message=None, **kwargs)

Bases: keystone.exception.NotFound

Could not find token: %(token_id)s

exception keystone.exception.Unauthorized(message=None, **kwargs)

Bases: keystone.exception.Error

The request you have made requires authentication.

code = 401
title = 'Not Authorized'
exception keystone.exception.UnexpectedError(message=None, **kwargs)

Bases: keystone.exception.Error

An unexpected error prevented the server from fulfilling your request.

%(exception)s

code = 500
title = 'Internal Server Error'
exception keystone.exception.UserNotFound(message=None, **kwargs)

Bases: keystone.exception.NotFound

Could not find user: %(user_id)s

exception keystone.exception.ValidationError(message=None, **kwargs)

Bases: keystone.exception.Error

Expecting to find %(attribute)s in %(target)s.

The server could not comply with the request since it is either malformed or otherwise incorrect.

The client is assumed to be in error.

code = 400
title = 'Bad Request'
exception keystone.exception.ValidationSizeError(message=None, **kwargs)

Bases: keystone.exception.Error

Request attribute %(attribute)s must be less than or equal to %(size)i.

The server could not comply with the request because the attribute size is invalid (too large).

The client is assumed to be in error.

code = 400
title = 'Bad Request'

service Module

test Module

Subpackages

Table Of Contents

Previous topic

keystone

Next topic

catalog Package

This Page