Bases: ironic.objects.base.IronicObject
Create a BIOS Setting record in 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.: BIOSSetting(context)
NodeNotFound if the node id is not found.
BIOSSettingAlreadyExists if the setting record already exists.
Delete a BIOS Setting based on its node_id and name.
context – Security context.
node_id – The node id.
name – BIOS setting name to be deleted.
NodeNotFound if the node id is not found.
BIOSSettingNotFound if the bios setting name is not found.
Get a BIOS Setting based on its node_id and name.
context – Security context.
node_id – The node id.
name – BIOS setting name to be retrieved.
NodeNotFound if the node id is not found.
BIOSSettingNotFound if the bios setting name is not found.
A :class:’BIOSSetting’ object.
Save BIOS Setting update in 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.: BIOSSetting(context)
NodeNotFound if the node id is not found.
BIOSSettingNotFound if the bios setting name is not found.
Bases: ironic.objects.base.IronicObjectListBase
, ironic.objects.base.IronicObject
Create a list of BIOS Setting records in 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.: BIOSSetting(context)
node_id – The node id.
settings – A list of bios settings.
NodeNotFound if the node id is not found.
BIOSSettingAlreadyExists if any of the setting records already exists.
A list of BIOSSetting objects.
Delete BIOS Settings based on node_id and names.
context – Security context.
node_id – The node id.
names – List of BIOS setting names to be deleted.
NodeNotFound if the node id is not found.
BIOSSettingNotFound if any of BIOS setting fails to delete.
Get BIOS Setting based on node_id.
context – Security context.
node_id – The node id.
NodeNotFound if the node id is not found.
A list of BIOSSetting objects.
Save a list of BIOS Setting updates in 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.: BIOSSetting(context)
node_id – The node id.
settings – A list of bios settings.
NodeNotFound if the node id is not found.
BIOSSettingNotFound if any of the bios setting names is not found.
A list of BIOSSetting objects.
Returns lists of create/update/delete/unchanged settings.
This method sync with ‘bios_settings’ database table and sorts out four lists of create/update/delete/unchanged settings.
context – Security context.
node_id – The node id.
settings – BIOS settings to be synced.
A 4-tuple of lists of BIOS settings to be created, updated, deleted and unchanged.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.