designateclient.v2.cli.quotas module

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

Bases: ShowOne

List quotas

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

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.quotas.ResetQuotasCommand(app, app_args, cmd_name=None)[source]

Bases: Command

Reset quotas

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

take_action(parsed_args)[source]

Override to do something useful.

The returned value will be returned by the program.

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

Bases: ShowOne

Set quotas

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

take_action(parsed_args)[source]

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