Interface ForwardingRulesUpdateCommitter<D extends org.opendaylight.yangtools.yang.binding.DataObject,U extends org.opendaylight.yangtools.yang.binding.DataObject>
-
- All Known Subinterfaces:
ForwardingRulesCommitter<D,A,R,U>
- All Known Implementing Classes:
FlowForwarder
,GroupForwarder
,MeterForwarder
,TableForwarder
public interface ForwardingRulesUpdateCommitter<D extends org.opendaylight.yangtools.yang.binding.DataObject,U extends org.opendaylight.yangtools.yang.binding.DataObject>
Represents a configuration item update-contract for device.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<U>>
update(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<D> identifier, D original, D update, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNode> nodeIdent)
Method updates the original DataObject to the update DataObject in device.
-
-
-
Method Detail
-
update
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<U>> update(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<D> identifier, D original, D update, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNode> nodeIdent)
Method updates the original DataObject to the update DataObject in device. Both are identified by same InstanceIdentifier- Parameters:
identifier
- - the whole path to DataObjectoriginal
- - original DataObject (for update)update
- - changed DataObject (contain updates)nodeIdent
- - Node InstanceIdentifier- Returns:
- RpcResult of action
-
-