Class BundleFlowForwarder

java.lang.Object
org.opendaylight.openflowplugin.applications.frm.impl.BundleFlowForwarder
All Implemented Interfaces:
BundleMessagesCommiter<Flow>

public class BundleFlowForwarder extends Object implements BundleMessagesCommiter<Flow>
  • Constructor Summary Link icon

    Constructors
    Constructor
    Description
     
  • Method Summary Link icon

    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<Flow> identifier, Flow flow, 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<Flow> identifier, Flow flow, 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<Flow> identifier, Flow originalFlow, Flow updatedFlow, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNode> nodeIdent, BundleId bundleId)
    Method updates the original DataObject to the update DataObject in device.ForwardingRulesManager.java.

    Methods inherited from class java.lang.Object Link icon

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details Link icon

  • Method Details Link icon

    • remove Link icon

      public void remove(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Flow> identifier, Flow flow, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNode> nodeIdent, BundleId bundleId)
      Description copied from interface: BundleMessagesCommiter
      Method removes DataObject which is identified by InstanceIdentifier from device.
      Specified by:
      remove in interface BundleMessagesCommiter<Flow>
      Parameters:
      identifier - - the whole path to DataObject
      flow - - DataObject for removing
      nodeIdent - Node InstanceIdentifier
    • update Link icon

      public void update(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Flow> identifier, Flow originalFlow, Flow updatedFlow, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNode> nodeIdent, BundleId bundleId)
      Description copied from interface: BundleMessagesCommiter
      Method updates the original DataObject to the update DataObject in device.ForwardingRulesManager.java. Both are identified by same InstanceIdentifier.
      Specified by:
      update in interface BundleMessagesCommiter<Flow>
      Parameters:
      identifier - - the whole path to DataObject
      originalFlow - - original DataObject (for update)
      updatedFlow - - changed DataObject (contain updates)
      nodeIdent - Node InstanceIdentifier
    • add Link icon

      public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AddBundleMessagesOutput>> add(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Flow> identifier, Flow flow, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNode> nodeIdent, BundleId bundleId)
      Description copied from interface: BundleMessagesCommiter
      Method adds the DataObject which is identified by InstanceIdentifier to device.
      Specified by:
      add in interface BundleMessagesCommiter<Flow>
      Parameters:
      identifier - - the whole path to new DataObject
      flow - - 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.