7 lines
263 B
Python
7 lines
263 B
Python
import redfish
|
|
|
|
def get_server_info(ip, username, password):
|
|
redfish_obj = redfish.LegacyRestClient(ip, username, password)
|
|
response = rest_obj.post('/redfish/v1/Managers/1/SnmpService/Actions/SnmpService.SendSNMPTestAlert/', body={})
|
|
return response
|