Madan Jampani
Committed by Gerrit Code Review

Revert "Turning on Phi accrual failure detector based ClusterService implementation"

This reverts commit 248e87b1.

Change-Id: Ic638203b30dde90a411e8a80c53fd1fbbb3b10c0
...@@ -15,19 +15,12 @@ ...@@ -15,19 +15,12 @@
15 */ 15 */
16 package org.onosproject.cluster.impl; 16 package org.onosproject.cluster.impl;
17 17
18 -import static com.google.common.base.Preconditions.checkArgument;
19 -import static com.google.common.base.Preconditions.checkNotNull;
20 -import static org.slf4j.LoggerFactory.getLogger;
21 -
22 -import java.util.Set;
23 -
24 import org.apache.felix.scr.annotations.Activate; 18 import org.apache.felix.scr.annotations.Activate;
25 import org.apache.felix.scr.annotations.Component; 19 import org.apache.felix.scr.annotations.Component;
26 import org.apache.felix.scr.annotations.Deactivate; 20 import org.apache.felix.scr.annotations.Deactivate;
27 import org.apache.felix.scr.annotations.Reference; 21 import org.apache.felix.scr.annotations.Reference;
28 import org.apache.felix.scr.annotations.ReferenceCardinality; 22 import org.apache.felix.scr.annotations.ReferenceCardinality;
29 import org.apache.felix.scr.annotations.Service; 23 import org.apache.felix.scr.annotations.Service;
30 -import org.onlab.packet.IpAddress;
31 import org.onosproject.cluster.ClusterAdminService; 24 import org.onosproject.cluster.ClusterAdminService;
32 import org.onosproject.cluster.ClusterEvent; 25 import org.onosproject.cluster.ClusterEvent;
33 import org.onosproject.cluster.ClusterEventListener; 26 import org.onosproject.cluster.ClusterEventListener;
...@@ -38,12 +31,19 @@ import org.onosproject.cluster.ControllerNode; ...@@ -38,12 +31,19 @@ import org.onosproject.cluster.ControllerNode;
38 import org.onosproject.cluster.NodeId; 31 import org.onosproject.cluster.NodeId;
39 import org.onosproject.event.AbstractListenerRegistry; 32 import org.onosproject.event.AbstractListenerRegistry;
40 import org.onosproject.event.EventDeliveryService; 33 import org.onosproject.event.EventDeliveryService;
34 +import org.onlab.packet.IpAddress;
41 import org.slf4j.Logger; 35 import org.slf4j.Logger;
42 36
37 +import java.util.Set;
38 +
39 +import static com.google.common.base.Preconditions.checkArgument;
40 +import static com.google.common.base.Preconditions.checkNotNull;
41 +import static org.slf4j.LoggerFactory.getLogger;
42 +
43 /** 43 /**
44 * Implementation of the cluster service. 44 * Implementation of the cluster service.
45 */ 45 */
46 -@Component(immediate = true, enabled = false) 46 +@Component(immediate = true)
47 @Service 47 @Service
48 public class ClusterManager implements ClusterService, ClusterAdminService { 48 public class ClusterManager implements ClusterService, ClusterAdminService {
49 49
......
...@@ -69,7 +69,7 @@ import static com.google.common.base.Preconditions.checkArgument; ...@@ -69,7 +69,7 @@ import static com.google.common.base.Preconditions.checkArgument;
69 * ClusterService implementation that employs an accrual failure 69 * ClusterService implementation that employs an accrual failure
70 * detector to identify cluster member up/down status. 70 * detector to identify cluster member up/down status.
71 */ 71 */
72 -@Component(immediate = true, enabled = true) 72 +@Component(immediate = true, enabled = false)
73 @Service 73 @Service
74 public class ClusterManager implements ClusterService, ClusterAdminService { 74 public class ClusterManager implements ClusterService, ClusterAdminService {
75 75
......