def __eq__(self, other):
        return (isinstance(other, self.__class__) and
                other.package == self.package)
def __init__(self, test, rx_index, tx_index, nh_addr):
        self._test = test
        self._rx_index = rx_index
        self._tx_index = tx_index
        self._nh_addr = ip_address(nh_addr)