class BgpPeerConfigurationAnswerer extends Answerer {

  @VisibleForTesting
  static SelfDescribingObject getRemoteIp(@Nonnull BgpPeerConfig peer) {
    if (peer instanceof BgpActivePeerConfig) {
      return new SelfDescribingObject(Schema.IP, ((BgpActivePeerConfig) peer).getPeerAddress());
    }
    if (peer instanceof BgpPassivePeerConfig) {
      return new SelfDescribingObject(Schema.PREFIX, ((BgpPassivePeerConfig) peer).getPeerPrefix());
    }
    throw new IllegalArgumentException(
        String.format("Peer is neither Active nor Passive: %s", peer));
  }

  public  BgpPeerConfigurationAnswerer(Question question, IBatfish batfish);

}