ironicclient.osc.v1.baremetal_node module¶
- class ironicclient.osc.v1.baremetal_node.AbortBaremetalNode(app, app_args, cmd_name=None)[source]¶
Bases:
ProvisionStateBaremetalNode
Set provision state of baremetal node to ‘abort’
- PROVISION_STATE = 'abort'¶
- log = <Logger ironicclient.osc.v1.baremetal_node.AbortBaremetalNode (WARNING)>¶
- class ironicclient.osc.v1.baremetal_node.AddTraitBaremetalNode(app, app_args, cmd_name=None)[source]¶
Bases:
Command
Add traits to a node.
- log = <Logger ironicclient.osc.v1.baremetal_node.AddTraitBaremetalNode (WARNING)>¶
- class ironicclient.osc.v1.baremetal_node.AdoptBaremetalNode(app, app_args, cmd_name=None)[source]¶
Bases:
ProvisionStateWithWait
Set provision state of baremetal node to ‘adopt’
- PROVISION_STATE = 'adopt'¶
- log = <Logger ironicclient.osc.v1.baremetal_node.AdoptBaremetalNode (WARNING)>¶
- class ironicclient.osc.v1.baremetal_node.BIOSSettingShowBaremetalNode(app, app_args, cmd_name=None)[source]¶
Bases:
ShowOne
Show a specific BIOS setting for a node.
- log = <Logger ironicclient.osc.v1.baremetal_node.BIOSSettingShowBaremetalNode (WARNING)>¶
- class ironicclient.osc.v1.baremetal_node.BootdeviceSetBaremetalNode(app, app_args, cmd_name=None)[source]¶
Bases:
Command
Set the boot device for a node
- log = <Logger ironicclient.osc.v1.baremetal_node.BootdeviceSetBaremetalNode (WARNING)>¶
- class ironicclient.osc.v1.baremetal_node.BootdeviceShowBaremetalNode(app, app_args, cmd_name=None)[source]¶
Bases:
ShowOne
Show the boot device information for a node
- log = <Logger ironicclient.osc.v1.baremetal_node.BootdeviceShowBaremetalNode (WARNING)>¶
- class ironicclient.osc.v1.baremetal_node.BootmodeSetBaremetalNode(app, app_args, cmd_name=None)[source]¶
Bases:
Command
Set the boot mode for the next baremetal node deployment
- log = <Logger ironicclient.osc.v1.baremetal_node.BootmodeSetBaremetalNode (WARNING)>¶
- class ironicclient.osc.v1.baremetal_node.CleanBaremetalNode(app, app_args, cmd_name=None)[source]¶
Bases:
ProvisionStateWithWait
Set provision state of baremetal node to ‘clean’
- PROVISION_STATE = 'clean'¶
- log = <Logger ironicclient.osc.v1.baremetal_node.CleanBaremetalNode (WARNING)>¶
- class ironicclient.osc.v1.baremetal_node.ConsoleDisableBaremetalNode(app, app_args, cmd_name=None)[source]¶
Bases:
Command
Disable console access for a node
- log = <Logger ironicclient.osc.v1.baremetal_node.ConsoleDisableBaremetalNode (WARNING)>¶
- class ironicclient.osc.v1.baremetal_node.ConsoleEnableBaremetalNode(app, app_args, cmd_name=None)[source]¶
Bases:
Command
Enable console access for a node
- log = <Logger ironicclient.osc.v1.baremetal_node.ConsoleEnableBaremetalNode (WARNING)>¶
- class ironicclient.osc.v1.baremetal_node.ConsoleShowBaremetalNode(app, app_args, cmd_name=None)[source]¶
Bases:
ShowOne
Show console information for a node
- log = <Logger ironicclient.osc.v1.baremetal_node.ConsoleShowBaremetalNode (WARNING)>¶
- class ironicclient.osc.v1.baremetal_node.CreateBaremetalNode(app, app_args, cmd_name=None)[source]¶
Bases:
ShowOne
Register a new node with the baremetal service
- log = <Logger ironicclient.osc.v1.baremetal_node.CreateBaremetalNode (WARNING)>¶
- class ironicclient.osc.v1.baremetal_node.DeleteBaremetalNode(app, app_args, cmd_name=None)[source]¶
Bases:
Command
Unregister baremetal node(s)
- log = <Logger ironicclient.osc.v1.baremetal_node.DeleteBaremetalNode (WARNING)>¶
- class ironicclient.osc.v1.baremetal_node.DeployBaremetalNode(app, app_args, cmd_name=None)[source]¶
Bases:
ProvisionStateWithWait
Set provision state of baremetal node to ‘deploy’
- PROVISION_STATE = 'active'¶
- log = <Logger ironicclient.osc.v1.baremetal_node.DeployBaremetalNode (WARNING)>¶
- class ironicclient.osc.v1.baremetal_node.InjectNmiBaremetalNode(app, app_args, cmd_name=None)[source]¶
Bases:
Command
Inject NMI to baremetal node
- log = <Logger ironicclient.osc.v1.baremetal_node.InjectNmiBaremetalNode (WARNING)>¶
- class ironicclient.osc.v1.baremetal_node.InspectBaremetalNode(app, app_args, cmd_name=None)[source]¶
Bases:
ProvisionStateWithWait
Set provision state of baremetal node to ‘inspect’
- PROVISION_STATE = 'inspect'¶
- log = <Logger ironicclient.osc.v1.baremetal_node.InspectBaremetalNode (WARNING)>¶
- class ironicclient.osc.v1.baremetal_node.ListBIOSSettingBaremetalNode(app, app_args, cmd_name=None)[source]¶
Bases:
Lister
List a node’s BIOS settings.
- log = <Logger ironicclient.osc.v1.baremetal_node.ListBIOSSettingBaremetalNode (WARNING)>¶
- class ironicclient.osc.v1.baremetal_node.ListBaremetalNode(app, app_args, cmd_name=None)[source]¶
Bases:
Lister
List baremetal nodes
- PROVISION_STATES = ['active', 'deleted', 'rebuild', 'inspect', 'provide', 'manage', 'clean', 'adopt', 'abort']¶
- log = <Logger ironicclient.osc.v1.baremetal_node.ListBaremetalNode (WARNING)>¶
- class ironicclient.osc.v1.baremetal_node.ListFirmwareComponentBaremetalNode(app, app_args, cmd_name=None)[source]¶
Bases:
Lister
List all Firmware Components of a node
- log = <Logger ironicclient.osc.v1.baremetal_node.ListFirmwareComponentBaremetalNode (WARNING)>¶
- class ironicclient.osc.v1.baremetal_node.ListTraitsBaremetalNode(app, app_args, cmd_name=None)[source]¶
Bases:
Lister
List a node’s traits.
- log = <Logger ironicclient.osc.v1.baremetal_node.ListTraitsBaremetalNode (WARNING)>¶
- class ironicclient.osc.v1.baremetal_node.MaintenanceSetBaremetalNode(app, app_args, cmd_name=None)[source]¶
Bases:
Command
Set baremetal node to maintenance mode
- log = <Logger ironicclient.osc.v1.baremetal_node.MaintenanceSetBaremetalNode (WARNING)>¶
- class ironicclient.osc.v1.baremetal_node.MaintenanceUnsetBaremetalNode(app, app_args, cmd_name=None)[source]¶
Bases:
Command
Unset baremetal node from maintenance mode
- log = <Logger ironicclient.osc.v1.baremetal_node.MaintenanceUnsetBaremetalNode (WARNING)>¶
- class ironicclient.osc.v1.baremetal_node.ManageBaremetalNode(app, app_args, cmd_name=None)[source]¶
Bases:
ProvisionStateWithWait
Set provision state of baremetal node to ‘manage’
- PROVISION_STATE = 'manage'¶
- log = <Logger ironicclient.osc.v1.baremetal_node.ManageBaremetalNode (WARNING)>¶
- class ironicclient.osc.v1.baremetal_node.NodeChildrenList(app, app_args, cmd_name=None)[source]¶
Bases:
ShowOne
Get a list of nodes associated as children.
- log = <Logger ironicclient.osc.v1.baremetal_node.NodeChildrenList (WARNING)>¶
- class ironicclient.osc.v1.baremetal_node.NodeHistoryEventGet(app, app_args, cmd_name=None)[source]¶
Bases:
ShowOne
Get history event for a baremetal node.
- log = <Logger ironicclient.osc.v1.baremetal_node.NodeHistoryEventGet (WARNING)>¶
- class ironicclient.osc.v1.baremetal_node.NodeHistoryList(app, app_args, cmd_name=None)[source]¶
Bases:
Lister
Get history events for a baremetal node.
- log = <Logger ironicclient.osc.v1.baremetal_node.NodeHistoryList (WARNING)>¶
- class ironicclient.osc.v1.baremetal_node.NodeInventorySave(app, app_args, cmd_name=None)[source]¶
Bases:
Command
Get hardware inventory of a node (in JSON format) or save it to file.
- log = <Logger ironicclient.osc.v1.baremetal_node.NodeInventorySave (WARNING)>¶
- class ironicclient.osc.v1.baremetal_node.PassthruCallBaremetalNode(app, app_args, cmd_name=None)[source]¶
Bases:
Command
Call a vendor passthru method for a node
- log = <Logger ironicclient.osc.v1.baremetal_node.PassthruCallBaremetalNode (WARNING)>¶
- class ironicclient.osc.v1.baremetal_node.PassthruListBaremetalNode(app, app_args, cmd_name=None)[source]¶
Bases:
Lister
List vendor passthru methods for a node
- log = <Logger ironicclient.osc.v1.baremetal_node.PassthruListBaremetalNode (WARNING)>¶
- class ironicclient.osc.v1.baremetal_node.PowerBaremetalNode(app, app_args, cmd_name=None)[source]¶
Bases:
Command
Base power state class, for setting the power of a node
- log = <Logger ironicclient.osc.v1.baremetal_node.PowerBaremetalNode (WARNING)>¶
- class ironicclient.osc.v1.baremetal_node.PowerOffBaremetalNode(app, app_args, cmd_name=None)[source]¶
Bases:
PowerBaremetalNode
Power off a node
- POWER_STATE = 'off'¶
- log = <Logger ironicclient.osc.v1.baremetal_node.PowerOffBaremetalNode (WARNING)>¶
- class ironicclient.osc.v1.baremetal_node.PowerOnBaremetalNode(app, app_args, cmd_name=None)[source]¶
Bases:
PowerBaremetalNode
Power on a node
- POWER_STATE = 'on'¶
- log = <Logger ironicclient.osc.v1.baremetal_node.PowerOnBaremetalNode (WARNING)>¶
- class ironicclient.osc.v1.baremetal_node.ProvideBaremetalNode(app, app_args, cmd_name=None)[source]¶
Bases:
ProvisionStateWithWait
Set provision state of baremetal node to ‘provide’
- PROVISION_STATE = 'provide'¶
- log = <Logger ironicclient.osc.v1.baremetal_node.ProvideBaremetalNode (WARNING)>¶
- class ironicclient.osc.v1.baremetal_node.ProvisionStateBaremetalNode(app, app_args, cmd_name=None)[source]¶
Bases:
Command
Base provision state class
- log = <Logger ironicclient.osc.v1.baremetal_node.ProvisionStateBaremetalNode (WARNING)>¶
- class ironicclient.osc.v1.baremetal_node.ProvisionStateWithWait(app, app_args, cmd_name=None)[source]¶
Bases:
ProvisionStateBaremetalNode
Provision state class adding –wait flag.
- log = <Logger ironicclient.osc.v1.baremetal_node.ProvisionStateWithWait (WARNING)>¶
- class ironicclient.osc.v1.baremetal_node.RebootBaremetalNode(app, app_args, cmd_name=None)[source]¶
Bases:
Command
Reboot baremetal node
- log = <Logger ironicclient.osc.v1.baremetal_node.RebootBaremetalNode (WARNING)>¶
- class ironicclient.osc.v1.baremetal_node.RebuildBaremetalNode(app, app_args, cmd_name=None)[source]¶
Bases:
ProvisionStateWithWait
Set provision state of baremetal node to ‘rebuild’
- PROVISION_STATE = 'rebuild'¶
- log = <Logger ironicclient.osc.v1.baremetal_node.RebuildBaremetalNode (WARNING)>¶
- class ironicclient.osc.v1.baremetal_node.RemoveTraitBaremetalNode(app, app_args, cmd_name=None)[source]¶
Bases:
Command
Remove trait(s) from a node.
- log = <Logger ironicclient.osc.v1.baremetal_node.RemoveTraitBaremetalNode (WARNING)>¶
- class ironicclient.osc.v1.baremetal_node.RescueBaremetalNode(app, app_args, cmd_name=None)[source]¶
Bases:
ProvisionStateWithWait
Set provision state of baremetal node to ‘rescue’
- PROVISION_STATE = 'rescue'¶
- log = <Logger ironicclient.osc.v1.baremetal_node.RescueBaremetalNode (WARNING)>¶
- class ironicclient.osc.v1.baremetal_node.SecurebootOffBaremetalNode(app, app_args, cmd_name=None)[source]¶
Bases:
Command
Turn secure boot off
- log = <Logger ironicclient.osc.v1.baremetal_node.SecurebootOffBaremetalNode (WARNING)>¶
- class ironicclient.osc.v1.baremetal_node.SecurebootOnBaremetalNode(app, app_args, cmd_name=None)[source]¶
Bases:
Command
Turn secure boot on
- log = <Logger ironicclient.osc.v1.baremetal_node.SecurebootOnBaremetalNode (WARNING)>¶
- class ironicclient.osc.v1.baremetal_node.SetBaremetalNode(app, app_args, cmd_name=None)[source]¶
Bases:
Command
Set baremetal properties
- log = <Logger ironicclient.osc.v1.baremetal_node.SetBaremetalNode (WARNING)>¶
- class ironicclient.osc.v1.baremetal_node.ShowBaremetalNode(app, app_args, cmd_name=None)[source]¶
Bases:
ShowOne
Show baremetal node details
- log = <Logger ironicclient.osc.v1.baremetal_node.ShowBaremetalNode (WARNING)>¶
- class ironicclient.osc.v1.baremetal_node.UndeployBaremetalNode(app, app_args, cmd_name=None)[source]¶
Bases:
ProvisionStateWithWait
Set provision state of baremetal node to ‘deleted’
- PROVISION_STATE = 'deleted'¶
- log = <Logger ironicclient.osc.v1.baremetal_node.UndeployBaremetalNode (WARNING)>¶
- class ironicclient.osc.v1.baremetal_node.UnholdBaremetalNode(app, app_args, cmd_name=None)[source]¶
Bases:
ProvisionStateBaremetalNode
Set provision state of baremetal node to ‘unhold’
- PROVISION_STATE = 'unhold'¶
- log = <Logger ironicclient.osc.v1.baremetal_node.UnholdBaremetalNode (WARNING)>¶
- class ironicclient.osc.v1.baremetal_node.UnrescueBaremetalNode(app, app_args, cmd_name=None)[source]¶
Bases:
ProvisionStateWithWait
Set provision state of baremetal node to ‘unrescue’
- PROVISION_STATE = 'unrescue'¶
- log = <Logger ironicclient.osc.v1.baremetal_node.UnrescueBaremetalNode (WARNING)>¶
- class ironicclient.osc.v1.baremetal_node.UnsetBaremetalNode(app, app_args, cmd_name=None)[source]¶
Bases:
Command
Unset baremetal properties
- log = <Logger ironicclient.osc.v1.baremetal_node.UnsetBaremetalNode (WARNING)>¶
- class ironicclient.osc.v1.baremetal_node.ValidateBaremetalNode(app, app_args, cmd_name=None)[source]¶
Bases:
Lister
Validate a node’s driver interfaces
- log = <Logger ironicclient.osc.v1.baremetal_node.ValidateBaremetalNode (WARNING)>¶
- class ironicclient.osc.v1.baremetal_node.VifAttachBaremetalNode(app, app_args, cmd_name=None)[source]¶
Bases:
Command
Attach VIF to a given node
- log = <Logger ironicclient.osc.v1.baremetal_node.VifAttachBaremetalNode (WARNING)>¶
- class ironicclient.osc.v1.baremetal_node.VifDetachBaremetalNode(app, app_args, cmd_name=None)[source]¶
Bases:
Command
Detach VIF from a given node
- log = <Logger ironicclient.osc.v1.baremetal_node.VifDetachBaremetalNode (WARNING)>¶