class EdgesAnswerer extends Answerer {

  @VisibleForTesting
  static Row vxlanEdgeToRow(NetworkConfigurations nc, VxlanNode node, VxlanNode remoteNode) {
    Layer2Vni node1Settings = nc.getVniSettings(node.getHostname(), node.getVni()).get();
    Layer2Vni node2Settings =
        nc.getVniSettings(remoteNode.getHostname(), remoteNode.getVni()).get();
    RowBuilder row = Row.builder();
    row.put(COL_VNI, node.getVni())
        .put(COL_NODE, new Node(node.getHostname()))
        .put(COL_REMOTE_NODE, new Node(remoteNode.getHostname()))
        .put(COL_VTEP_ADDRESS, node1Settings.getSourceAddress())
        .put(COL_REMOTE_VTEP_ADDRESS, node2Settings.getSourceAddress())
        .put(COL_VLAN, node1Settings.getVlan())
        .put(COL_REMOTE_VLAN, node2Settings.getVlan())
        .put(COL_UDP_PORT, node1Settings.getUdpPort())
        .put(COL_MULTICAST_GROUP, node1Settings.getMulticastGroup());
    return row.build();
  }

    EdgesAnswerer(Question question, IBatfish batfish);

}