Bug-4433:OF Version 10 does not get ommitted for clustering 80/28980/4
authorKamal Rameshan <kramesha@cisco.com>
Fri, 9 Oct 2015 00:12:26 +0000 (17:12 -0700)
committerKamal Rameshan <kramesha@cisco.com>
Wed, 11 Nov 2015 21:59:56 +0000 (13:59 -0800)
Change-Id: I928be12d3dd1b28f6cf110f6a6f99f14d993b35c
Signed-off-by: Kamal Rameshan <kramesha@cisco.com>
openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/role/RoleManagerImpl.java

index dfdf345f30dcd9cd3d292621bdfab231bd9c50d9..78cb8c7e6f630673c690f7cd56f9a631a4e54537 100644 (file)
@@ -55,6 +55,7 @@ public class RoleManagerImpl implements RoleManager {
         if (deviceContext.getDeviceState().getFeatures().getVersion() < OFConstants.OFP_VERSION_1_3) {
             // Roles are not supported before OF1.3, so move forward.
             deviceInitializationPhaseHandler.onDeviceContextLevelUp(deviceContext);
+            return;
         }
 
         RoleContext roleContext = new RoleContextImpl(deviceContext, rpcProviderRegistry, entityOwnershipService, openflowOwnershipListener);