App-Framework

 view release on metacpan or  search on metacpan

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

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



( run in 2.747 seconds using v1.01-cache-2.11-cpan-39bf76dae61 )