def set_ilo_ipv4_static(ip:, netmask:, gateway: '0.0.0.0', manager_id: 1, ethernet_interface: 1)
      new_action = {
        'Oem' => { 'Hp' => { 'DHCPv4' => { 'Enabled' => false } } },
        'IPv4Addresses' => [
          'Address' => ip, 'SubnetMask' => netmask, 'Gateway' => gateway
        ]
      }
      response = rest_patch("/redfish/v1/Managers/#{manager_id}/EthernetInterfaces/#{ethernet_interface}/", body: new_action)
      response_handler(response)
      true
    end
def set_ilo_ipv4_static(ip:, netmask:, gateway: '0.0.0.0', manager_id: 1, ethernet_interface: 1)
      new_action = {
        'Oem' => { 'Hp' => { 'DHCPv4' => { 'Enabled' => false } } },
        'IPv4Addresses' => [
          'Address' => ip, 'SubnetMask' => netmask, 'Gateway' => gateway
        ]
      }
      response = rest_patch("/redfish/v1/Managers/#{manager_id}/EthernetInterfaces/#{ethernet_interface}/", body: new_action)
      response_handler(response)
      true
    end
Set EthernetInterface to static IPv4 address
 @param ip [String] IPv4 address
 @param netmask [String] IPv4 subnet mask
 @param gateway [String] IPv4 default gateway
 @param manager_id [Integer, String] ID of the Manager
 @param ethernet_interface [Integer, String] ID of the EthernetInterface
 @raise [RuntimeError] if the request failed
 @return true