ironicclient.osc.v1.baremetal_node module

class ironicclient.osc.v1.baremetal_node.AbortBaremetalNode(app, app_args, cmd_name=None)[source]

Bases: ironicclient.osc.v1.baremetal_node.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: osc_lib.command.command.Command

Add traits to a node.

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger ironicclient.osc.v1.baremetal_node.AddTraitBaremetalNode (WARNING)>
take_action(parsed_args)[source]

Override to do something useful.

The returned value will be returned by the program.

class ironicclient.osc.v1.baremetal_node.AdoptBaremetalNode(app, app_args, cmd_name=None)[source]

Bases: ironicclient.osc.v1.baremetal_node.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: osc_lib.command.command.ShowOne

Show a specific BIOS setting for a node.

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger ironicclient.osc.v1.baremetal_node.BIOSSettingShowBaremetalNode (WARNING)>
take_action(parsed_args)[source]

Return a two-part tuple with a tuple of column names and a tuple of values.

class ironicclient.osc.v1.baremetal_node.BootdeviceSetBaremetalNode(app, app_args, cmd_name=None)[source]

Bases: osc_lib.command.command.Command

Set the boot device for a node

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger ironicclient.osc.v1.baremetal_node.BootdeviceSetBaremetalNode (WARNING)>
take_action(parsed_args)[source]

Override to do something useful.

The returned value will be returned by the program.

class ironicclient.osc.v1.baremetal_node.BootdeviceShowBaremetalNode(app, app_args, cmd_name=None)[source]

Bases: osc_lib.command.command.ShowOne

Show the boot device information for a node

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger ironicclient.osc.v1.baremetal_node.BootdeviceShowBaremetalNode (WARNING)>
take_action(parsed_args)[source]

Return a two-part tuple with a tuple of column names and a tuple of values.

class ironicclient.osc.v1.baremetal_node.CleanBaremetalNode(app, app_args, cmd_name=None)[source]

Bases: ironicclient.osc.v1.baremetal_node.ProvisionStateWithWait

Set provision state of baremetal node to ‘clean’

PROVISION_STATE = 'clean'
get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger ironicclient.osc.v1.baremetal_node.CleanBaremetalNode (WARNING)>
class ironicclient.osc.v1.baremetal_node.ConsoleDisableBaremetalNode(app, app_args, cmd_name=None)[source]

Bases: osc_lib.command.command.Command

Disable console access for a node

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger ironicclient.osc.v1.baremetal_node.ConsoleDisableBaremetalNode (WARNING)>
take_action(parsed_args)[source]

Override to do something useful.

The returned value will be returned by the program.

class ironicclient.osc.v1.baremetal_node.ConsoleEnableBaremetalNode(app, app_args, cmd_name=None)[source]

Bases: osc_lib.command.command.Command

Enable console access for a node

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger ironicclient.osc.v1.baremetal_node.ConsoleEnableBaremetalNode (WARNING)>
take_action(parsed_args)[source]

Override to do something useful.

The returned value will be returned by the program.

class ironicclient.osc.v1.baremetal_node.ConsoleShowBaremetalNode(app, app_args, cmd_name=None)[source]

Bases: osc_lib.command.command.ShowOne

Show console information for a node

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger ironicclient.osc.v1.baremetal_node.ConsoleShowBaremetalNode (WARNING)>
take_action(parsed_args)[source]

Return a two-part tuple with a tuple of column names and a tuple of values.

class ironicclient.osc.v1.baremetal_node.CreateBaremetalNode(app, app_args, cmd_name=None)[source]

Bases: osc_lib.command.command.ShowOne

Register a new node with the baremetal service

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger ironicclient.osc.v1.baremetal_node.CreateBaremetalNode (WARNING)>
take_action(parsed_args)[source]

Return a two-part tuple with a tuple of column names and a tuple of values.

class ironicclient.osc.v1.baremetal_node.DeleteBaremetalNode(app, app_args, cmd_name=None)[source]

Bases: osc_lib.command.command.Command

Unregister baremetal node(s)

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger ironicclient.osc.v1.baremetal_node.DeleteBaremetalNode (WARNING)>
take_action(parsed_args)[source]

Override to do something useful.

The returned value will be returned by the program.

class ironicclient.osc.v1.baremetal_node.DeployBaremetalNode(app, app_args, cmd_name=None)[source]

Bases: ironicclient.osc.v1.baremetal_node.ProvisionStateWithWait

Set provision state of baremetal node to ‘deploy’

PROVISION_STATE = 'active'
get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger ironicclient.osc.v1.baremetal_node.DeployBaremetalNode (WARNING)>
class ironicclient.osc.v1.baremetal_node.InjectNmiBaremetalNode(app, app_args, cmd_name=None)[source]

Bases: osc_lib.command.command.Command

Inject NMI to baremetal node

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger ironicclient.osc.v1.baremetal_node.InjectNmiBaremetalNode (WARNING)>
take_action(parsed_args)[source]

Override to do something useful.

The returned value will be returned by the program.

class ironicclient.osc.v1.baremetal_node.InspectBaremetalNode(app, app_args, cmd_name=None)[source]

Bases: ironicclient.osc.v1.baremetal_node.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: osc_lib.command.command.Lister

List a node’s BIOS settings.

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger ironicclient.osc.v1.baremetal_node.ListBIOSSettingBaremetalNode (WARNING)>
take_action(parsed_args)[source]

Return a tuple containing the column names and an iterable containing the data to be listed.

class ironicclient.osc.v1.baremetal_node.ListBaremetalNode(app, app_args, cmd_name=None)[source]

Bases: osc_lib.command.command.Lister

List baremetal nodes

PROVISION_STATES = ['active', 'deleted', 'rebuild', 'inspect', 'provide', 'manage', 'clean', 'adopt', 'abort']
get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger ironicclient.osc.v1.baremetal_node.ListBaremetalNode (WARNING)>
take_action(parsed_args)[source]

Return a tuple containing the column names and an iterable containing the data to be listed.

class ironicclient.osc.v1.baremetal_node.ListTraitsBaremetalNode(app, app_args, cmd_name=None)[source]

Bases: osc_lib.command.command.Lister

List a node’s traits.

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger ironicclient.osc.v1.baremetal_node.ListTraitsBaremetalNode (WARNING)>
take_action(parsed_args)[source]

Return a tuple containing the column names and an iterable containing the data to be listed.

class ironicclient.osc.v1.baremetal_node.MaintenanceSetBaremetalNode(app, app_args, cmd_name=None)[source]

Bases: osc_lib.command.command.Command

Set baremetal node to maintenance mode

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger ironicclient.osc.v1.baremetal_node.MaintenanceSetBaremetalNode (WARNING)>
take_action(parsed_args)[source]

Override to do something useful.

The returned value will be returned by the program.

class ironicclient.osc.v1.baremetal_node.MaintenanceUnsetBaremetalNode(app, app_args, cmd_name=None)[source]

Bases: osc_lib.command.command.Command

Unset baremetal node from maintenance mode

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger ironicclient.osc.v1.baremetal_node.MaintenanceUnsetBaremetalNode (WARNING)>
take_action(parsed_args)[source]

Override to do something useful.

The returned value will be returned by the program.

class ironicclient.osc.v1.baremetal_node.ManageBaremetalNode(app, app_args, cmd_name=None)[source]

Bases: ironicclient.osc.v1.baremetal_node.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.PassthruCallBaremetalNode(app, app_args, cmd_name=None)[source]

Bases: osc_lib.command.command.Command

Call a vendor passthu method for a node

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger ironicclient.osc.v1.baremetal_node.PassthuCallBaremetalNode (WARNING)>
take_action(parsed_args)[source]

Override to do something useful.

The returned value will be returned by the program.

class ironicclient.osc.v1.baremetal_node.PassthruListBaremetalNode(app, app_args, cmd_name=None)[source]

Bases: osc_lib.command.command.Lister

List vendor passthru methods for a node

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger ironicclient.osc.v1.baremetal_node.PassthruListBaremetalNode (WARNING)>
take_action(parsed_args)[source]

Return a tuple containing the column names and an iterable containing the data to be listed.

class ironicclient.osc.v1.baremetal_node.PowerBaremetalNode(app, app_args, cmd_name=None)[source]

Bases: osc_lib.command.command.Command

Base power state class, for setting the power of a node

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger ironicclient.osc.v1.baremetal_node.PowerBaremetalNode (WARNING)>
take_action(parsed_args)[source]

Override to do something useful.

The returned value will be returned by the program.

class ironicclient.osc.v1.baremetal_node.PowerOffBaremetalNode(app, app_args, cmd_name=None)[source]

Bases: ironicclient.osc.v1.baremetal_node.PowerBaremetalNode

Power off a node

POWER_STATE = 'off'
get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger ironicclient.osc.v1.baremetal_node.PowerOffBaremetalNode (WARNING)>
class ironicclient.osc.v1.baremetal_node.PowerOnBaremetalNode(app, app_args, cmd_name=None)[source]

Bases: ironicclient.osc.v1.baremetal_node.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: ironicclient.osc.v1.baremetal_node.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: osc_lib.command.command.Command

Base provision state class

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger ironicclient.osc.v1.baremetal_node.ProvisionStateBaremetalNode (WARNING)>
take_action(parsed_args)[source]

Override to do something useful.

The returned value will be returned by the program.

class ironicclient.osc.v1.baremetal_node.ProvisionStateWithWait(app, app_args, cmd_name=None)[source]

Bases: ironicclient.osc.v1.baremetal_node.ProvisionStateBaremetalNode

Provision state class adding –wait flag.

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger ironicclient.osc.v1.baremetal_node.ProvisionStateWithWait (WARNING)>
take_action(parsed_args)[source]

Override to do something useful.

The returned value will be returned by the program.

class ironicclient.osc.v1.baremetal_node.RebootBaremetalNode(app, app_args, cmd_name=None)[source]

Bases: osc_lib.command.command.Command

Reboot baremetal node

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger ironicclient.osc.v1.baremetal_node.RebootBaremetalNode (WARNING)>
take_action(parsed_args)[source]

Override to do something useful.

The returned value will be returned by the program.

class ironicclient.osc.v1.baremetal_node.RebuildBaremetalNode(app, app_args, cmd_name=None)[source]

Bases: ironicclient.osc.v1.baremetal_node.ProvisionStateWithWait

Set provision state of baremetal node to ‘rebuild’

PROVISION_STATE = 'rebuild'
get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger ironicclient.osc.v1.baremetal_node.RebuildBaremetalNode (WARNING)>
class ironicclient.osc.v1.baremetal_node.RemoveTraitBaremetalNode(app, app_args, cmd_name=None)[source]

Bases: osc_lib.command.command.Command

Remove trait(s) from a node.

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger ironicclient.osc.v1.baremetal_node.RemoveTraitBaremetalNode (WARNING)>
take_action(parsed_args)[source]

Override to do something useful.

The returned value will be returned by the program.

class ironicclient.osc.v1.baremetal_node.RescueBaremetalNode(app, app_args, cmd_name=None)[source]

Bases: ironicclient.osc.v1.baremetal_node.ProvisionStateWithWait

Set provision state of baremetal node to ‘rescue’

PROVISION_STATE = 'rescue'
get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger ironicclient.osc.v1.baremetal_node.RescueBaremetalNode (WARNING)>
class ironicclient.osc.v1.baremetal_node.SetBaremetalNode(app, app_args, cmd_name=None)[source]

Bases: osc_lib.command.command.Command

Set baremetal properties

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger ironicclient.osc.v1.baremetal_node.SetBaremetalNode (WARNING)>
take_action(parsed_args)[source]

Override to do something useful.

The returned value will be returned by the program.

class ironicclient.osc.v1.baremetal_node.ShowBaremetalNode(app, app_args, cmd_name=None)[source]

Bases: osc_lib.command.command.ShowOne

Show baremetal node details

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger ironicclient.osc.v1.baremetal_node.ShowBaremetalNode (WARNING)>
take_action(parsed_args)[source]

Return a two-part tuple with a tuple of column names and a tuple of values.

class ironicclient.osc.v1.baremetal_node.UndeployBaremetalNode(app, app_args, cmd_name=None)[source]

Bases: ironicclient.osc.v1.baremetal_node.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.UnrescueBaremetalNode(app, app_args, cmd_name=None)[source]

Bases: ironicclient.osc.v1.baremetal_node.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: osc_lib.command.command.Command

Unset baremetal properties

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger ironicclient.osc.v1.baremetal_node.UnsetBaremetalNode (WARNING)>
take_action(parsed_args)[source]

Override to do something useful.

The returned value will be returned by the program.

class ironicclient.osc.v1.baremetal_node.ValidateBaremetalNode(app, app_args, cmd_name=None)[source]

Bases: osc_lib.command.command.Lister

Validate a node’s driver interfaces

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger ironicclient.osc.v1.baremetal_node.ValidateBaremetalNode (WARNING)>
take_action(parsed_args)[source]

Return a tuple containing the column names and an iterable containing the data to be listed.

class ironicclient.osc.v1.baremetal_node.VifAttachBaremetalNode(app, app_args, cmd_name=None)[source]

Bases: osc_lib.command.command.Command

Attach VIF to a given node

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger ironicclient.osc.v1.baremetal_node.VifAttachBaremetalNode (WARNING)>
take_action(parsed_args)[source]

Override to do something useful.

The returned value will be returned by the program.

class ironicclient.osc.v1.baremetal_node.VifDetachBaremetalNode(app, app_args, cmd_name=None)[source]

Bases: osc_lib.command.command.Command

Detach VIF from a given node

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger ironicclient.osc.v1.baremetal_node.VifDetachBaremetalNode (WARNING)>
take_action(parsed_args)[source]

Override to do something useful.

The returned value will be returned by the program.

class ironicclient.osc.v1.baremetal_node.VifListBaremetalNode(app, app_args, cmd_name=None)[source]

Bases: osc_lib.command.command.Lister

Show attached VIFs for a node

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger ironicclient.osc.v1.baremetal_node.VifListBaremetalNode (WARNING)>
take_action(parsed_args)[source]

Return a tuple containing the column names and an iterable containing the data to be listed.