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 SummaryConstructors Constructor Description BundleGroupForwarder(ForwardingRulesManager forwardingRulesManager)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods 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.voidremove(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.voidupdate(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.
 
- 
- 
- 
Constructor Detail- 
BundleGroupForwarderpublic BundleGroupForwarder(ForwardingRulesManager forwardingRulesManager) 
 
- 
 - 
Method Detail- 
removepublic 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:BundleMessagesCommiterMethod removes DataObject which is identified by InstanceIdentifier from device.- Specified by:
- removein interface- BundleMessagesCommiter<Group>
- Parameters:
- identifier- - the whole path to DataObject
- group- - DataObject for removing
- nodeIdent- Node InstanceIdentifier
 
 - 
updatepublic 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:BundleMessagesCommiterMethod updates the original DataObject to the update DataObject in device.ForwardingRulesManager.java. Both are identified by same InstanceIdentifier.- Specified by:
- updatein interface- BundleMessagesCommiter<Group>
- Parameters:
- identifier- - the whole path to DataObject
- originalGroup- - original DataObject (for update)
- updatedGroup- - changed DataObject (contain updates)
- nodeIdent- Node InstanceIdentifier
 
 - 
addpublic 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:BundleMessagesCommiterMethod adds the DataObject which is identified by InstanceIdentifier to device.- Specified by:
- addin interface- BundleMessagesCommiter<Group>
- Parameters:
- identifier- - the whole path to new DataObject
- group- - new DataObject
- nodeIdent- Node InstanceIdentifier
- Returns:
- A future associated with RPC task. nullis set to the future if this method does not invoke RPC.
 
 
- 
 
-