blob: 26912c5315dd2fc0148d01e7c28e9b6afb1450b3 [file] [log] [blame]
Prashanth Katti081b3d92018-06-15 05:13:11 -05001*** Settings ***
2Documentation This testing require special setup where SNMP trapd is
3... configured and installed. For download, installation and
4... configuration refer http://www.net-snmp.org/.
5
6Resource ../lib/snmp/resource.txt
7Resource ../lib/snmp/snmp_utils.robot
8
9Library String
10Library SSHLibrary
11
12*** Test Cases ***
13Configure SNMP Manager On BMC And Verify
14 [Documentation] Configure SNMP Manager On BMC And Verify.
15 [Tags] Configure_SNMP_Manager_On_BMC_And_Verify
16
17 Configure SNMP Manager On BMC ${SNMP_MGR1_IP} ${SNMP_DEFAULT_PORT} Valid
18 Verify SNMP Manager ${SNMP_MGR1_IP} ${SNMP_DEFAULT_PORT}
19
20 Delete SNMP Manager And Object ${SNMP_MGR1_IP} ${SNMP_DEFAULT_PORT}
21
22Configure SNMP Manager On BMC With Non-default Port And Verify
23 [Documentation] Configure SNMP Manager On BMC And Verify.
24 [Tags] Configure_SNMP_Manager_On_BMC_With_Non_Default_Port_And_Verify
25
26 Configure SNMP Manager On BMC ${SNMP_MGR1_IP} ${NON_DEFAULT_PORT1} Valid
27 Verify SNMP Manager ${SNMP_MGR1_IP} ${NON_DEFAULT_PORT1}
28
29 Delete SNMP Manager And Object ${SNMP_MGR1_IP} ${NON_DEFAULT_PORT1}
30
31Configure SNMP Manager On BMC With Out Of Range Port And Verify
32 # SNMP manager IP Port Scenario
33 ${SNMP_MGR1_IP} ${out_of_range_port} error
34 [Documentation] Configure SNMP Manager On BMC with out-of range port and verify.
35 [Tags] Configure_SNMP_Manager_On_BMC_With_Out_Of_Range_Port_And_Verify
36
37 [Template] Configure SNMP Manager On BMC
38
39Configure SNMP Manager On BMC With Alpha Port And Verify
40 # SNMP manager IP Port Scenario
41 ${SNMP_MGR1_IP} ${alpha_port} error
42 [Documentation] Configure SNMP Manager On BMC with alpha port and verify.
43 [Tags] Configure_SNMP_Manager_On_BMC_With_Alpha_Port_And_Verify
44
45 [Template] Configure SNMP Manager On BMC
46
47Configure SNMP Manager On BMC With Negative Port And Verify
48 # SNMP manager IP Port Scenario
49 ${SNMP_MGR1_IP} ${negative_port} error
50 [Documentation] Configure SNMP Manager On BMC with negative port and verify.
51 [Tags] Configure_SNMP_Manager_On_BMC_With_Negative_Port_And_Verify
52
53 [Template] Configure SNMP Manager On BMC
54
55Configure SNMP Manager On BMC With Empty Port And Verify
56 # SNMP manager IP Port Scenario
57 ${SNMP_MGR1_IP} ${empty_port} error
58 [Documentation] Configure SNMP Manager On BMC with empty port and verify.
59 [Tags] Configure_SNMP_Manager_On_BMC_With_Empty_Port_And_Verify
60
61 [Template] Configure SNMP Manager On BMC
62
63Configure SNMP Manager On BMC With Out Of Range IP And Verify
64 # SNMP manager IP Port Scenario
65 ${out_of_range_ip} ${SNMP_DEFAULT_PORT} error
66 [Documentation] Configure SNMP Manager On BMC with out-of range IP and verify.
67 [Tags] Configure_SNMP_Manager_On_BMC_With_Out_Of_Range_IP_And_Verify
68
69 [Template] Configure SNMP Manager On BMC
70
71Configure Multiple SNMP Managers And Verify
72 [Documentation] Configure multiple SNMP Managers And Verify.
73 [Tags] Configure_Multiple_SNMP_Managers_And_Verify
74
75 Configure SNMP Manager On BMC ${SNMP_MGR1_IP} ${SNMP_DEFAULT_PORT} Valid
76 Configure SNMP Manager On BMC ${SNMP_MGR2_IP} ${SNMP_DEFAULT_PORT} Valid
77 Verify SNMP Manager ${SNMP_MGR1_IP} ${SNMP_DEFAULT_PORT}
78 Verify SNMP Manager ${SNMP_MGR2_IP} ${SNMP_DEFAULT_PORT}
79
80 Delete SNMP Manager And Object ${SNMP_MGR1_IP} ${SNMP_DEFAULT_PORT}
81 Delete SNMP Manager And Object ${SNMP_MGR2_IP} ${SNMP_DEFAULT_PORT}
82
83Configure Multiple SNMP Managers With Non-default Port And Verify
84 [Documentation] Configure multiple SNMP Managers with non-default port And Verify.
85 [Tags] Configure_Multiple_SNMP_Managers_With_Non_Default_Port_And_Verify
86
87 Configure SNMP Manager On BMC ${SNMP_MGR1_IP} ${NON_DEFAULT_PORT1} Valid
88 Configure SNMP Manager On BMC ${SNMP_MGR2_IP} ${NON_DEFAULT_PORT1} Valid
89 Verify SNMP Manager ${SNMP_MGR1_IP} ${NON_DEFAULT_PORT1}
90 Verify SNMP Manager ${SNMP_MGR2_IP} ${NON_DEFAULT_PORT1}
91
92 Delete SNMP Manager And Object ${SNMP_MGR1_IP} ${NON_DEFAULT_PORT1}
93 Delete SNMP Manager And Object ${SNMP_MGR2_IP} ${NON_DEFAULT_PORT1}
94
95Configure Multiple SNMP Managers With Different Ports And Verify
96 [Documentation] Configure multiple SNMP Managers with different ports And Verify.
97 [Tags] Configure_Multiple_SNMP_Managers_With_Different_Ports_And_Verify
98
99 Configure SNMP Manager On BMC ${SNMP_MGR1_IP} ${SNMP_DEFAULT_PORT} Valid
100 Configure SNMP Manager On BMC ${SNMP_MGR2_IP} ${NON_DEFAULT_PORT1} Valid
101 Configure SNMP Manager On BMC ${SNMP_MGR3_IP} ${NON_DEFAULT_PORT2} Valid
102
103 Verify SNMP Manager ${SNMP_MGR1_IP} ${SNMP_DEFAULT_PORT}
104 Verify SNMP Manager ${SNMP_MGR2_IP} ${NON_DEFAULT_PORT1}
105 Verify SNMP Manager ${SNMP_MGR3_IP} ${NON_DEFAULT_PORT2}
106
107 Delete SNMP Manager And Object ${SNMP_MGR1_IP} ${SNMP_DEFAULT_PORT}
108 Delete SNMP Manager And Object ${SNMP_MGR2_IP} ${NON_DEFAULT_PORT1}
109 Delete SNMP Manager And Object ${SNMP_MGR3_IP} ${NON_DEFAULT_PORT2}
110