ironicclient.osc.v1.baremetal_runbook module

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

Bases: ShowOne

Create a new runbook

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger ironicclient.osc.v1.baremetal_runbook.CreateBaremetalRunbook (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_runbook.DeleteBaremetalRunbook(app, app_args, cmd_name=None)[source]

Bases: Command

Delete runbook(s).

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger ironicclient.osc.v1.baremetal_runbook.DeleteBaremetalRunbook (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_runbook.ListBaremetalRunbook(app, app_args, cmd_name=None)[source]

Bases: Lister

List baremetal runbooks.

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger ironicclient.osc.v1.baremetal_runbook.ListBaremetalRunbook (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_runbook.SetBaremetalRunbook(app, app_args, cmd_name=None)[source]

Bases: Command

Set baremetal runbook properties.

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger ironicclient.osc.v1.baremetal_runbook.SetBaremetalRunbook (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_runbook.ShowBaremetalRunbook(app, app_args, cmd_name=None)[source]

Bases: ShowOne

Show baremetal runbook details.

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger ironicclient.osc.v1.baremetal_runbook.ShowBaremetalRunbook (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_runbook.UnsetBaremetalRunbook(app, app_args, cmd_name=None)[source]

Bases: Command

Unset baremetal runbook properties.

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

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

Override to do something useful.

The returned value will be returned by the program.