2 * Copyright (c) 2016 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.frsync;
11 import java.util.concurrent.Future;
12 import org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowCapableNode;
13 import org.opendaylight.yangtools.yang.binding.DataObject;
14 import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
15 import org.opendaylight.yangtools.yang.common.RpcResult;
18 * Represents a configuration item remove-contract for device.
20 public interface ForwardingRulesRemoveCommitter<D extends DataObject, R extends DataObject> {
23 * Method removes DataObject which is identified by InstanceIdentifier
26 * @param identifier - the whole path to DataObject
27 * @param del - DataObject for removing
28 * @param nodeIdent - Node InstanceIdentifier
29 * @return RpcResult of action
31 Future<RpcResult<R>> remove(InstanceIdentifier<D> identifier, D del, InstanceIdentifier<FlowCapableNode> nodeIdent);