@Override public long getL2DomainId(long switchId, boolean tunnelEnabled) { TopologyInstanceKHopMetric ti = getCurrentInstance(tunnelEnabled); return ti.getL2DomainId(switchId); }