blob: d2493b51e3bc6b6c381c15b5c5753dbf81491b2b [file] [log] [blame]
Prashanth Katti081b3d92018-06-15 05:13:11 -05001*** Variables ***
2
3# SNMP related parameters.
4
5# 10.x.x.x series is a private IP address range and does not exist in
6# our network, so this is chosen to avoid any adversary effect.
7# It can be overridden by command line arguments.
8${SNMP_MGR1_IP} 10.6.6.6
9${SNMP_MGR2_IP} 10.6.6.7
10${SNMP_MGR3_IP} 10.6.6.8
11${out_of_range_ip} 10.6.6.256
12${alpha_ip} xx.xx.xx.xx
Prashanth Katti2320c0d2021-10-12 07:31:27 -050013${less_octet_ip} 10.5.5
Prashanth Katti081b3d92018-06-15 05:13:11 -050014
15# Valid and invalid IP and ports. Valid port range is 0-65535.
16# Default port is 162.
17${SNMP_DEFAULT_PORT} ${162}
18${NON_DEFAULT_PORT1} ${186}
19${NON_DEFAULT_PORT2} ${196}
20${out_of_range_port} ${65536}
21# non numeric value
22${alpha_port} ab
23${negative_port} ${-12}
24${empty_port} ${EMPTY}
Naman Navin Hegdebf181332019-06-26 02:08:18 -050025
26# User Name Password
27${SNMP_MGR1_USERNAME} ${EMPTY}
28${SNMP_MGR1_PASSWORD} ${EMPTY}
29
30# SNMP Command
31${SNMP_TRAPD_CMD} snmptrapd -f -c
32... /usr/local/etc/snmp/snmptrapd.conf -Lo
33${SNMP_TRAP_BMC_ERROR} example.xyz.openbmc_project.Example.Elog.AutoTestSimple