ironic.api.method module

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 informations that can be sent to the client.

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.