@utils.arg('-t', '--tenant-id',
           help='Tenant id',
           required=False,
           dest='total_tenant_id')
@utils.arg('-b', '--begin',
           help='Begin timestamp',
           required=False)
@utils.arg('-e', '--end',
           help='End timestamp',
           required=False)
@utils.arg('-s', '--service',
           help='Service Type',
           required=False)
def do_total_get(cc, args):
    begin = utils.ts2dt(args.begin) if args.begin else None
    end = utils.ts2dt(args.end) if args.end else None
    total = cc.reports.get_total(tenant_id=args.total_tenant_id,
                                 begin=begin,
                                 end=end,
                                 service=args.service)
    utils.print_dict({'Total': total or 0.0})
Get total reports.
dataset/ETHPy150Open openstack/python-cloudkittyclient/cloudkittyclient/v1/report/shell.py/do_total_get