class EdgesAnswerer extends Answerer {

  @VisibleForTesting
  static Row layer2EdgeToRow(Layer2Edge layer2Edge) {
    RowBuilder row = Row.builder();
    row.put(
            COL_INTERFACE,
            NodeInterfacePair.of(
                layer2Edge.getNode1().getHostname(), layer2Edge.getNode1().getInterfaceName()))
        .put(COL_VLAN, layer2Edge.getNode1().getSwitchportVlanId())
        .put(
            COL_REMOTE_INTERFACE,
            NodeInterfacePair.of(
                layer2Edge.getNode2().getHostname(), layer2Edge.getNode2().getInterfaceName()))
        .put(COL_REMOTE_VLAN, layer2Edge.getNode2().getSwitchportVlanId());

    return row.build();
  }

    EdgesAnswerer(Question question, IBatfish batfish);

}