class MlagPropertiesAnswerer extends Answerer {

  @VisibleForTesting
  @Nonnull
  static Row configToRow(String hostname, Mlag mlag) {
    return Row.builder(getMetadata().toColumnMap())
        .put(COL_NODE, new Node(hostname))
        .put(COL_MLAG_ID, mlag.getId())
        .put(COL_MLAG_PEER_ADDRESS, mlag.getPeerAddress())
        .put(
            COL_MLAG_PEER_INTERFACE,
            mlag.getPeerInterface() != null
                ? NodeInterfacePair.of(hostname, mlag.getPeerInterface())
                : null)
        .put(
            COL_MLAG_LOCAL_INTERFACE,
            mlag.getLocalInterface() != null
                ? NodeInterfacePair.of(hostname, mlag.getLocalInterface())
                : null)
        .build();
  }

    MlagPropertiesAnswerer(Question question, IBatfish batfish);

}