private static SortedSet<IsisEdge> getIsisEdges( Map<String, Configuration> configs, Topology topology) { Network<IsisNode, IsisEdge> isisTopology = IsisTopology.initIsisTopology(configs, topology); return isisTopology.edges().stream() .filter(Objects::nonNull) .collect(ImmutableSortedSet.toImmutableSortedSet(Comparator.naturalOrder())); }
case ISIS: Network<IsisNode, IsisEdge> isisTopology = IsisTopology.initIsisTopology(configurations, topology); return getIsisEdges(includeNodes, includeRemoteNodes, isisTopology); case OSPF:
EigrpTopology.initEigrpTopology(configurations, topology); Network<IsisNode, IsisEdge> isisTopology = IsisTopology.initIsisTopology(configurations, topology);