Tabnine Logo
AbstractRoute.getNextHopInterface
Code IndexAdd Tabnine to your IDE (free)

How to use
getNextHopInterface
method
in
org.batfish.datamodel.AbstractRoute

Best Java code snippets using org.batfish.datamodel.AbstractRoute.getNextHopInterface (Showing top 4 results out of 315)

origin: batfish/batfish

 @Override
 protected String featureValueOf(AbstractRoute actual) {
  return actual.getNextHopInterface();
 }
}
origin: batfish/batfish

@Override
public String toString() {
 return this.getClass().getSimpleName()
   + "<"
   + _network
   + ",nhip:"
   + getNextHopIp()
   + ",nhint:"
   + getNextHopInterface()
   + ">";
}
origin: batfish/batfish

String nextHopInterface = route.getNextHopInterface();
if (!Route.UNSET_NEXT_HOP_INTERFACE.equals(nextHopInterface)) {
 Ip finalNextHopIp =
origin: batfish/batfish

 nextHopIp = ((BgpActivePeerConfig) toNeighbor).getPeerAddress();
} else {
 String nextHopInterface = route.getNextHopInterface();
 InterfaceAddress nextHopAddress =
   fromVrf.getInterfaces().get(nextHopInterface).getAddress();
org.batfish.datamodelAbstractRoutegetNextHopInterface

Javadoc

Name of the next-hop interface for this route. If not known, Route#UNSET_NEXT_HOP_INTERFACE must be returned.

Popular methods of AbstractRoute

  • getMetric
  • getNetwork
    IPV4 network of this route
  • getNextHopIp
    Next hop IP for this route. If not known, Route#UNSET_ROUTE_NEXT_HOP_IP must be returned.
  • getProtocol
  • getNonForwarding
    Returns true if this route is non-forwarding, i.e., it can be installed in the main RIB but not the
  • getTag
    Return the route's tag or #NO_TAG if no tag is present
  • getAdministrativeCost
  • getNonRouting
    Check if this route is "non-routing", i.e., should not be installed in the main RIB.
  • toBuilder
    Return a AbstractRouteBuilder pre-populated with the values for this route.

Popular in Java

  • Running tasks concurrently on multiple threads
  • requestLocationUpdates (LocationManager)
  • getExternalFilesDir (Context)
  • onRequestPermissionsResult (Fragment)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • JOptionPane (javax.swing)
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now