2 * Copyright (c) 2014, 2017 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
9 package org.opendaylight.openflowplugin.applications.frm;
11 import com.google.common.util.concurrent.ListenableFuture;
12 import org.opendaylight.openflowplugin.applications.reconciliation.ReconciliationNotificationListener;
13 import org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowCapableNode;
14 import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
17 * Implementation provider of this interface will implement reconciliation
18 * functionality for a newly connected node. Implementation is not enforced to
19 * do reconciliation in any specific way, but the higher level intention is to
20 * provide best effort reconciliation of all the configuration
21 * (flow/meter/group) present in configuration data store for the given node.
23 * @author <a href="mailto:vdemcak@cisco.com">Vaclav Demcak</a>
25 public interface FlowNodeReconciliation extends ReconciliationNotificationListener, AutoCloseable {
26 ListenableFuture<Boolean> reconcileConfiguration(InstanceIdentifier<FlowCapableNode> connectedNode);