Tabnine Logo
org.batfish.datamodel.ospf
Code IndexAdd Tabnine to your IDE (free)

How to use org.batfish.datamodel.ospf

Best Java code snippets using org.batfish.datamodel.ospf (Showing top 20 results out of 315)

origin: batfish/batfish

/** Return an OSPF builder. Pre-defines required fields (e.g., reference bandwidth) */
public OspfProcess.Builder ospfProcessBuilder() {
 return OspfProcess.builder(this).setReferenceBandwidth(1e8);
}
origin: batfish/batfish

private void initRemoteOspfNeighbors(
  Map<String, Configuration> configurations, Topology topology) {
 if (!_remoteOspfNeighborsInitialized) {
  OspfTopologyUtils.initRemoteOspfNeighbors(configurations, topology);
  _remoteOspfNeighborsInitialized = true;
 }
}
origin: batfish/batfish

@Override
public int hashCode() {
 final int prime = 31;
 int result = 1;
 result = prime * result + ((_metricType == null) ? 0 : _metricType.ordinal());
 return result;
}
origin: batfish/batfish

 @Override
 protected Map<IpLink, OspfNeighbor> featureValueOf(OspfProcess actual) {
  return actual.getOspfNeighbors();
 }
}
origin: batfish/batfish

 @Override
 protected Set<String> featureValueOf(OspfArea actual) {
  return actual.getInterfaces();
 }
}
origin: batfish/batfish

 @Override
 protected Map<Long, OspfArea> featureValueOf(OspfProcess actual) {
  return actual.getAreas();
 }
}
origin: batfish/batfish

 @Override
 protected Double featureValueOf(OspfProcess actual) {
  return actual.getReferenceBandwidth();
 }
}
origin: batfish/batfish

 @Override
 protected Boolean featureValueOf(NssaSettings actual) {
  return actual.getSuppressType3();
 }
}
origin: batfish/batfish

 @Override
 protected Ip featureValueOf(OspfProcess actual) {
  return actual.getRouterId();
 }
}
origin: batfish/batfish

 @Override
 protected OspfDefaultOriginateType featureValueOf(NssaSettings actual) {
  return actual.getDefaultOriginateType();
 }
}
origin: batfish/batfish

 @Override
 protected OspfNeighbor featureValueOf(OspfNeighbor actual) {
  return actual.getRemoteOspfNeighbor();
 }
}
origin: batfish/batfish

 @Override
 protected Integer featureValueOf(OspfArea actual) {
  return actual.getMetricOfDefaultRoute();
 }
}
origin: batfish/batfish

 @Override
 protected Long featureValueOf(OspfAreaSummary actual) {
  return actual.getMetric();
 }
}
origin: batfish/batfish

 @Override
 protected Boolean featureValueOf(OspfAreaSummary arg0) {
  return arg0.getAdvertised();
 }
}
origin: batfish/batfish

 @Override
 protected Boolean featureValueOf(OspfArea actual) {
  return actual.getInjectDefaultRoute();
 }
}
origin: batfish/batfish

 @Override
 protected StubType featureValueOf(OspfArea actual) {
  return actual.getStubType();
 }
}
origin: batfish/batfish

 @Override
 protected Boolean featureValueOf(StubSettings actual) {
  return actual.getSuppressType3();
 }
}
origin: batfish/batfish

 @Override
 protected NssaSettings featureValueOf(OspfArea actual) {
  return actual.getNssa();
 }
}
origin: batfish/batfish

 @Override
 protected StubSettings featureValueOf(OspfArea actual) {
  return actual.getStub();
 }
}
origin: batfish/batfish

@Override
public boolean equals(Object o) {
 if (this == o) {
  return true;
 }
 if (!(o instanceof OspfEdge)) {
  return false;
 }
 OspfEdge rhs = (OspfEdge) o;
 return _node1.equals(rhs._node1) && _node2.equals(rhs._node2);
}
org.batfish.datamodel.ospf

Most used classes

  • OspfProcess
    An OSPF routing process
  • OspfArea$Builder
    A builder for OspfArea
  • OspfArea
    Represents an OSPF area configuration
  • OspfProcess$Builder
    Builder for OspfProcess
  • NssaSettings
    OSPF Area settings specific to a not-so-stubby stub area
  • OspfNeighbor,
  • OspfNode,
  • StubSettings,
  • NssaSettings$Builder,
  • OspfAreaSummary,
  • OspfMetricType,
  • OspfTopologyUtils,
  • StubSettings$Builder
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