class OspfNeighborConfig implements Serializable {

  @Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (!(o instanceof OspfNeighborConfig)) {
      return false;
    }
    OspfNeighborConfig other = (OspfNeighborConfig) o;
    return _area == other._area
        && _isPassive == other._isPassive
        && Objects.equals(_interfaceName, other._interfaceName)
        && Objects.equals(_ip, other._ip)
        && Objects.equals(_hostname, other._hostname)
        && Objects.equals(_vrfName, other._vrfName);
  }

  private  OspfNeighborConfig(
      long area, String interfaceName, boolean isPassive, String hostname, String vrfName, Ip ip);

}