java.lang.Object
org.opendaylight.openflowplugin.applications.frsync.impl.strategy.TableForwarder
All Implemented Interfaces:
ForwardingRulesUpdateCommitter<TableFeatures,UpdateTableOutput>

public class TableForwarder extends Object implements ForwardingRulesUpdateCommitter<TableFeatures,UpdateTableOutput>
Implements ForwardingRulesUpdateCommitter methods for processing update of TableFeatures.
  • Constructor Details

    • TableForwarder

      public TableForwarder(UpdateTable updateTable)
  • Method Details

    • update

      public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<UpdateTableOutput>> update(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<TableFeatures> identifier, TableFeatures original, TableFeatures update, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNode> nodeIdent)
      Description copied from interface: ForwardingRulesUpdateCommitter
      Method updates the original DataObject to the update DataObject in device. Both are identified by same InstanceIdentifier
      Specified by:
      update in interface ForwardingRulesUpdateCommitter<TableFeatures,UpdateTableOutput>
      Parameters:
      identifier - - the whole path to DataObject
      original - - original DataObject (for update)
      update - - changed DataObject (contain updates)
      nodeIdent - - Node InstanceIdentifier
      Returns:
      RpcResult of action