App-Framework

 view release on metacpan or  search on metacpan

t/config2/20-Feature-Config.conf  view on Meta::CPAN

## 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 



( run in 0.928 second using v1.01-cache-2.11-cpan-df04353d9ac )