ironicclient.osc.v1.baremetal_port module

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

Bases: ShowOne

Create a new port

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger ironicclient.osc.v1.baremetal_port.CreateBaremetalPort (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_port.DeleteBaremetalPort(app, app_args, cmd_name=None)[source]

Bases: Command

Delete port(s).

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger ironicclient.osc.v1.baremetal_port.DeleteBaremetalPort (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_port.ListBaremetalPort(app, app_args, cmd_name=None)[source]

Bases: Lister

List baremetal ports.

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger ironicclient.osc.v1.baremetal_port.ListBaremetalPort (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_port.SetBaremetalPort(app, app_args, cmd_name=None)[source]

Bases: Command

Set baremetal port properties.

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger ironicclient.osc.v1.baremetal_port.SetBaremetalPort (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_port.ShowBaremetalPort(app, app_args, cmd_name=None)[source]

Bases: ShowOne

Show baremetal port details.

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger ironicclient.osc.v1.baremetal_port.ShowBaremetalPort (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_port.UnsetBaremetalPort(app, app_args, cmd_name=None)[source]

Bases: Command

Unset baremetal port properties.

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

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

Override to do something useful.

The returned value will be returned by the program.