Interface IMdsalApiManager

  • All Known Implementing Classes:
    MDSALManager

    public interface IMdsalApiManager
    • Method Detail

      • installFlow

        @Deprecated
        com.google.common.util.concurrent.CheckedFuture<java.lang.Void,​org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedException> installFlow​(FlowEntity flowEntity)
        Adds a flow.
      • installFlow

        @Deprecated
        com.google.common.util.concurrent.CheckedFuture<java.lang.Void,​org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedException> installFlow​(org.opendaylight.yangtools.yang.common.Uint64 dpId,
                                                                                                                                                                              org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.Flow flowEntity)
        Adds a flow.
      • installFlow

        @Deprecated
        com.google.common.util.concurrent.CheckedFuture<java.lang.Void,​org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedException> installFlow​(org.opendaylight.yangtools.yang.common.Uint64 dpId,
                                                                                                                                                                              FlowEntity flowEntity)
        Adds a flow.
      • addFlow

        void addFlow​(TypedWriteTransaction<Datastore.Configuration> tx,
                     org.opendaylight.yangtools.yang.common.Uint64 dpId,
                     org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.Flow flow)
        Adds the given flow.
        Parameters:
        tx - The transaction to use.
        dpId - The DPN identifier.
        flow - The flow.
      • removeFlow

        @Deprecated
        com.google.common.util.concurrent.ListenableFuture<java.lang.Void> removeFlow​(org.opendaylight.yangtools.yang.common.Uint64 dpId,
                                                                                      short tableId,
                                                                                      org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowId flowId)
        Removes a flow.
      • removeFlow

        @Deprecated
        com.google.common.util.concurrent.CheckedFuture<java.lang.Void,​org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedException> removeFlow​(FlowEntity flowEntity)
        Removes a flow.
      • removeFlow

        @Deprecated
        com.google.common.util.concurrent.CheckedFuture<java.lang.Void,​org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedException> removeFlow​(org.opendaylight.yangtools.yang.common.Uint64 dpId,
                                                                                                                                                                             org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.Flow flowEntity)
        Removes a flow.
      • removeFlow

        void removeFlow​(TypedReadWriteTransaction<Datastore.Configuration> tx,
                        org.opendaylight.yangtools.yang.common.Uint64 dpId,
                        org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.Flow flow)
                 throws java.util.concurrent.ExecutionException,
                        java.lang.InterruptedException
        Removes the given flow.
        Parameters:
        tx - The transaction to use.
        dpId - The DPN identifier.
        flow - The flow.
        Throws:
        java.util.concurrent.ExecutionException
        java.lang.InterruptedException
      • removeFlow

        void removeFlow​(TypedReadWriteTransaction<Datastore.Configuration> tx,
                        FlowEntity flowEntity)
                 throws java.util.concurrent.ExecutionException,
                        java.lang.InterruptedException
        Removes the given flow.
        Parameters:
        tx - The transaction to use.
        flowEntity - The flow entity.
        Throws:
        java.util.concurrent.ExecutionException
        java.lang.InterruptedException
      • removeFlow

        void removeFlow​(TypedReadWriteTransaction<Datastore.Configuration> tx,
                        org.opendaylight.yangtools.yang.common.Uint64 dpId,
                        org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.FlowKey flowKey,
                        short tableId)
                 throws java.util.concurrent.ExecutionException,
                        java.lang.InterruptedException
        Removes the given flow.
        Parameters:
        tx - The transaction to use.
        dpId - The DPN identifier.
        flowKey - The flow key.
        tableId - The table identifier.
        Throws:
        java.util.concurrent.ExecutionException
        java.lang.InterruptedException
      • removeFlow

        void removeFlow​(TypedReadWriteTransaction<Datastore.Configuration> tx,
                        org.opendaylight.yangtools.yang.common.Uint64 dpId,
                        java.lang.String flowId,
                        short tableId)
                 throws java.util.concurrent.ExecutionException,
                        java.lang.InterruptedException
        Removes the given flow.
        Parameters:
        tx - The transaction to use.
        dpId - The DPN identifier.
        flowId - The flow identifier.
        tableId - The table identifier.
        Throws:
        java.util.concurrent.ExecutionException
        java.lang.InterruptedException
      • addGroup

        void addGroup​(TypedWriteTransaction<Datastore.Configuration> tx,
                      org.opendaylight.yangtools.yang.common.Uint64 dpId,
                      org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.groups.Group group)
        Adds the given group using the given transaction.
        Parameters:
        tx - The transaction to use.
        dpId - The DPN identifier.
        group - The group to add.
      • removeGroup

        void removeGroup​(TypedReadWriteTransaction<Datastore.Configuration> tx,
                         GroupEntity groupEntity)
                  throws java.util.concurrent.ExecutionException,
                         java.lang.InterruptedException
        Remove a group using the given transaction.
        Parameters:
        tx - The transaction to use.
        groupEntity - The group to remove.
        Throws:
        java.util.concurrent.ExecutionException
        java.lang.InterruptedException
      • removeGroup

        void removeGroup​(TypedReadWriteTransaction<Datastore.Configuration> tx,
                         org.opendaylight.yangtools.yang.common.Uint64 dpId,
                         org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.groups.Group group)
                  throws java.util.concurrent.ExecutionException,
                         java.lang.InterruptedException
        Remove a group using the given transaction.
        Parameters:
        tx - The transaction to use.
        dpId - The DPN identifier.
        group - The group to remove.
        Throws:
        java.util.concurrent.ExecutionException
        java.lang.InterruptedException
      • removeGroup

        void removeGroup​(TypedReadWriteTransaction<Datastore.Configuration> tx,
                         org.opendaylight.yangtools.yang.common.Uint64 dpId,
                         long groupId)
                  throws java.util.concurrent.ExecutionException,
                         java.lang.InterruptedException
        Remove a group using the given transaction.
        Parameters:
        tx - The transaction to use.
        dpId - The DPN identifier.
        groupId - The group identifier of the group to remove.
        Throws:
        java.util.concurrent.ExecutionException
        java.lang.InterruptedException
      • groupExists

        @Deprecated
        boolean groupExists​(org.opendaylight.yangtools.yang.common.Uint64 dpId,
                            long groupId)
        Deprecated.
        Check if OF group exist on DPN.
        Parameters:
        dpId - dpn id
        groupId - OF group id
        Returns:
        true if group exists and false otherwise
      • syncRemoveFlow

        @Deprecated
        void syncRemoveFlow​(FlowEntity flowEntity,
                            long delayTime)
        API to remove the flow on Data Plane Node synchronously. It internally waits for Flow Change Notification to confirm flow delete request is being sent with-in delayTime.
      • addBucket

        void addBucket​(TypedReadWriteTransaction<Datastore.Configuration> tx,
                       org.opendaylight.yangtools.yang.common.Uint64 dpId,
                       long groupId,
                       org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.group.buckets.Bucket bucket)
                throws java.util.concurrent.ExecutionException,
                       java.lang.InterruptedException
        Throws:
        java.util.concurrent.ExecutionException
        java.lang.InterruptedException
      • removeBucket

        void removeBucket​(TypedReadWriteTransaction<Datastore.Configuration> tx,
                          org.opendaylight.yangtools.yang.common.Uint64 dpId,
                          long groupId,
                          long bucketId)
                   throws java.util.concurrent.ExecutionException,
                          java.lang.InterruptedException
        Throws:
        java.util.concurrent.ExecutionException
        java.lang.InterruptedException