ironic.api.controllers.base.APIBase(**kw)[source]¶Bases: ironic.api.controllers.base.Base
created_at¶The time in UTC at which the object is created
updated_at¶The time in UTC at which the object is updated
ironic.api.controllers.base.AsDictMixin[source]¶Bases: object
Mixin class adding an as_dict() method.
ironic.api.controllers.base.Base(**kw)[source]¶Bases: ironic.api.controllers.base.AsDictMixin
Base type for complex types
ironic.api.controllers.base.Version(headers, default_version, latest_version)[source]¶Bases: object
API Version object.
max_string = 'X-OpenStack-Ironic-API-Maximum-Version'¶HTTP response header
min_string = 'X-OpenStack-Ironic-API-Minimum-Version'¶HTTP response header
parse_headers(headers, default_version, latest_version)[source]¶Determine the API version requested based on the headers supplied.
headers – webob headers
default_version – version to use if not specified in headers
latest_version – version to use if latest is requested
a tuple of (major, minor) version numbers
webob.HTTPNotAcceptable
string = 'X-OpenStack-Ironic-API-Version'¶HTTP Header string carrying the requested version
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.