## -*- mode: python; coding: utf-8 -*-

AGGREGATOR='timeseries'
DESCRIPTION="Straight ping test"
DEFAULTS={'PLOT': 'totals'}

DATA_SETS = o([
        ('Ping (ms) ICMP',
         {'command': find_ping(IP_VERSION, STEP_SIZE, LENGTH, HOST),
          'units': 'ms',
          'runner': 'ping',}),
        ])


PLOTS = o([
    ('totals',
     {'description': 'Ping plot over time',
      'type': 'timeseries',
      'series': [{'data': 'Ping (ms) ICMP',
                  'label': 'Ping (ms)',
                  'color': 'red'}]}),
    ('ping_cdf',
     {'description': 'Ping CDF plot',
      'type': 'cdf',
      'series': [{'data': 'Ping (ms) ICMP',
                  'label': 'Ping (ms)'},],
      'cutoff': (DELAY,DELAY)}),
    ])
