Bases: IronicObject
, VersionedObjectDictCompat
Create a DeployTemplate record in the DB.
context – security context. NOTE: This should only be used internally by the indirection_api. Unfortunately, RPC requires context as the first argument, even though we don’t use it. A context should be set when instantiating the object, e.g.: DeployTemplate(context).
DeployTemplateDuplicateName if a deploy template with the same name exists.
DeployTemplateAlreadyExists if a deploy template with the same UUID exists.
Delete the DeployTemplate from the DB.
context – security context. NOTE: This should only be used internally by the indirection_api. Unfortunately, RPC requires context as the first argument, even though we don’t use it. A context should be set when instantiating the object, e.g.: DeployTemplate(context).
DeployTemplateNotFound if the deploy template no longer appears in the database.
Find a deploy template based on its integer ID.
context – security context. NOTE: This should only be used internally by the indirection_api. Unfortunately, RPC requires context as the first argument, even though we don’t use it. A context should be set when instantiating the object, e.g.: DeployTemplate(context).
template_id – The ID of a deploy template.
DeployTemplateNotFound if the deploy template no longer appears in the database.
a DeployTemplate
object.
Find a deploy template based on its name.
context – security context. NOTE: This should only be used internally by the indirection_api. Unfortunately, RPC requires context as the first argument, even though we don’t use it. A context should be set when instantiating the object, e.g.: DeployTemplate(context).
name – The name of a deploy template.
DeployTemplateNotFound if the deploy template no longer appears in the database.
a DeployTemplate
object.
Find a deploy template based on its UUID.
context – security context. NOTE: This should only be used internally by the indirection_api. Unfortunately, RPC requires context as the first argument, even though we don’t use it. A context should be set when instantiating the object, e.g.: DeployTemplate(context).
uuid – The UUID of a deploy template.
DeployTemplateNotFound if the deploy template no longer appears in the database.
a DeployTemplate
object.
Return a list of DeployTemplate objects.
context – security context. NOTE: This should only be used internally by the indirection_api. Unfortunately, RPC requires context as the first argument, even though we don’t use it. A context should be set when instantiating the object, e.g.: DeployTemplate(context).
limit – maximum number of resources to return in a single result.
marker – pagination marker for large data sets.
sort_key – column to sort results by.
sort_dir – direction to sort. “asc” or “desc”.
a list of DeployTemplate
objects.
Return a list of DeployTemplate objects matching a set of names.
context – security context. NOTE: This should only be used internally by the indirection_api. Unfortunately, RPC requires context as the first argument, even though we don’t use it. A context should be set when instantiating the object, e.g.: DeployTemplate(context).
names – a list of names to filter by.
a list of DeployTemplate
objects.
Loads updates for this deploy template.
Loads a deploy template with the same uuid from the database and checks for updated attributes. Updates are applied from the loaded template column by column, if there are any updates.
context – Security context. NOTE: This should only be used internally by the indirection_api. Unfortunately, RPC requires context as the first argument, even though we don’t use it. A context should be set when instantiating the object, e.g.: Port(context)
DeployTemplateNotFound if the deploy template no longer appears in the database.
Save updates to this DeployTemplate.
Column-wise updates will be made based on the result of self.what_changed().
context – Security context. NOTE: This should only be used internally by the indirection_api. Unfortunately, RPC requires context as the first argument, even though we don’t use it. A context should be set when instantiating the object, e.g.: DeployTemplate(context)
DeployTemplateDuplicateName if a deploy template with the same name exists.
DeployTemplateNotFound if the deploy template does not exist.
Bases: NotificationBase
Notification emitted on deploy template API operations.
Bases: NotificationPayloadBase
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.