/* * Copyright (c) 2014, 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.applications.frm; import com.google.common.util.concurrent.ListenableFuture; import org.opendaylight.openflowplugin.applications.reconciliation.ReconciliationNotificationListener; import org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowCapableNode; import org.opendaylight.yangtools.yang.binding.InstanceIdentifier; /** * Implementation provider of this interface will implement reconciliation * functionality for a newly connected node. Implementation is not enforced to * do reconciliation in any specific way, but the higher level intention is to * provide best effort reconciliation of all the configuration * (flow/meter/group) present in configuration data store for the given node. * * @author Vaclav Demcak */ public interface FlowNodeReconciliation extends ReconciliationNotificationListener, AutoCloseable { ListenableFuture reconcileConfiguration(InstanceIdentifier connectedNode); void flowNodeDisconnected(InstanceIdentifier disconnectedNode); }