class Mlag implements Serializable {

  @Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (!(o instanceof Mlag)) {
      return false;
    }
    Mlag mlag = (Mlag) o;
    return _id.equals(mlag._id)
        && Objects.equals(_peerAddress, mlag._peerAddress)
        && Objects.equals(_peerInterface, mlag._peerInterface)
        && Objects.equals(_localInterface, mlag._localInterface);
  }

  private  Mlag(
      String id,
      @Nullable Ip peerAddress,
      @Nullable String peerInterface,
      @Nullable String localInterface);

}