Tabnine Logo
EigrpInterface.getInterface
Code IndexAdd Tabnine to your IDE (free)

How to use
getInterface
method
in
org.batfish.datamodel.eigrp.EigrpInterface

Best Java code snippets using org.batfish.datamodel.eigrp.EigrpInterface.getInterface (Showing top 4 results out of 315)

origin: batfish/batfish

 public @Nonnull EigrpInterfaceSettings getInterfaceSettings(@Nonnull NetworkConfigurations nc) {
  return requireNonNull(getInterface(nc).getEigrp());
 }
}
origin: batfish/batfish

/**
 * Propagate EIGRP internal routes from every valid EIGRP neighbors
 *
 * @param nodes mapping of node names to instances.
 * @param topology network topology
 * @param nc All network configurations
 * @return true if new routes have been added to the staging RIB
 */
boolean propagateInternalRoutes(
  Map<String, Node> nodes,
  Network<EigrpInterface, EigrpEdge> topology,
  NetworkConfigurations nc) {
 return _interfaces.stream()
   .filter(topology.nodes()::contains)
   .flatMap(n -> topology.inEdges(n).stream())
   .map(
     edge ->
       propagateInternalRoutesFromNeighbor(
         nodes.get(edge.getNode1().getHostname()),
         edge.getNode2().getInterfaceSettings(nc).getMetric(),
         edge.getNode1().getInterface(nc)))
   .reduce(false, (a, b) -> a || b);
}
origin: batfish/batfish

@Nonnull
public IpEdge toIpEdge(NetworkConfigurations nc) {
 return new IpEdge(
   _node1.getHostname(),
   _node1.getInterface(nc).getAddress().getIp(),
   _node2.getHostname(),
   _node2.getInterface(nc).getAddress().getIp());
}
origin: batfish/batfish

Interface nextHopIntf = edge.getNode1().getInterface(nc);
Interface connectingIntf = edge.getNode2().getInterface(nc);
org.batfish.datamodel.eigrpEigrpInterfacegetInterface

Popular methods of EigrpInterface

  • <init>
  • getHostname
  • equals
  • getInterfaceName
  • getInterfaceSettings
  • getVrf

Popular in Java

  • Creating JSON documents from java classes using gson
  • scheduleAtFixedRate (Timer)
  • getResourceAsStream (ClassLoader)
  • compareTo (BigDecimal)
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • Top 17 PhpStorm Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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