Class BundleGroupForwarder

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

public class BundleGroupForwarder extends Object implements BundleMessagesCommiter<Group>
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • 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<Group> identifier, Group group, 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<Group> identifier, Group group, 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<Group> identifier, Group originalGroup, Group updatedGroup, 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

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

  • Method Details

    • remove

      public void remove(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Group> identifier, Group group, 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<Group>
      Parameters:
      identifier - - the whole path to DataObject
      group - - DataObject for removing
      nodeIdent - Node InstanceIdentifier
    • update

      public void update(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Group> identifier, Group originalGroup, Group updatedGroup, 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<Group>
      Parameters:
      identifier - - the whole path to DataObject
      originalGroup - - original DataObject (for update)
      updatedGroup - - changed DataObject (contain updates)
      nodeIdent - Node InstanceIdentifier
    • add

      public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AddBundleMessagesOutput>> add(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Group> identifier, Group group, 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<Group>
      Parameters:
      identifier - - the whole path to new DataObject
      group - - 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.