Interface ForwardingRulesAddCommitter<D extends org.opendaylight.yangtools.binding.DataObject,A extends org.opendaylight.yangtools.binding.DataObject>
- All Known Subinterfaces:
ForwardingRulesCommitter<D,
A, R, U>
- All Known Implementing Classes:
FlowForwarder
,GroupForwarder
,MeterForwarder
public interface ForwardingRulesAddCommitter<D extends org.opendaylight.yangtools.binding.DataObject,A extends org.opendaylight.yangtools.binding.DataObject>
Represents a configuration item add-contract for device.
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.util.concurrent.ListenableFuture
<org.opendaylight.yangtools.yang.common.RpcResult<A>> add
(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<D> identifier, D add, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNode> nodeIdent) Method adds the DataObject which is identified by InstanceIdentifier to device.
-
Method Details
-
add
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<A>> add(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<D> identifier, D add, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNode> nodeIdent) Method adds the DataObject which is identified by InstanceIdentifier to device.- Parameters:
identifier
- - the whole path to new DataObjectadd
- - new DataObjectnodeIdent
- - Node InstanceIdentifier- Returns:
- RpcResult of action
-