<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def getEthernetStatistic(self, lanInterfaceId=1, timeout=1):
 """Execute GetStatistics action to get statistics of the Ethernet interface. :param int lanInterfaceId: the id of the LAN interface :param float timeout: the timeout to wait for the action to be executed :return: statisticss of the Ethernet interface. :rtype: EthernetStatistic """

        namespace = Lan.getServiceType("getEthernetStatistic") + str(lanInterfaceId)
        uri = self.getControlURL(namespace)

        results = self.execute(uri, namespace, "GetStatistics", timeout=timeout)

        return EthernetStatistic(results)