# Parameters for this Virtual Application (Application Instance - AI) type should
# be set on YOUR private configuration configuration file, including the ones 
# commented.

[AI_TEMPLATES : NETPERF]

# Attributes MANDATORY for all Virtual Applications
SUT = netclient->netserver
LOAD_BALANCER_SUPPORTED = $False
RESIZE_SUPPORTED = $False
REGENERATE_DATA = $False
LOAD_GENERATOR_ROLE = netclient
LOAD_MANAGER_ROLE = netclient
METRIC_AGGREGATOR_ROLE = netclient
CAPTURE_ROLE = netserver
LOAD_PROFILE = tcp_stream
LOAD_LEVEL = 1
LOAD_DURATION = uniformIXIXI70I90
CATEGORY = synthetic
PROFILES = tcp_stream, tcp_maerts, udp_stream, tcp_rr, tcp_cc, tcp_crr, udp_rr
REFERENCE = http://www.netperf.org/netperf/
LICENSE = HP
REPORTED_METRICS = bandwidth,throughput,completion_time,quiescent_time,errors

# VApp-specific MANDATORY attributes
DESCRIPTION =Deploys a pair of instances (client and server) and then runs\n
DESCRIPTION +=the "netperf" network benchmark, sending packets (stream or\n
DESCRIPTION +=request/response) between these.\n 
DESCRIPTION +=  - LOAD_PROFILE possible values: _PROFILES_\n
DESCRIPTION +=  - LOAD_LEVEL meaning: not applicable/not used.\n 
DESCRIPTION +=  - LOAD_DURATION meaning: maximum length of time to run.\n
NETCLIENT_SETUP1 = cb_check_netperf_client.sh
NETSERVER_SETUP1 = cb_check_netperf_server.sh
START = cb_run_netperf.sh

# VApp-specific modifier parameters. 
SEND_BUFFER_SIZE=auto
RECV_BUFFER_SIZE=auto
CLIENT_BUFFER_SIZE=auto
SERVER_BUFFER_SIZE=auto
REQUEST_RESPONSE_SIZE=auto
IF_MTU=auto
EXTERNAL_TARGET=none

NETCLIENT_DATA_DIR = /netclient
NETCLIENT_DATA_FSTYP = ext4

NETSERVER_DATA_DIR = /netclient
NETSERVER_DATA_FSTYP = ext4

# Inter-Virtual Application instances (inter-AI) synchronized execution. Entirely optional
#SYNC_COUNTER_NAME = synchronization_counter
#CONCURRENT_AIS = 2
#SYNC_CHANNEL_NAME = synchronization_channel
#RUN_COUNTER_NAME = experiment_id_counter
