ironic.common.molds.
get_configuration
(task, url)[source]¶Gets configuration mold from indicated location.
task – A TaskManager instance.
url – URL of the configuration item to get.
JSON configuration mold
IronicException – If using Swift storage and no authentication token found in task’s context.
HTTPError – If failed to complete HTTP request.
ironic.common.molds.
save_configuration
(task, url, data)[source]¶Store configuration mold to indicated location.
task – A TaskManager instance.
name – URL of the configuration item to save to.
data – Content of JSON data to save.
IronicException – If using Swift storage and no authentication token found in task’s context.
HTTPError – If failed to complete HTTP request.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.