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
= <Logger designateclient.cli.reports.CountsCommand (WARNING)>¶
-
-
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
= <Logger designateclient.cli.reports.DomainCountCommand (WARNING)>¶
-
-
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
= <Logger designateclient.cli.reports.RecordCountCommand (WARNING)>¶
-
-
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()
-
log
= <Logger designateclient.cli.reports.TenantCommand (WARNING)>¶
-
-
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
= <Logger designateclient.cli.reports.TenantCountCommand (WARNING)>¶
-
-
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
= <Logger designateclient.cli.reports.TenantsCommand (WARNING)>¶
-