#!/bin/bash
#
# Configuration file for basicFlow
#
# Usage: ./t2plconf
#
# Enter configurations items as follows:
#
#   "NAME" "TYPE" "DEPENDENCIES" "DESCRIPTION"
#
#   - TYPE can be:
#       - check (boolean),
#       - radio (set of values),
#       - range (min <= val <= max)
#       - text
#
#   - DEPENDENCIES MUST be numeric, e.g., "A == 1 && (B < 4 || C >= 1)"
#
#   - DESCRIPTION for type 'check' MUST NOT contain tabs ('\t')
#   - DESCRIPTION for TYPE 'range' MUST NOT contain '\t' or ':'
#   - DESCRIPTION for TYPE 'radio' MUST NOT contain '\t', ':' or ';'
#   - DESCRIPTION for TYPE 'text'  MUST NOT contain '\t'
#
#   - DESCRIPTION MUST be formatted according to the type (see examples below):
#       - check: description
#       - radio: description ';' val1 ':' description1 ';' valN ':' descriptionN
#       - range: description ':' min ' ' max
#       - text : description

ITEMS=(
    BFO_DATE_TIME radio "" "Time representation; 0: Unix timestamp; 1: Human readable date"
    BFO_IP_HEX    radio "" "IP addresses representation; 0: IP address; 1: Hexadecimal"
    BFO_SENSORID check "" "Output sensor ID"
    BFO_MAC check "" "Enable MAC output"
    BFO_ETHERTYPE check "" "Enable Ether type header output"
    BFO_ETHERTYPE_HEX check "" "Enable hex decoded decimal output"
    BFO_MPLS check "" "Enable MPLS header output"
    BFO_MPLS_DETAIL check "" "Enable MPLS detail header output"
    BFO_L2TP check "" "Enable L2TP header output information"
    BFO_GRE  check "" "Enable GRE header output information"
    BFO_PPP  check "" "Enable PPP header output"
    #BFO_SUBNET_TEST check "" "Enables subnet test"
    #BFO_SUBNET_TEST_L2TP check "" "Enables subnet test on L2TP adresses"
    #BFO_SUBNET_TEST_GRE check "" "Enables subnet test on GRE adresses"
    NETWORKLABELING radio "" "Network labeling; 0: Address count; 1: User labeling"
    NETWORK_HEXLABEL radio "" "Network labels representation; 0: integer; 1: hexadecimal"
)

# Source the main config file
source ../scripts/t2conf/t2plconf
