Class BundleFlowForwarder

    • Method Detail

      • remove

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

        public void update​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Flow> identifier,
                           Flow originalFlow,
                           Flow updatedFlow,
                           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<Flow>
        Parameters:
        identifier - - the whole path to DataObject
        originalFlow - - original DataObject (for update)
        updatedFlow - - 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<Flow> identifier,
                                                                                                                                                 Flow flow,
                                                                                                                                                 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<Flow>
        Parameters:
        identifier - - the whole path to new DataObject
        flow - - 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.