ironicclient.osc.v1.baremetal_portgroup module

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

Bases: ShowOne

Create a new baremetal port group.

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger ironicclient.osc.v1.baremetal_portgroup.CreateBaremetalPortGroup (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_portgroup.DeleteBaremetalPortGroup(app, app_args, cmd_name=None)[source]

Bases: Command

Unregister baremetal port group(s).

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger ironicclient.osc.v1.baremetal_portgroup.DeleteBaremetalPortGroup (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_portgroup.ListBaremetalPortGroup(app, app_args, cmd_name=None)[source]

Bases: Lister

List baremetal port groups.

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger ironicclient.osc.v1.baremetal_portgroup.ListBaremetalPortGroup (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_portgroup.SetBaremetalPortGroup(app, app_args, cmd_name=None)[source]

Bases: Command

Set baremetal port group properties.

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger ironicclient.osc.v1.baremetal_portgroup.SetBaremetalPortGroup (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_portgroup.ShowBaremetalPortGroup(app, app_args, cmd_name=None)[source]

Bases: ShowOne

Show baremetal port group details.

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger ironicclient.osc.v1.baremetal_portgroup.ShowBaremetalPortGroup (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_portgroup.UnsetBaremetalPortGroup(app, app_args, cmd_name=None)[source]

Bases: Command

Unset baremetal port group properties.

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

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

Override to do something useful.

The returned value will be returned by the program.