ironic.api.hooks
Module¶ironic.api.hooks.
ConfigHook
[source]¶Bases: pecan.hooks.PecanHook
Attach the config object to the request so controllers can get to it.
ironic.api.hooks.
ContextHook
(public_api_routes)[source]¶Bases: pecan.hooks.PecanHook
Configures a request context and attaches it to the request.
ironic.api.hooks.
DBHook
[source]¶Bases: pecan.hooks.PecanHook
Attach the dbapi object to the request so controllers can get to it.
ironic.api.hooks.
NoExceptionTracebackHook
[source]¶Bases: pecan.hooks.PecanHook
Workaround rpc.common: deserialize_remote_exception.
deserialize_remote_exception builds rpc exception traceback into error message which is then sent to the client. Such behavior is a security concern so this hook is aimed to cut-off traceback from the error message.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.