The designateclient.cli.reports Module

The designateclient.cli.reports Module

class designateclient.cli.reports.CountsCommand(app, app_args, cmd_name=None)[source]

Bases: designateclient.cli.base.GetCommand

Get count totals for all tenants, domains and records

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()
log = <logging.Logger object>
class designateclient.cli.reports.DomainCountCommand(app, app_args, cmd_name=None)[source]

Bases: designateclient.cli.base.GetCommand

Get counts for total domains

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()
log = <logging.Logger object>
class designateclient.cli.reports.RecordCountCommand(app, app_args, cmd_name=None)[source]

Bases: designateclient.cli.base.GetCommand

Get counts for total records

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()
log = <logging.Logger object>
class designateclient.cli.reports.TenantCommand(app, app_args, cmd_name=None)[source]

Bases: designateclient.cli.base.ListCommand

Get a list of domains for given tenant

columns = ['domain']
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 = <logging.Logger object>
class designateclient.cli.reports.TenantCountCommand(app, app_args, cmd_name=None)[source]

Bases: designateclient.cli.base.GetCommand

Get counts for total tenants

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()
log = <logging.Logger object>
class designateclient.cli.reports.TenantsCommand(app, app_args, cmd_name=None)[source]

Bases: designateclient.cli.base.ListCommand

Get list of tenants and domain count for each

columns = ['domain_count', 'id']
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()
log = <logging.Logger object>
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.

python-designateclient 2.10.1.dev3