ironicclient.osc.v1.baremetal_allocation module

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

Bases: osc_lib.command.command.ShowOne

Create a new baremetal allocation.

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger ironicclient.osc.v1.baremetal_allocation.CreateBaremetalAllocation (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_allocation.DeleteBaremetalAllocation(app, app_args, cmd_name=None)[source]

Bases: osc_lib.command.command.Command

Unregister baremetal allocation(s).

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger ironicclient.osc.v1.baremetal_allocation.DeleteBaremetalAllocation (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_allocation.ListBaremetalAllocation(app, app_args, cmd_name=None)[source]

Bases: osc_lib.command.command.Lister

List baremetal allocations.

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

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

Run command.

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

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

Bases: osc_lib.command.command.Command

Set baremetal allocation properties.

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger ironicclient.osc.v1.baremetal_allocation.SetBaremetalAllocation (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_allocation.ShowBaremetalAllocation(app, app_args, cmd_name=None)[source]

Bases: osc_lib.command.command.ShowOne

Show baremetal allocation details.

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger ironicclient.osc.v1.baremetal_allocation.ShowBaremetalAllocation (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_allocation.UnsetBaremetalAllocation(app, app_args, cmd_name=None)[source]

Bases: osc_lib.command.command.Command

Unset baremetal allocation properties.

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

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

Override to do something useful.

The returned value will be returned by the program.