lishuai
Committed by Gerrit Code Review

[ONOS-4486] Register SegmentationId for l3vniMap.

Change-Id: Iaef1423925b050624207f2bed9a21f7a977710d2
...@@ -164,7 +164,7 @@ public class VtnRscManager extends AbstractListenerManager<VtnRscEvent, VtnRscLi ...@@ -164,7 +164,7 @@ public class VtnRscManager extends AbstractListenerManager<VtnRscEvent, VtnRscLi
164 164
165 KryoNamespace.Builder serializer = KryoNamespace.newBuilder() 165 KryoNamespace.Builder serializer = KryoNamespace.newBuilder()
166 .register(KryoNamespaces.API) 166 .register(KryoNamespaces.API)
167 - .register(TenantId.class, DeviceId.class); 167 + .register(TenantId.class, DeviceId.class, SegmentationId.class);
168 l3vniMap = storageService 168 l3vniMap = storageService
169 .<TenantId, SegmentationId>eventuallyConsistentMapBuilder() 169 .<TenantId, SegmentationId>eventuallyConsistentMapBuilder()
170 .withName(L3VNIMAP).withSerializer(serializer) 170 .withName(L3VNIMAP).withSerializer(serializer)
......