ironic.api.method module

ironic.api.method.body(body_arg)[source]

Decorator which places HTTP request body JSON into a method argument

Parameters:

body_arg – Name of argument to populate with body JSON

ironic.api.method.expose(status_code=None)[source]
ironic.api.method.format_exception(excinfo, debug=False)[source]

Extract information that can be sent to the client.