The designateclient.cli.quotas Module

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

Bases: designateclient.cli.base.GetCommand

Get Quota

execute(parsed_args)[source]

Execute something, this is since we overload self.take_action() in order to format the data

This method __NEEDS__ to be overloaded!

Parameters:parsed_args – The parsed args that are given by take_action()
get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger designateclient.cli.quotas.GetQuotaCommand (WARNING)>
class designateclient.cli.quotas.ResetQuotaCommand(app, app_args, cmd_name=None)[source]

Bases: designateclient.cli.base.DeleteCommand

Reset Quota

execute(parsed_args)[source]

Execute something, this is since we overload self.take_action() in order to format the data

This method __NEEDS__ to be overloaded!

Parameters:parsed_args – The parsed args that are given by take_action()
get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger designateclient.cli.quotas.ResetQuotaCommand (WARNING)>
class designateclient.cli.quotas.UpdateQuotaCommand(app, app_args, cmd_name=None)[source]

Bases: designateclient.cli.base.UpdateCommand

Update Quota

execute(parsed_args)[source]

Execute something, this is since we overload self.take_action() in order to format the data

This method __NEEDS__ to be overloaded!

Parameters:parsed_args – The parsed args that are given by take_action()
get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger designateclient.cli.quotas.UpdateQuotaCommand (WARNING)>