X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=openflowplugin-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fopenflowplugin%2Fapi%2Fopenflow%2FOpenFlowPluginProvider.java;h=94519348f95a767fc7e58c3ed4e4c4634393d730;hb=cfe3a97837951ebbedb337dc988027f10c49f714;hp=a2b0e0e14816e59efd72a97d0aa6fea545c030a8;hpb=f114f3cdb500eccf3ac606f94895b3d20ff5c490;p=openflowplugin.git diff --git a/openflowplugin-api/src/main/java/org/opendaylight/openflowplugin/api/openflow/OpenFlowPluginProvider.java b/openflowplugin-api/src/main/java/org/opendaylight/openflowplugin/api/openflow/OpenFlowPluginProvider.java index a2b0e0e148..94519348f9 100644 --- a/openflowplugin-api/src/main/java/org/opendaylight/openflowplugin/api/openflow/OpenFlowPluginProvider.java +++ b/openflowplugin-api/src/main/java/org/opendaylight/openflowplugin/api/openflow/OpenFlowPluginProvider.java @@ -1,83 +1,22 @@ /* - * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved. + * Copyright (c) 2015, 2017 Cisco Systems, Inc. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ - package org.opendaylight.openflowplugin.api.openflow; -import java.util.Collection; -import java.util.Map; -import org.opendaylight.controller.md.sal.binding.api.BindingService; -import org.opendaylight.controller.md.sal.binding.api.DataBroker; -import org.opendaylight.controller.md.sal.binding.api.NotificationPublishService; -import org.opendaylight.controller.md.sal.binding.api.NotificationService; -import org.opendaylight.controller.md.sal.common.api.clustering.EntityOwnershipService; -import org.opendaylight.controller.sal.binding.api.RpcProviderRegistry; -import org.opendaylight.mdsal.singleton.common.api.ClusterSingletonServiceProvider; -import org.opendaylight.openflowjava.protocol.spi.connection.SwitchConnectionProvider; +import org.opendaylight.mdsal.binding.api.BindingService; /** - * Plugin services provider + * Plugin services provider. */ public interface OpenFlowPluginProvider extends AutoCloseable, BindingService { - /** - * Method sets openflow java's connection providers. - */ - void setSwitchConnectionProviders(Collection switchConnectionProvider); - - /** - * setter - * - * @param dataBroker - */ - void setDataBroker(DataBroker dataBroker); - - void setRpcProviderRegistry(RpcProviderRegistry rpcProviderRegistry); - - void setNotificationProviderService(NotificationService notificationProviderService); - - void setNotificationPublishService(NotificationPublishService notificationPublishService); - /** * Method initializes all DeviceManager, RpcManager and related contexts. */ void initialize(); - /** - * This parameter indicates whether it is mandatory for switch to support OF1.3 features : table, flow, meter,group. - * If this is set to true and switch doesn't support these features its connection will be denied. - * @param switchFeaturesMandatory - */ - void setSwitchFeaturesMandatory(final boolean switchFeaturesMandatory); - - boolean isSwitchFeaturesMandatory(); - - boolean isStatisticsPollingOn(); - - void setIsStatisticsPollingOn(final boolean isStatisticsPollingOn); - - /** - * Backward compatibility feature - exposing rpc for statistics polling (result is provided in form of async notification) - * - * @param isStatisticsRpcEnabled - */ - void setIsStatisticsRpcEnabled(boolean isStatisticsRpcEnabled); - - void setBarrierCountLimit(int barrierCountLimit); - - void setBarrierInterval(long barrierTimeoutLimit); - - void setEchoReplyTimeout(long echoReplyTimeout); - - void setNotificationFlowRemovedOff(boolean isNotificationFlowRemovedOff); - - void update(Map props); - - void setClusteringSingletonServicesProvider(ClusterSingletonServiceProvider singletonServicesProvider); - - void setSkipTableFeatures(boolean skipTableFeatures); }