Class TableForwarder
- 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>
ImplementsForwardingRulesUpdateCommitter
methods for processing update ofTableFeatures
.
-
-
Constructor Summary
Constructors Constructor Description TableForwarder(SalTableService salTableService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
Method updates the original DataObject to the update DataObject in device.
-
-
-
Constructor Detail
-
TableForwarder
public TableForwarder(SalTableService salTableService)
-
-
Method Detail
-
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 interfaceForwardingRulesUpdateCommitter<TableFeatures,UpdateTableOutput>
- Parameters:
identifier
- - the whole path to DataObjectoriginal
- - original DataObject (for update)update
- - changed DataObject (contain updates)nodeIdent
- - Node InstanceIdentifier- Returns:
- RpcResult of action
-
-