Exemple #1
0
def main():
    parser = Main('nova')
    parser.add_argument(
        '--limit', default=None,
        help='Limit the response to some servers only.')
    args = parser.parse_args()
    logger.info("Running Report")
    do_report(parser.sender(), args.limit)
Exemple #2
0
def main():
    parser = Main('cinder')
    parser.add_argument('--limit',
                        default=None,
                        help='Limit the response to some volumes only.')
    args = parser.parse_args()
    LOG.info("Running Report")
    do_report(parser.sender(), args.limit)
Exemple #3
0
def main():
    parser = Main('whisper')
    parser.add_argument(
        '--limit', default=None,
        help='Limit the number of metrics to send from each file.')
    parser.add_argument(
        'path', type=str, help='The path to the whisper files to send.')
    args = parser.parse_args()
    logger.info("Running Report")
    do_report(parser.sender(), args.path, args.limit)
def main():
    parser = Main('rcshibboleth')
    parser.add_argument(
        '--from-date', default=datetime.now(), type=parse_date,
        help='When to backfill data from.')
    parser.add_argument(
        '--to-date', default=datetime.now(),
        help='When to backfill data to.')
    args = parser.parse_args()
    logger.info("Running Report")
    report_metrics(parser.sender(), args.from_date, args.to_date)
Exemple #5
0
def main():
    parser = Main('whisper')
    parser.add_argument(
        '--limit',
        default=None,
        help='Limit the number of metrics to send from each file.')
    parser.add_argument('path',
                        type=str,
                        help='The path to the whisper files to send.')
    args = parser.parse_args()
    logger.info("Running Report")
    do_report(parser.sender(), args.path, args.limit)
def main():
    parser = Main('rcshibboleth')
    parser.add_argument('--from-date',
                        default=datetime.now(),
                        type=parse_date,
                        help='When to backfill data from.')
    parser.add_argument('--to-date',
                        default=datetime.now(),
                        help='When to backfill data to.')
    args = parser.parse_args()
    logger.info("Running Report")
    report_metrics(parser.sender(), args.from_date, args.to_date)