import javax.inject.Singleton;
import org.opendaylight.infrautils.jobcoordinator.JobCoordinator;
import org.opendaylight.mdsal.binding.api.DataBroker;
-import org.opendaylight.netvirt.elan.cache.ConfigMcastCache;
import org.opendaylight.netvirt.elan.cache.ElanInstanceCache;
import org.opendaylight.netvirt.elan.cache.ElanInstanceDpnsCache;
import org.opendaylight.netvirt.elan.cache.ElanInterfaceCache;
+import org.opendaylight.netvirt.elan.internal.ElanGroupCache;
+import org.opendaylight.netvirt.elan.l2gw.listeners.ElanMacTableCache;
+import org.opendaylight.netvirt.elan.l2gw.listeners.HwvtepConfigNodeCache;
import org.opendaylight.netvirt.elan.utils.ElanClusterUtils;
+import org.opendaylight.netvirt.elan.utils.ElanItmUtils;
+import org.opendaylight.netvirt.elan.utils.ElanUtils;
import org.opendaylight.netvirt.elan.utils.Scheduler;
@Singleton
private final ElanInstanceCache elanInstanceCache;
private final ElanInstanceDpnsCache elanInstanceDpnsCache;
private final ElanInterfaceCache elanInterfaceCache;
- private final ConfigMcastCache configMcastCache;
+ private final ElanMacTableCache elanMacTableCache;
+ private final ElanGroupCache elanGroupCache;
+ private final HwvtepConfigNodeCache hwvtepConfigNodeCache;
+ private final ElanUtils elanUtils;
+ private final ElanItmUtils elanItmUtils;
@Inject
public ElanRefUtil(DataBroker dataBroker,
ElanClusterUtils elanClusterUtils,
+ ElanGroupCache elanGroupCache,
ElanInstanceCache elanInstanceCache,
ElanInstanceDpnsCache elanInstanceDpnsCache,
ElanInterfaceCache elanInterfaceCache,
- ConfigMcastCache configMcastCache,
+ ElanItmUtils elanItmUtils,
+ ElanMacTableCache elanMacTableCache,
+ ElanUtils elanUtils,
+ HwvtepConfigNodeCache hwvtepConfigNodeCache,
JobCoordinator jobCoordinator,
Scheduler scheduler) {
this.dataBroker = dataBroker;
this.elanClusterUtils = elanClusterUtils;
+ this.elanGroupCache = elanGroupCache;
this.elanInstanceCache = elanInstanceCache;
this.elanInstanceDpnsCache = elanInstanceDpnsCache;
this.elanInterfaceCache = elanInterfaceCache;
- this.configMcastCache = configMcastCache;
+ this.elanItmUtils = elanItmUtils;
+ this.elanMacTableCache = elanMacTableCache;
+ this.elanUtils = elanUtils;
+ this.hwvtepConfigNodeCache = hwvtepConfigNodeCache;
this.jobCoordinator = jobCoordinator;
this.scheduler = scheduler;
}
return elanClusterUtils;
}
+ public ElanGroupCache getElanGroupCache() {
+ return elanGroupCache;
+ }
+
public ElanInstanceCache getElanInstanceCache() {
return elanInstanceCache;
}
return elanInterfaceCache;
}
+ public ElanItmUtils getElanItmUtils() {
+ return elanItmUtils;
+ }
+
+ public ElanMacTableCache getElanMacTableCache() {
+ return elanMacTableCache;
+ }
+
+ public ElanUtils getElanUtils() {
+ return elanUtils;
+ }
+
+ public HwvtepConfigNodeCache getHwvtepConfigNodeCache() {
+ return hwvtepConfigNodeCache;
+ }
+
public JobCoordinator getJobCoordinator() {
return jobCoordinator;
}
public Scheduler getScheduler() {
return scheduler;
}
-
- public ConfigMcastCache getConfigMcastCache() {
- return configMcastCache;
- }
}
\ No newline at end of file