ironicclient.osc.v1.baremetal_chassis module

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

Bases: osc_lib.command.command.ShowOne

Create a new chassis.

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger ironicclient.osc.v1.baremetal_chassis.CreateBaremetalChassis (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_chassis.DeleteBaremetalChassis(app, app_args, cmd_name=None)[source]

Bases: osc_lib.command.command.Command

Delete a chassis.

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger ironicclient.osc.v1.baremetal_chassis.DeleteBaremetalChassis (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_chassis.ListBaremetalChassis(app, app_args, cmd_name=None)[source]

Bases: osc_lib.command.command.Lister

List the chassis.

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger ironicclient.osc.v1.baremetal_chassis.ListBaremetalChassis (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_chassis.SetBaremetalChassis(app, app_args, cmd_name=None)[source]

Bases: osc_lib.command.command.Command

Set chassis properties.

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger ironicclient.osc.v1.baremetal_chassis.SetBaremetalChassis (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_chassis.ShowBaremetalChassis(app, app_args, cmd_name=None)[source]

Bases: osc_lib.command.command.ShowOne

Show chassis details.

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger ironicclient.osc.v1.baremetal_chassis.ShowBaremetalChassis (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_chassis.UnsetBaremetalChassis(app, app_args, cmd_name=None)[source]

Bases: osc_lib.command.command.Command

Unset chassis properties.

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

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

Override to do something useful.

The returned value will be returned by the program.