2 * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.controller.connectionmanager.scheme;
11 import org.opendaylight.controller.clustering.services.IClusterGlobalServices;
12 import org.opendaylight.controller.connectionmanager.ConnectionMgmtScheme;
13 import org.opendaylight.controller.sal.core.Node;
16 * Load Balancing scheme will let the nodes connect with controller based
17 * on the resource usage in each of the controllers in a cluster.
19 * Incomplete and Currently not used.
22 class LoadBalancedScheme extends AbstractScheme {
24 protected LoadBalancedScheme(IClusterGlobalServices clusterServices) {
25 super(clusterServices, ConnectionMgmtScheme.LOAD_BALANCED);
28 public static AbstractScheme getScheme(IClusterGlobalServices clusterServices) {
33 public boolean isConnectionAllowedInternal(Node node) {