Interface IMdsalApiManager
-
- All Known Implementing Classes:
MDSALManager
public interface IMdsalApiManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
addBucket(org.opendaylight.mdsal.binding.util.TypedReadWriteTransaction<org.opendaylight.mdsal.binding.util.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)
void
addFlow(org.opendaylight.mdsal.binding.util.TypedWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> tx, FlowEntity flowEntity)
Adds the given flow.void
addFlow(org.opendaylight.mdsal.binding.util.TypedWriteTransaction<org.opendaylight.mdsal.binding.util.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.void
addGroup(org.opendaylight.mdsal.binding.util.TypedWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> tx, GroupEntity groupEntity)
Adds the given group using the given transaction.void
addGroup(org.opendaylight.mdsal.binding.util.TypedWriteTransaction<org.opendaylight.mdsal.binding.util.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.boolean
groupExists(org.opendaylight.yangtools.yang.common.Uint64 dpId, long groupId)
Deprecated.com.google.common.util.concurrent.FluentFuture<?>
installFlow(FlowEntity flowEntity)
Deprecated.com.google.common.util.concurrent.FluentFuture<?>
installFlow(org.opendaylight.yangtools.yang.common.Uint64 dpId, FlowEntity flowEntity)
Deprecated.com.google.common.util.concurrent.FluentFuture<?>
installFlow(org.opendaylight.yangtools.yang.common.Uint64 dpId, org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.Flow flowEntity)
Deprecated.void
removeBucket(org.opendaylight.mdsal.binding.util.TypedReadWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> tx, org.opendaylight.yangtools.yang.common.Uint64 dpId, long groupId, long bucketId)
com.google.common.util.concurrent.FluentFuture<?>
removeFlow(FlowEntity flowEntity)
Deprecated.void
removeFlow(org.opendaylight.mdsal.binding.util.TypedReadWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> tx, FlowEntity flowEntity)
Removes the given flow.void
removeFlow(org.opendaylight.mdsal.binding.util.TypedReadWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> tx, org.opendaylight.yangtools.yang.common.Uint64 dpId, java.lang.String flowId, short tableId)
Removes the given flow.void
removeFlow(org.opendaylight.mdsal.binding.util.TypedReadWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> tx, org.opendaylight.yangtools.yang.common.Uint64 dpId, org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.Flow flow)
Removes the given flow.void
removeFlow(org.opendaylight.mdsal.binding.util.TypedReadWriteTransaction<org.opendaylight.mdsal.binding.util.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)
Removes the given flow.com.google.common.util.concurrent.ListenableFuture<?>
removeFlow(org.opendaylight.yangtools.yang.common.Uint64 dpId, short tableId, org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowId flowId)
Deprecated.com.google.common.util.concurrent.FluentFuture<?>
removeFlow(org.opendaylight.yangtools.yang.common.Uint64 dpId, org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.Flow flowEntity)
Deprecated.void
removeGroup(GroupEntity groupEntity)
Deprecated.void
removeGroup(org.opendaylight.mdsal.binding.util.TypedReadWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> tx, GroupEntity groupEntity)
Remove a group using the given transaction.void
removeGroup(org.opendaylight.mdsal.binding.util.TypedReadWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> tx, org.opendaylight.yangtools.yang.common.Uint64 dpId, long groupId)
Remove a group using the given transaction.void
removeGroup(org.opendaylight.mdsal.binding.util.TypedReadWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> tx, org.opendaylight.yangtools.yang.common.Uint64 dpId, org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.groups.Group group)
Remove a group using the given transaction.void
syncInstallFlow(FlowEntity flowEntity)
Deprecated.void
syncInstallFlow(FlowEntity flowEntity, long delayTime)
Deprecated.void
syncInstallGroup(GroupEntity groupEntity)
Deprecated.void
syncRemoveFlow(FlowEntity flowEntity)
Deprecated.void
syncRemoveFlow(FlowEntity flowEntity, long delayTime)
Deprecated.void
syncRemoveGroup(GroupEntity groupEntity)
Deprecated.
-
-
-
Method Detail
-
installFlow
@Deprecated com.google.common.util.concurrent.FluentFuture<?> installFlow(FlowEntity flowEntity)
Deprecated.Adds a flow.- Parameters:
flowEntity
- The flow entity.
-
installFlow
@Deprecated com.google.common.util.concurrent.FluentFuture<?> installFlow(org.opendaylight.yangtools.yang.common.Uint64 dpId, org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.Flow flowEntity)
Deprecated.Adds a flow.- Parameters:
dpId
- The DPN identifier.flowEntity
- The flow entity.
-
installFlow
@Deprecated com.google.common.util.concurrent.FluentFuture<?> installFlow(org.opendaylight.yangtools.yang.common.Uint64 dpId, FlowEntity flowEntity)
Deprecated.Adds a flow.- Parameters:
dpId
- The DPN identifier.flowEntity
- The flow entity.
-
addFlow
void addFlow(org.opendaylight.mdsal.binding.util.TypedWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> tx, FlowEntity flowEntity)
Adds the given flow.- Parameters:
tx
- The transaction to use.flowEntity
- The flow entity.
-
addFlow
void addFlow(org.opendaylight.mdsal.binding.util.TypedWriteTransaction<org.opendaylight.mdsal.binding.util.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<?> removeFlow(org.opendaylight.yangtools.yang.common.Uint64 dpId, short tableId, org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowId flowId)
Deprecated.Removes a flow.- Parameters:
dpId
- The DPN identifier.tableId
- The table identifier.flowId
- The flow identifier.
-
removeFlow
@Deprecated com.google.common.util.concurrent.FluentFuture<?> removeFlow(FlowEntity flowEntity)
Deprecated.Removes a flow.- Parameters:
flowEntity
- The flow entity.
-
removeFlow
@Deprecated com.google.common.util.concurrent.FluentFuture<?> removeFlow(org.opendaylight.yangtools.yang.common.Uint64 dpId, org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.Flow flowEntity)
Deprecated.Removes a flow.
-
removeFlow
void removeFlow(org.opendaylight.mdsal.binding.util.TypedReadWriteTransaction<org.opendaylight.mdsal.binding.util.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
- in case of a technical (!) error while readingjava.lang.InterruptedException
- in case of a technical (!) error while reading
-
removeFlow
void removeFlow(org.opendaylight.mdsal.binding.util.TypedReadWriteTransaction<org.opendaylight.mdsal.binding.util.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
- in case of a technical (!) error while readingjava.lang.InterruptedException
- in case of a technical (!) error while reading
-
removeFlow
void removeFlow(org.opendaylight.mdsal.binding.util.TypedReadWriteTransaction<org.opendaylight.mdsal.binding.util.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
- in case of a technical (!) error while readingjava.lang.InterruptedException
- in case of a technical (!) error while reading
-
removeFlow
void removeFlow(org.opendaylight.mdsal.binding.util.TypedReadWriteTransaction<org.opendaylight.mdsal.binding.util.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
- in case of a technical (!) error while readingjava.lang.InterruptedException
- in case of a technical (!) error while reading
-
addGroup
void addGroup(org.opendaylight.mdsal.binding.util.TypedWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> tx, GroupEntity groupEntity)
Adds the given group using the given transaction.- Parameters:
tx
- The transaction to use.groupEntity
- The group to add.
-
addGroup
void addGroup(org.opendaylight.mdsal.binding.util.TypedWriteTransaction<org.opendaylight.mdsal.binding.util.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
@Deprecated void removeGroup(GroupEntity groupEntity)
Deprecated.Remove a group.- Parameters:
groupEntity
- The group to remove.
-
removeGroup
void removeGroup(org.opendaylight.mdsal.binding.util.TypedReadWriteTransaction<org.opendaylight.mdsal.binding.util.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
- in case of a technical (!) error while readingjava.lang.InterruptedException
- in case of a technical (!) error while reading
-
removeGroup
void removeGroup(org.opendaylight.mdsal.binding.util.TypedReadWriteTransaction<org.opendaylight.mdsal.binding.util.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
- in case of a technical (!) error while readingjava.lang.InterruptedException
- in case of a technical (!) error while reading
-
removeGroup
void removeGroup(org.opendaylight.mdsal.binding.util.TypedReadWriteTransaction<org.opendaylight.mdsal.binding.util.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
- in case of a technical (!) error while readingjava.lang.InterruptedException
- in case of a technical (!) error while reading
-
groupExists
@Deprecated boolean groupExists(org.opendaylight.yangtools.yang.common.Uint64 dpId, long groupId)
Deprecated.Check if OF group exist on DPN.- Parameters:
dpId
- dpn idgroupId
- OF group id- Returns:
- true if group exists and false otherwise
-
syncRemoveFlow
@Deprecated void syncRemoveFlow(FlowEntity flowEntity, long delayTime)
Deprecated.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.- Parameters:
flowEntity
- The flow entity.delayTime
- The delay time.
-
syncRemoveFlow
@Deprecated void syncRemoveFlow(FlowEntity flowEntity)
Deprecated.Removes a flow.- Parameters:
flowEntity
- The flow entity.
-
syncInstallFlow
@Deprecated void syncInstallFlow(FlowEntity flowEntity, long delayTime)
Deprecated.Install a flow.- Parameters:
flowEntity
- The flow entity.delayTime
- The delay time.
-
syncInstallFlow
@Deprecated void syncInstallFlow(FlowEntity flowEntity)
Deprecated.Installs a flow.- Parameters:
flowEntity
- The flow entity.
-
syncInstallGroup
@Deprecated void syncInstallGroup(GroupEntity groupEntity)
Deprecated.Installs a group.- Parameters:
groupEntity
- The group to add.
-
syncRemoveGroup
@Deprecated void syncRemoveGroup(GroupEntity groupEntity)
Deprecated.API to remove the Group on Data Plane Node synchronously. It internally waits for Group Change Notification to confirm group delete request is being sent.- Parameters:
groupEntity
- The group to add.
-
addBucket
void addBucket(org.opendaylight.mdsal.binding.util.TypedReadWriteTransaction<org.opendaylight.mdsal.binding.util.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(org.opendaylight.mdsal.binding.util.TypedReadWriteTransaction<org.opendaylight.mdsal.binding.util.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
-
-