Interface ForwardingRulesUpdateCommitter<D extends org.opendaylight.yangtools.binding.DataObject,U extends org.opendaylight.yangtools.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.binding.DataObject,U extends org.opendaylight.yangtools.binding.DataObject>
Represents a configuration item update-contract for device.
  • Method Summary

    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 Details

    • 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 DataObject
      original - - original DataObject (for update)
      update - - changed DataObject (contain updates)
      nodeIdent - - Node InstanceIdentifier
      Returns:
      RpcResult of action