Adding BC group update job.
[netvirt.git] / elanmanager / impl / src / main / java / org / opendaylight / netvirt / elan / cache / ElanInstanceDpnsCache.java
index 9a537e979925d0136c093add75fb1743e810b127..ad0c6b98174a1c0d71efc9dc2a28152562345fc5 100644 (file)
@@ -9,6 +9,7 @@ package org.opendaylight.netvirt.elan.cache;
 
 import java.util.Collection;
 import java.util.Collections;
+import java.util.Map;
 import java.util.Set;
 import java.util.concurrent.ConcurrentHashMap;
 import java.util.concurrent.ConcurrentMap;
@@ -42,4 +43,9 @@ public class ElanInstanceDpnsCache {
         Set<DpnInterfaces> dpns = elanInstanceToDpnsCache.get(elanInstanceName);
         return dpns != null ? Collections.unmodifiableCollection(dpns) : Collections.emptyList();
     }
+
+    @NonNull
+    public Map<String, Set<DpnInterfaces>> getElanDpns() {
+        return elanInstanceToDpnsCache;
+    }
 }