private void initRemoteOspfNeighbors( Map<String, Configuration> configurations, Topology topology) { if (!_remoteOspfNeighborsInitialized) { OspfTopologyUtils.initRemoteOspfNeighbors(configurations, topology); _remoteOspfNeighborsInitialized = true; } }
Topology topology) { Multiset<Row> rows = HashMultiset.create(); OspfTopologyUtils.initRemoteOspfNeighbors(configurations, topology); for (Configuration c : configurations.values()) { String hostname = c.getHostname();
OspfTopologyUtils.initRemoteOspfNeighbors(configurations, topology); for (Configuration co : configurations.values()) { String hostname = co.getHostname();
@Override public VIModelAnswerElement answer() { SortedMap<String, Configuration> configs = _batfish.loadConfigurations(); Topology topology = _batfish.getEnvironmentTopology(); Map<Ip, Set<String>> ipOwners = TopologyUtil.computeIpNodeOwners(configs, true); OspfTopologyUtils.initRemoteOspfNeighbors(configs, topology); _batfish.initRemoteRipNeighbors(configs, ipOwners, topology); return new VIModelAnswerElement( configs, getBgpEdges(configs, ipOwners), getEigrpEdges(configs, topology), getIsisEdges(configs, topology), _batfish.getLayer1Topology(), _batfish.getLayer2Topology(), getLayer3Edges(configs, topology), getOspfEdges(configs), getRipEdges(configs)); }
ImmutableMap.of(c1.getHostname(), c1, c2.getHostname(), c2); Topology topology = TopologyUtil.synthesizeL3Topology(configurations); OspfTopologyUtils.initRemoteOspfNeighbors(configurations, topology);