@Override protected String featureValueOf(AbstractRoute actual) { return actual.getNextHopInterface(); } }
@Override public String toString() { return this.getClass().getSimpleName() + "<" + _network + ",nhip:" + getNextHopIp() + ",nhint:" + getNextHopInterface() + ">"; }
String nextHopInterface = route.getNextHopInterface(); if (!Route.UNSET_NEXT_HOP_INTERFACE.equals(nextHopInterface)) { Ip finalNextHopIp =
nextHopIp = ((BgpActivePeerConfig) toNeighbor).getPeerAddress(); } else { String nextHopInterface = route.getNextHopInterface(); InterfaceAddress nextHopAddress = fromVrf.getInterfaces().get(nextHopInterface).getAddress();