@Test public void testBuildVxlanNode() { Layer2Vni vniSettings = testBuilder() .setSourceAddress(SRC_IP1) .setVlan(VLAN1) .setVni(VNI) .setBumTransportMethod(BumTransportMethod.MULTICAST_GROUP) .build(); assertThat( buildVxlanNode(new VrfId(_c1.getHostname(), _v1.getName()), vniSettings), equalTo(VxlanNode.builder().setHostname(NODE1).setVni(VNI).build())); }
@VisibleForTesting static VxlanNode buildVxlanNode(VrfId vrf, Layer2Vni vniSettings) { return VxlanNode.builder().setHostname(vrf._hostname).setVni(vniSettings.getVni()).build(); }
VxlanTopologyUtils { @VisibleForTesting static VxlanNode buildVxlanNode(VrfId vrf, Layer2Vni vniSettings) { return VxlanNode.builder().setHostname(vrf._hostname).setVni(vniSettings.getVni()).build(); } }
VxlanTopologyUtils { @VisibleForTesting static VxlanNode buildVxlanNode(VrfId vrf, Layer2Vni vniSettings) { return VxlanNode.builder().setHostname(vrf._hostname).setVni(vniSettings.getVni()).build(); } private  VxlanTopologyUtils(); }
VxlanTopologyUtils { @VisibleForTesting static VxlanNode buildVxlanNode(VrfId vrf, Layer2Vni vniSettings) { return VxlanNode.builder().setHostname(vrf._hostname).setVni(vniSettings.getVni()).build(); } private  VxlanTopologyUtils(); static @Nonnull VxlanTopology computeVxlanTopology(
      Map<String, Configuration> configurations); static @Nonnull VxlanTopology computeVxlanTopology(
      Table<String, String, ? extends Collection<Layer2Vni>> allVniSettings); static @Nonnull VxlanTopology prunedVxlanTopology(
      VxlanTopology initialVxlanTopology,
      Map<String, Configuration> configurations,
      TracerouteEngine tracerouteEngine); }
VxlanTopologyUtils { @VisibleForTesting static VxlanNode buildVxlanNode(VrfId vrf, Layer2Vni vniSettings) { return VxlanNode.builder().setHostname(vrf._hostname).setVni(vniSettings.getVni()).build(); } private  VxlanTopologyUtils(); static @Nonnull VxlanTopology computeVxlanTopology(
      Map<String, Configuration> configurations); static @Nonnull VxlanTopology computeVxlanTopology(
      Table<String, String, ? extends Collection<Layer2Vni>> allVniSettings); static @Nonnull VxlanTopology prunedVxlanTopology(
      VxlanTopology initialVxlanTopology,
      Map<String, Configuration> configurations,
      TracerouteEngine tracerouteEngine);  }