designateclient.v2.cli.reverse module

class designateclient.v2.cli.reverse.ListFloatingIPCommand(app, app_args, cmd_name=None)[source]

Bases: osc_lib.command.command.Lister

List floatingip ptr records

columns = ['id', 'ptrdname', 'description', 'ttl']
get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger designateclient.v2.cli.reverse.ListFloatingIPCommand (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 designateclient.v2.cli.reverse.SetFloatingIPCommand(app, app_args, cmd_name=None)[source]

Bases: osc_lib.command.command.ShowOne

Set floatingip ptr record

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger designateclient.v2.cli.reverse.SetFloatingIPCommand (WARNING)>
take_action(parsed_args)[source]

Return a two-part tuple with a tuple of column names and a tuple of values.

class designateclient.v2.cli.reverse.ShowFloatingIPCommand(app, app_args, cmd_name=None)[source]

Bases: osc_lib.command.command.ShowOne

Show floatingip ptr record details

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger designateclient.v2.cli.reverse.ShowFloatingIPCommand (WARNING)>
take_action(parsed_args)[source]

Return a two-part tuple with a tuple of column names and a tuple of values.

class designateclient.v2.cli.reverse.UnsetFloatingIPCommand(app, app_args, cmd_name=None)[source]

Bases: osc_lib.command.command.Command

Unset floatingip ptr record

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger designateclient.v2.cli.reverse.UnsetFloatingIPCommand (WARNING)>
take_action(parsed_args)[source]

Override to do something useful.

The returned value will be returned by the program.