designateclient.v2.cli.service_statuses module

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

Bases: Lister

List service statuses

columns = ['id', 'hostname', 'service_name', 'status', 'stats', 'capabilities']
get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

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

Bases: ShowOne

Show service status details

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

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

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