code: def configure_network(ip, netmask, gateway):
      '''
      Configure Network Interface
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' ilo.configure_network [IP ADDRESS] [NETMASK] [GATEWAY]
      '''
      current = network()
  
      # Check to see if the network is already configured
      if (ip in current['Network Settings']['IP_ADDRESS']['VALUE'] and
              netmask in current['Network Settings']['SUBNET_MASK']['VALUE'] and
              gateway in current['Network Settings']['GATEWAY_IP_ADDRESS']['VALUE']):
          return True
  
      _xml = .format(ip, netmask, gateway)
  
      return __execute_cmd('Configure_Network', _xml)
docs: Configure Network Interface
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' ilo.configure_network [IP ADDRESS] [NETMASK] [GATEWAY]