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

[AI_TEMPLATES : BTEST]

# Attributes MANDATORY for all Virtual Applications
SUT = btest
LOAD_BALANCER_SUPPORTED = $False
RESIZE_SUPPORTED = $True
REGENERATE_DATA = $False
LOAD_GENERATOR_ROLE = btest
LOAD_MANAGER_ROLE = btest
METRIC_AGGREGATOR_ROLE = btest
CAPTURE_ROLE = btest
LOAD_PROFILE = default
LOAD_LEVEL = uniformIXIXI1I10
LOAD_DURATION = 100
CATEGORY = synthetic
PROFILES = default
REFERENCE = https://sourceforge.net/projects/btest/
LICENSE = Public_Domain
REPORTED_METRICS = throughput,latency,completion_time,errors,quiescent_time,errors

# VApp-specific MANDATORY attributes
DESCRIPTION =Deploys a single instance and runs the "btest" synthetic (disk I/O)
DESCRIPTION += benchmark (from XtremeIO).\n
DESCRIPTION +=  - LOAD_PROFILE possible values: _PROFILES_, meaning 4096 block size;\n
DESCRIPTION +=    AIO queue depth of 32;50% reads;100% random;500 MB file size\n
DESCRIPTION +=    (4096;32;50;100;500;1). Other profiles can be specified by a\n
DESCRIPTION +=    semi-colon separated 5-value tuple.\n
DESCRIPTION +=  - LOAD_LEVEL meaning: number of threads (parameter -T).\n 
DESCRIPTION +=  - LOAD_DURATION meaning: maximum alloted time for the execution\n
DESCRIPTION +=    of all I/O operations.\n
BTEST_SETUP1 = cb_restart_btest.sh
START = cb_run_btest.sh

# VApp-specific modifier parameters. Commented attributes imply default values assumed
BTEST_DATA_DIR = /btestdir
BTEST_DATA_FSTYP = ext4
BTEST_DATA_VOLUME = NONE

# 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
