Interface BundleMessagesCommiter<D extends org.opendaylight.yangtools.binding.DataObject>

All Known Implementing Classes:
BundleFlowForwarder, BundleGroupForwarder

public interface BundleMessagesCommiter<D extends org.opendaylight.yangtools.binding.DataObject>
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AddBundleMessagesOutput>>
    add(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<D> identifier, D add, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNode> nodeIdent, BundleId bundleId)
    Method adds the DataObject which is identified by InstanceIdentifier to device.
    void
    remove(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<D> identifier, D del, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNode> nodeIdent, BundleId bundleId)
    Method removes DataObject which is identified by InstanceIdentifier from device.
    void
    update(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<D> identifier, D original, D update, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNode> nodeIdent, BundleId bundleId)
    Method updates the original DataObject to the update DataObject in device.ForwardingRulesManager.java.
  • Method Details

    • remove

      void remove(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<D> identifier, D del, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNode> nodeIdent, BundleId bundleId)
      Method removes DataObject which is identified by InstanceIdentifier from device.
      Parameters:
      identifier - - the whole path to DataObject
      del - - DataObject for removing
      nodeIdent - Node InstanceIdentifier
    • update

      void update(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<D> identifier, D original, D update, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNode> nodeIdent, BundleId bundleId)
      Method updates the original DataObject to the update DataObject in device.ForwardingRulesManager.java. 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
    • add

      com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AddBundleMessagesOutput>> add(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<D> identifier, D add, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNode> nodeIdent, BundleId bundleId)
      Method adds the DataObject which is identified by InstanceIdentifier to device.
      Parameters:
      identifier - - the whole path to new DataObject
      add - - new DataObject
      nodeIdent - Node InstanceIdentifier
      Returns:
      A future associated with RPC task. null is set to the future if this method does not invoke RPC.