Prashanth Katti | 391000c | 2021-06-11 04:09:21 -0500 | [diff] [blame] | 1 | *** Settings *** |
| 2 | Documentation This testing requires special setup where SNMP trapd is |
| 3 | ... configured and installed. For download, installation and |
| 4 | ... configuration refer http://www.net-snmp.org/. |
| 5 | |
| 6 | |
| 7 | Resource ../../lib/snmp/resource.robot |
| 8 | Resource ../../lib/snmp/redfish_snmp_utils.robot |
| 9 | Resource ../../lib/bmc_redfish_resource.robot |
| 10 | Resource ../../lib/openbmc_ffdc.robot |
| 11 | Resource ../../lib/bmc_redfish_resource.robot |
| 12 | Resource ../../lib/openbmc_ffdc.robot |
| 13 | Resource ../../lib/logging_utils.robot |
| 14 | |
| 15 | |
| 16 | Test Teardown FFDC On Test Case Fail |
| 17 | Suite Setup Suite Setup Execution |
| 18 | |
| 19 | *** Variables *** |
| 20 | |
| 21 | ${snmp_function} SNMPTrap |
| 22 | ${snmp_version} SNMPv2c |
| 23 | ${subscription_uri} /redfish/v1/EventService/Subscriptions |
| 24 | |
| 25 | |
| 26 | *** Test Cases *** |
| 27 | |
| 28 | Configure SNMP Manager On BMC And Verify |
| 29 | [Documentation] Configure SNMP manager on BMC via Redfish and verify. |
| 30 | [Tags] Configure_SNMP_Manager_On_BMC_And_Verify |
Prashanth Katti | dd99a91 | 2021-06-14 09:12:02 -0500 | [diff] [blame^] | 31 | [Teardown] Delete SNMP Manager Via Redfish ${SNMP_MGR1_IP} ${SNMP_DEFAULT_PORT} |
Prashanth Katti | 391000c | 2021-06-11 04:09:21 -0500 | [diff] [blame] | 32 | |
| 33 | Configure SNMP Manager Via Redfish ${SNMP_MGR1_IP} ${SNMP_DEFAULT_PORT} ${HTTP_CREATED} |
| 34 | |
| 35 | Verify SNMP Manager Configured On BMC ${SNMP_MGR1_IP} ${SNMP_DEFAULT_PORT} |
| 36 | |
| 37 | |
| 38 | *** Keywords *** |
| 39 | |
| 40 | Suite Setup Execution |
| 41 | [Documentation] Do suite setup execution. |
| 42 | |
| 43 | Redfish.Login |
| 44 | |
| 45 | # Check for SNMP configurations. |
| 46 | Valid Value SNMP_MGR1_IP |
| 47 | Valid Value SNMP_DEFAULT_PORT |