class LocalRoute extends AbstractRoute {

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    } else if (!(o instanceof LocalRoute)) {
      return false;
    }
    LocalRoute rhs = (LocalRoute) o;
    return _network.equals(rhs._network)
        && _admin == rhs._admin
        && getNonRouting() == rhs.getNonRouting()
        && getNonForwarding() == rhs.getNonForwarding()
        && _nextHopInterface.equals(rhs._nextHopInterface)
        && _sourcePrefixLength == rhs._sourcePrefixLength
        && _tag == rhs._tag;
  }

  public  LocalRoute(ConcreteInterfaceAddress interfaceAddress, String nextHopInterface);
  @VisibleForTesting  LocalRoute(Prefix network, String nextHopInterface, int sourcePrefixLength, int admin, long tag);

}