blob: eadf82fc938f21a44beed9a17d01b8f761b57edc [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
Megha G N999964d2022-12-06 04:38:10 -060014${negative_ip} -10.6.6.6
15${empty_ip} ${EMPTY}
Prashanth Katti081b3d92018-06-15 05:13:11 -050016
17# Valid and invalid IP and ports. Valid port range is 0-65535.
18# Default port is 162.
19${SNMP_DEFAULT_PORT} ${162}
20${NON_DEFAULT_PORT1} ${186}
21${NON_DEFAULT_PORT2} ${196}
22${out_of_range_port} ${65536}
23# non numeric value
24${alpha_port} ab
25${negative_port} ${-12}
26${empty_port} ${EMPTY}
Megha G N999964d2022-12-06 04:38:10 -060027${alphanumeric_port} abc123
Naman Navin Hegdebf181332019-06-26 02:08:18 -050028
29# User Name Password
30${SNMP_MGR1_USERNAME} ${EMPTY}
31${SNMP_MGR1_PASSWORD} ${EMPTY}
32
33# SNMP Command
34${SNMP_TRAPD_CMD} snmptrapd -f -c
35... /usr/local/etc/snmp/snmptrapd.conf -Lo
36${SNMP_TRAP_BMC_ERROR} example.xyz.openbmc_project.Example.Elog.AutoTestSimple