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>
Implements
ForwardingRulesUpdateCommitter
methods for processing update of TableFeatures
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.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 Details
-
TableForwarder
-
-
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 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
-