Lines Matching full:snmp

2 Documentation  This testing requires special setup where SNMP trapd is
4 ... configuration refer http://www.net-snmp.org/.
7 Resource ../../lib/snmp/resource.robot
8 Resource ../../lib/snmp/redfish_snmp_utils.robot
22 Configure SNMP Manager On BMC And Verify
23 [Documentation] Configure SNMP manager on BMC via Redfish and verify.
25 [Teardown] Delete SNMP Manager Via Redfish ${SNMP_MGR1_IP} ${SNMP_DEFAULT_PORT}
27 Configure SNMP Manager Via Redfish ${SNMP_MGR1_IP} ${SNMP_DEFAULT_PORT} ${HTTP_CREATED}
29 Verify SNMP Manager Configured On BMC ${SNMP_MGR1_IP} ${SNMP_DEFAULT_PORT}
32 Configure SNMP Manager On BMC With Non Default Port And Verify
33 [Documentation] Configure SNMP Manager On BMC And Verify.
35 [Teardown] Delete SNMP Manager Via Redfish ${SNMP_MGR1_IP} ${NON_DEFAULT_PORT1}
37 Configure SNMP Manager Via Redfish ${SNMP_MGR1_IP} ${NON_DEFAULT_PORT1} ${HTTP_CREATED}
39 Verify SNMP Manager Configured On BMC ${SNMP_MGR1_IP} ${NON_DEFAULT_PORT1}
42 Configure SNMP Manager On BMC With Out Of Range Port And Verify
43 [Documentation] Configure SNMP Manager On BMC with out-of range port and verify.
45 [Teardown] Delete SNMP Manager Via Redfish ${SNMP_MGR1_IP} ${out_of_range_port}
47 Configure SNMP Manager Via Redfish ${SNMP_MGR1_IP} ${out_of_range_port} ${HTTP_BAD_REQUEST}
50 ... Verify SNMP Manager Configured On BMC ${SNMP_MGR1_IP} ${out_of_range_port}
56 Generate Error On BMC And Verify SNMP Trap
73 Configure SNMP Manager On BMC With Alpha Port And Verify
74 [Documentation] Configure SNMP Manager On BMC with alpha port and verify.
76 [Teardown] Delete SNMP Manager Via Redfish ${SNMP_MGR1_IP} ${alpha_port}
78 Configure SNMP Manager Via Redfish ${SNMP_MGR1_IP} ${alpha_port} ${HTTP_BAD_REQUEST}
81 ... Verify SNMP Manager Configured On BMC ${SNMP_MGR1_IP} ${alpha_port}
87 Configure SNMP Manager On BMC With Empty Port And Verify
88 [Documentation] Configure SNMP Manager On BMC with empty port and verify
89 ... SNMP manager gets configured with default port.
91 [Teardown] Delete SNMP Manager Via Redfish ${SNMP_MGR1_IP} ${SNMP_DEFAULT_PORT}
93 Configure SNMP Manager Via Redfish ${SNMP_MGR1_IP} ${empty_port}
95 Verify SNMP Manager Configured On BMC ${SNMP_MGR1_IP} ${SNMP_DEFAULT_PORT}
98 Configure Multiple SNMP Managers And Verify
99 [Documentation] Configure multiple SNMP managers and verify.
102 ... Delete SNMP Manager Via Redfish ${SNMP_MGR1_IP} ${SNMP_DEFAULT_PORT}
104 ... Delete SNMP Manager Via Redfish ${SNMP_MGR2_IP} ${SNMP_DEFAULT_PORT}
106 Configure SNMP Manager Via Redfish ${SNMP_MGR1_IP} ${SNMP_DEFAULT_PORT}
107 Configure SNMP Manager Via Redfish ${SNMP_MGR2_IP} ${SNMP_DEFAULT_PORT}
108 Verify SNMP Manager Configured On BMC ${SNMP_MGR1_IP} ${SNMP_DEFAULT_PORT}
109 Verify SNMP Manager Configured On BMC ${SNMP_MGR2_IP} ${SNMP_DEFAULT_PORT}
112 Generate Error On BMC And Verify SNMP Trap Is Sent To Non Default Port
129 Verify SNMP SysUpTime
130 [Documentation] Verify SNMP SysUpTime.
136 Verify SNMP SysUpTime On BMC Reboot
137 [Documentation] Verify SNMP SysUpTime on BMC reboot.
146 Should Be True ${uptime} <= 1 msg=SNMP SysUpTime is not reset on reboot
149 Configure Multiple SNMP Managers With Non Default Port And Verify
150 [Documentation] Configure multiple SNMP Managers with non-default port And Verify.
153 ... Delete SNMP Manager Via Redfish ${SNMP_MGR1_IP} ${NON_DEFAULT_PORT1}
155 ... Delete SNMP Manager Via Redfish ${SNMP_MGR2_IP} ${NON_DEFAULT_PORT1}
157 # Configure multiple SNMP managers with non-default port.
158 Configure SNMP Manager Via Redfish ${SNMP_MGR1_IP} ${NON_DEFAULT_PORT1}
159 Configure SNMP Manager Via Redfish ${SNMP_MGR2_IP} ${NON_DEFAULT_PORT1}
161 # Verify if SNMP managers are configured.
162 Verify SNMP Manager Configured On BMC ${SNMP_MGR1_IP} ${NON_DEFAULT_PORT1}
163 Verify SNMP Manager Configured On BMC ${SNMP_MGR2_IP} ${NON_DEFAULT_PORT1}
166 Configure Multiple SNMP Managers With Different Ports And Verify
167 [Documentation] Configure multiple SNMP Managers with different ports And Verify.
170 ... Delete SNMP Manager Via Redfish ${SNMP_MGR1_IP} ${SNMP_DEFAULT_PORT}
172 ... Delete SNMP Manager Via Redfish ${SNMP_MGR2_IP} ${NON_DEFAULT_PORT1}
174 ... Delete SNMP Manager Via Redfish ${SNMP_MGR3_IP} ${NON_DEFAULT_PORT2}
176 # Configure multiple SNMP managers with different ports.
177 Configure SNMP Manager Via Redfish ${SNMP_MGR1_IP} ${SNMP_DEFAULT_PORT}
178 Configure SNMP Manager Via Redfish ${SNMP_MGR2_IP} ${NON_DEFAULT_PORT1}
179 Configure SNMP Manager Via Redfish ${SNMP_MGR3_IP} ${NON_DEFAULT_PORT2}
181 # Verify if SNMP managers are configured.
182 Verify SNMP Manager Configured On BMC ${SNMP_MGR1_IP} ${SNMP_DEFAULT_PORT}
183 Verify SNMP Manager Configured On BMC ${SNMP_MGR2_IP} ${NON_DEFAULT_PORT1}
184 Verify SNMP Manager Configured On BMC ${SNMP_MGR3_IP} ${NON_DEFAULT_PORT2}
187 Configure SNMP Manager With Out Of Range IP On BMC And Verify
188 [Documentation] Configure SNMP Manager On BMC with out-of range IP and expect an error.
190 [Teardown] Delete SNMP Manager Via Redfish ${out_of_range_ip} ${SNMP_DEFAULT_PORT}
192 … Configure SNMP Manager Via Redfish ${out_of_range_ip} ${SNMP_DEFAULT_PORT} ${HTTP_BAD_REQUEST}
195 ... Verify SNMP Manager Configured On BMC ${out_of_range_ip} ${SNMP_DEFAULT_PORT}
201 Verify Persistency Of SNMP Manager And Trap On BMC Reboot
202 [Documentation] Verify persistency of SNMP manager configuration on BMC
205 [Teardown] Delete SNMP Manager Via Redfish ${SNMP_MGR1_IP} ${SNMP_DEFAULT_PORT}
207 Configure SNMP Manager Via Redfish ${SNMP_MGR1_IP} ${SNMP_DEFAULT_PORT} ${HTTP_CREATED}
209 # Reboot BMC and check persistency SNMP manager.
212 Verify SNMP Manager Configured On BMC ${SNMP_MGR1_IP} ${SNMP_DEFAULT_PORT}
214 # Check if trap is generated and sent to SNMP manager after reboot.
219 Configure SNMP Manager With Less Octet IP And Verify
220 [Documentation] Configure SNMP manager on BMC with less octet IP and expect an error.
222 [Teardown] Delete SNMP Manager Via Redfish ${less_octet_ip} ${SNMP_DEFAULT_PORT}
224 Configure SNMP Manager Via Redfish ${less_octet_ip} ${SNMP_DEFAULT_PORT} ${HTTP_BAD_REQUEST}
227 ... Verify SNMP Manager Configured On BMC ${less_octet_ip} ${SNMP_DEFAULT_PORT}
233 Configure SNMP Manager On BMC With Negative Port And Verify
234 [Documentation] Configure SNMP Manager On BMC with negative port and verify.
237 [Teardown] Delete SNMP Manager Via Redfish ${SNMP_MGR1_IP} ${negative_port}
239 Configure SNMP Manager Via Redfish ${SNMP_MGR1_IP} ${negative_port} ${HTTP_BAD_REQUEST}
242 ... Verify SNMP Manager Configured On BMC ${SNMP_MGR1_IP} ${negative_port}
248 Configure Multiple SNMP Managers On BMC And Verify Persistency On BMC Reboot
249 [Documentation] Configure multiple SNMP Managers on BMC and verify persistency on BMC reboot.
252 ... Delete SNMP Manager Via Redfish ${SNMP_MGR1_IP} ${SNMP_DEFAULT_PORT}
254 ... Delete SNMP Manager Via Redfish ${SNMP_MGR2_IP} ${SNMP_DEFAULT_PORT}
256 Configure SNMP Manager Via Redfish ${SNMP_MGR1_IP} ${SNMP_DEFAULT_PORT}
257 Configure SNMP Manager Via Redfish ${SNMP_MGR2_IP} ${SNMP_DEFAULT_PORT}
259 # Reboot BMC and check persistency SNMP manager.
262 Verify SNMP Manager Configured On BMC ${SNMP_MGR1_IP} ${SNMP_DEFAULT_PORT}
263 Verify SNMP Manager Configured On BMC ${SNMP_MGR2_IP} ${SNMP_DEFAULT_PORT}
266 Configure Multiple SNMP Managers On BMC And Check Trap On BMC Reboot
267 [Documentation] Configure multiple SNMP Managers on BMC and check trap on BMC reboot.
270 ... Delete SNMP Manager Via Redfish ${SNMP_MGR1_IP} ${SNMP_DEFAULT_PORT}
272 ... Delete SNMP Manager Via Redfish ${SNMP_MGR2_IP} ${SNMP_DEFAULT_PORT}
274 Configure SNMP Manager Via Redfish ${SNMP_MGR1_IP} ${SNMP_DEFAULT_PORT}
275 Configure SNMP Manager Via Redfish ${SNMP_MGR2_IP} ${SNMP_DEFAULT_PORT}
277 # Reboot BMC and check persistency SNMP manager.
280 Verify SNMP Manager Configured On BMC ${SNMP_MGR1_IP} ${SNMP_DEFAULT_PORT}
281 Verify SNMP Manager Configured On BMC ${SNMP_MGR2_IP} ${SNMP_DEFAULT_PORT}
283 # Check if trap is generated and sent to SNMP managers after reboot.
295 # Check for SNMP configurations.
321 # Extract System up time from SNMP trap.
322 # Example - SNMP trap:
335 # SNMP SysUptime will be in milli seconds.