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

## rrul test specification

include("rrul_be.conf")
DESCRIPTION="Realtime Response Under Load - Test Prio Queue"

del DATA_SETS['Ping (ms) UDP BE2']
del DATA_SETS['Ping (ms) UDP BE3']

DATA_SETS['Ping (ms) UDP PRIO'] = {'command': find_netperf("UDP_RR", TOTAL_LENGTH, HOST, marking="0x10,0x10"),
                                   'data_transform': 'rr_to_ms',
                                   'units': 'ms',
                                   'runner': 'netperf_demo',}

DATA_SETS['Ping (ms) ICMP PRIO'] = {'command': find_ping(IP_VERSION, STEP_SIZE, TOTAL_LENGTH, HOST, marking="0x10"),
                               'units': 'ms',
                               'runner': 'ping',}

PLOTS['ping']['series'] = [{'data': 'Ping (ms) UDP BE1',
                            'label': 'UDP BE1'},
                           {'data': 'Ping (ms) UDP PRIO',
                            'label': 'UDP PRIO'},
                           {'data': 'Ping (ms) ICMP',
                            'label': 'ICMP'},
                           {'data': 'Ping (ms) ICMP PRIO',
                            'label': 'ICMP PRIO'},
                           {'data': 'Ping (ms) avg',
                            'label': 'Avg',
                            'smoothing': 10,
                            'color': 'black',
                            'linewidth': 2}]
