Clear all statistic counters (port, streams and packet groups) on list of ports.

        :param ports: list of ports to clear.

def clear_all_stats(self, *ports):
        """ Clear all statistic counters (port, streams and packet groups) on list of ports.

        :param ports: list of ports to clear.
        """

        port_list = self.set_ports_list(*ports)
        self.api.call_rc('ixClearStats {}'.format(port_list))
        self.api.call_rc('ixClearPacketGroups {}'.format(port_list))