コード例 #1
0
 /**
  * Get all the ports on the target switch (targetSw) on which a broadcast packet must be sent from
  * a host whose attachment point is on switch port (src, srcPort).
  */
 public Set<Short> getBroadcastPorts(
     long targetSw, long src, short srcPort, boolean tunnelEnabled) {
   TopologyInstanceKHopMetric ti = getCurrentInstance(tunnelEnabled);
   return ti.getBroadcastPorts(targetSw, src, srcPort);
 }