The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
## Name:        debug
## Summary:     Set debug level
## Type:        i
#
# Set the debug level value
#
debug =  56

## Name:        log
## Summary:     Override default
## Type:        s
#
# Tests override of default setting
#
log    =   different log

## Name:        verbose
## Summary:     Verbose output
## Type:        
#
# Make script output more verbose
#
verbose=

## Name:        norun
## Summary:     Dry run
## Type:        
#
# Do not execute anything that would alter the file system, just show the commands that would have executed
#
norun=

## Name:        name
## Summary:     Test name
## Type:        s
#
# Specify a test name. This determines the output filenames (for the test script .ts and menu file .db).
# 
# Default action is to use the control file name (without file extension).
#
name=this is a config2 feature test

## Name:        nomacro
## Summary:     Do not create test macro calls
## Type:        
#
# Normally the script automatically inserts a call to 'test_start' at the beginning of the test, and 'test_passed' at the end
# of the test. In both cases, the macros are called with the quoted string that is the full 'path' of the test name. 
# 
# The test path being the menu names, separated by '::' down to the actual test name
#
nomacro=

## Name:        default
## Summary:     Default test
## Type:        s
#
# Tests default setting
#
default=config2 default

## Name:        default2
## Summary:     Default test2
## Type:        s
#
# Tests default setting
#
default2=config2 b default

## Name:        default3
## Summary:     Default test3
## Type:        s
#
# Tests default setting
#
default3=config2 c default

## Name:        dbg-namestuff
## Summary:     Name test
## Type:        s
#
# Tests the valid name of options
#
dbg-namestuff=config2 a name

## Name:        dbg-name
## Summary:     Name test
## Type:        
#
# Tests the valid name of options
#
dbg-name=

#################################################################################
# Sections
#

##--------------------------------------------------------------------------------------------------
## Server settings
[server]

# Server port number
port = 32023

# stay alive tick interval
tick = 5



##--------------------------------------------------------------------------------------------------
## SNMP trap handler settings
[snmp-trap]

# Server port number
port = 32161

# log
logfile = /tmp/ate_snmp.log



#---------------------------------------------------------------------------------------------------
# Multi-instance settings
#
# Each section here creates a new instance of that type. For example, multiple [tty] sections
# create a tty session each with their own settings  
#---------------------------------------------------------------------------------------------------

##--------------------------------------------------------------------------------------------------
## tty section
#
# TTY creates an rs232 session via the Cisco tty server (or an actual telnet session with a host)
#
# Each section is of the form:
#
# [tty]
# # Name to use for the session. This name is used when communicating to the device
# name 		= SC2 		
# # IP address (or name) of the Cisco tty server
# host 		= tty-server
# # Telnet port to use on the Cisco tty server (port is 2000 + tty number)
# port 		= 2001 
# # Expected prompt from the connected device
# prompt 		= /SC2-HWTC\s*>\s*$/i 
#
# Along with mandatory setting, if the target device requires a login then the following must also 
# be specified:
#
# # User name
# user		= sdprice1
# # Password
# password	= password 
#

[tty]
name 		= SC2-1 		
host 		= tty-server2
port 		= 2011 
prompt 		= /SC2-HWTC\s*>/i 
timeout		= 90

[tty]
name 		= BBU-1 		
host 		= tty-server2
port 		= 2012 
prompt 		= /(RSS|\-)\s*>/i 
timeout		= 90

[tty]
name 		= SC2-2 		
host 		= tty-server2
port 		= 2013 
prompt 		= /SC2-HWTC\s*>/i 
timeout		= 90

[tty]
name 		= BBU-2 		
host 		= tty-server2
port 		= 2014 
prompt 		= /(RSS|\-)\s*>/i 
timeout		= 90



##--------------------------------------------------------------------------------------------------
## snmp section
#
# Creates an SNMP session with the specified host.
#
# Each section is of the form:
#
# [snmp]
# # Name to use for the session. This name is used when communicating to the device
# name 		= optical-switch 		
# # Host IP (or name) of target
# host 		= mecacore-pc
# # SNMP community name to use
# community	= public 
#

[snmp]
name 		= CTU4-1 		
host 		= ctu4-1

[snmp]
name 		= CTU4-2 		
host 		= ctu4-2

[snmp]
name 		= CTU4-3 		
host 		= ctu4-3

[snmp]
name 		= CTU4-4 		
host 		= ctu4-4