@Singleton public class MDSALManager extends org.opendaylight.infrautils.inject.AbstractLifecycle implements IMdsalApiManager
Constructor and Description |
---|
MDSALManager(org.opendaylight.controller.md.sal.binding.api.DataBroker db,
org.opendaylight.yang.gen.v1.urn.opendaylight.packet.service.rev130709.PacketProcessingService pktProcService)
Writes the flows and Groups to the MD SAL DataStore which will be sent to
the openflowplugin for installing flows/groups on the switch.
|
Modifier and Type | Method and Description |
---|---|
void |
addBucket(BigInteger dpId,
long groupId,
org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.group.buckets.Bucket bucket,
org.opendaylight.controller.md.sal.binding.api.WriteTransaction tx) |
void |
addBucketToTx(BigInteger dpId,
long groupId,
org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.group.buckets.Bucket bucket,
org.opendaylight.controller.md.sal.binding.api.WriteTransaction tx) |
void |
addFlowToTx(BigInteger dpId,
org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.Flow flow,
org.opendaylight.controller.md.sal.binding.api.WriteTransaction tx)
Add a Flow to batched transaction
This is used to batch multiple ConfigDS changes in a single transaction and programming on specific DPN.
|
void |
addFlowToTx(FlowEntity flowEntity,
org.opendaylight.controller.md.sal.binding.api.WriteTransaction tx)
Add a Flow to batched transaction.
|
void |
addGroupToTx(BigInteger dpId,
org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.groups.Group group,
org.opendaylight.controller.md.sal.binding.api.WriteTransaction tx)
Add a Group using batched transaction
This is used to batch multiple ConfigDS changes in a single transaction and programming on specific DPN.
|
void |
addGroupToTx(GroupEntity groupEntity,
org.opendaylight.controller.md.sal.binding.api.WriteTransaction tx)
Add a Group using batched transaction.
|
void |
batchedAddFlow(BigInteger dpId,
FlowEntity flowEntity) |
void |
batchedAddFlowInternal(BigInteger dpId,
org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.Flow flow) |
void |
batchedRemoveFlow(BigInteger dpId,
FlowEntity flowEntity) |
void |
batchedRemoveFlowInternal(BigInteger dpId,
org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.Flow flow) |
protected org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node |
buildDpnNode(BigInteger dpnId) |
void |
deleteBucket(BigInteger dpId,
long groupId,
long bucketId,
org.opendaylight.controller.md.sal.binding.api.WriteTransaction tx) |
void |
deleteFlowEntityInternal(FlowEntity flowEntity,
org.opendaylight.controller.md.sal.binding.api.WriteTransaction tx) |
void |
deleteFlowInternal(BigInteger dpId,
org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.Flow flow,
org.opendaylight.controller.md.sal.binding.api.WriteTransaction tx) |
boolean |
flowExists(BigInteger dpId,
short tableId,
org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.FlowKey flowKey) |
protected static org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorRef |
getNodeConnRef(String nodeId,
String port) |
boolean |
groupExists(BigInteger dpId,
long groupId)
Check if OF group exist on DPN.
|
com.google.common.util.concurrent.CheckedFuture<Void,org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedException> |
installFlow(BigInteger dpId,
org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.Flow flowEntity) |
com.google.common.util.concurrent.CheckedFuture<Void,org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedException> |
installFlow(BigInteger dpId,
FlowEntity flowEntity) |
com.google.common.util.concurrent.CheckedFuture<Void,org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedException> |
installFlow(FlowEntity flowEntity) |
com.google.common.util.concurrent.CheckedFuture<Void,org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedException> |
installFlowInternal(BigInteger dpId,
org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.Flow flow) |
com.google.common.util.concurrent.CheckedFuture<Void,org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedException> |
installFlowInternal(FlowEntity flowEntity) |
void |
installGroup(GroupEntity groupEntity) |
com.google.common.util.concurrent.CheckedFuture<Void,org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedException> |
installGroupInternal(GroupEntity groupEntity) |
void |
modifyGroup(GroupEntity groupEntity) |
void |
modifyGroupInternal(GroupEntity groupEntity) |
protected org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node> |
nodeToInstanceId(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node node) |
void |
removeBucketToTx(BigInteger dpId,
long groupId,
long bucketId,
org.opendaylight.controller.md.sal.binding.api.WriteTransaction tx) |
com.google.common.util.concurrent.CheckedFuture<Void,org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedException> |
removeFlow(BigInteger dpId,
org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.Flow flowEntity) |
com.google.common.util.concurrent.CheckedFuture<Void,org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedException> |
removeFlow(BigInteger dpId,
FlowEntity flowEntity) |
com.google.common.util.concurrent.ListenableFuture<Void> |
removeFlow(BigInteger dpId,
short tableId,
org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowId flowId) |
com.google.common.util.concurrent.CheckedFuture<Void,org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedException> |
removeFlow(FlowEntity flowEntity) |
com.google.common.util.concurrent.CheckedFuture<Void,org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedException> |
removeFlowInternal(FlowEntity flowEntity) |
com.google.common.util.concurrent.CheckedFuture<Void,org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedException> |
removeFlowNewInternal(BigInteger dpnId,
org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.Flow flowEntity) |
void |
removeFlowToTx(BigInteger dpId,
org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.Flow flow,
org.opendaylight.controller.md.sal.binding.api.WriteTransaction tx)
Remove a Flow using batched transaction.
|
void |
removeFlowToTx(FlowEntity flowEntity,
org.opendaylight.controller.md.sal.binding.api.WriteTransaction tx)
Remove a Flow using batched transaction.
|
void |
removeGroup(BigInteger dpnId,
long groupId)
Remove a group.
|
void |
removeGroup(BigInteger dpnId,
long groupId,
org.opendaylight.controller.md.sal.binding.api.WriteTransaction tx)
Remove a group, using an existing transaction.
|
void |
removeGroup(GroupEntity groupEntity)
Remove a group.
|
protected com.google.common.util.concurrent.CheckedFuture<Void,org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedException> |
removeGroupInternal(BigInteger dpnId,
long groupId) |
void |
removeGroupInternal(BigInteger dpnId,
long groupId,
org.opendaylight.controller.md.sal.binding.api.WriteTransaction tx) |
void |
removeGroupToTx(BigInteger dpId,
org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.groups.Group group,
org.opendaylight.controller.md.sal.binding.api.WriteTransaction tx)
Remove a Group using batched transaction
This is used to batch multiple ConfigDS changes in a single transaction.
|
void |
removeGroupToTx(GroupEntity groupEntity,
org.opendaylight.controller.md.sal.binding.api.WriteTransaction tx)
Remove a Group using batched transaction
This is used to batch multiple ConfigDS changes in a single transaction.
|
void |
sendARPPacketOutWithActions(BigInteger dpnId,
byte[] payload,
List<ActionInfo> actionInfo) |
void |
sendARPPacketOutWithActionsInternal(BigInteger dpnId,
byte[] payload,
List<ActionInfo> actions) |
void |
sendPacketOut(BigInteger dpnId,
int groupId,
byte[] payload) |
void |
sendPacketOutInternal(BigInteger dpnId,
int groupId,
byte[] payload) |
void |
sendPacketOutWithActions(BigInteger dpnId,
byte[] payload,
List<ActionInfo> actionInfos) |
void |
sendPacketOutWithActions(BigInteger dpnId,
long groupId,
byte[] payload,
List<ActionInfo> actionInfos)
Send packet out with actions.
|
void |
sendPacketOutWithActionsInternal(BigInteger dpnId,
byte[] payload,
List<ActionInfo> actionInfos) |
protected void |
start() |
protected void |
stop() |
void |
syncInstallFlow(FlowEntity flowEntity) |
void |
syncInstallFlow(FlowEntity flowEntity,
long delayTime)
Install a flow.
|
void |
syncInstallGroup(BigInteger dpId,
org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.groups.Group group) |
void |
syncInstallGroup(BigInteger dpId,
org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.groups.Group group,
long delayTime)
Install a group.
|
void |
syncInstallGroup(GroupEntity groupEntity) |
void |
syncInstallGroup(GroupEntity groupEntity,
long delayTime)
API to install the Group on Data Plane Node synchronously.
|
void |
syncRemoveFlow(FlowEntity flowEntity) |
void |
syncRemoveFlow(FlowEntity flowEntity,
long delayTime)
API to remove the flow on Data Plane Node synchronously.
|
void |
syncRemoveGroup(BigInteger dpId,
org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.groups.Group group) |
void |
syncRemoveGroup(GroupEntity groupEntity)
API to remove the Group on Data Plane Node synchronously.
|
void |
syncSetUpFlowInternal(FlowEntity flowEntity,
boolean isRemove) |
void |
syncSetUpGroupInternal(BigInteger dpId,
org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.groups.Group group,
boolean isRemove) |
void |
syncSetUpGroupInternal(GroupEntity groupEntity,
boolean isRemove) |
void |
writeFlowEntityInternal(FlowEntity flowEntity,
org.opendaylight.controller.md.sal.binding.api.WriteTransaction tx) |
void |
writeFlowInternal(BigInteger dpId,
org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.Flow flow,
org.opendaylight.controller.md.sal.binding.api.WriteTransaction tx) |
void |
writeGroupEntityInternal(GroupEntity groupEntity,
org.opendaylight.controller.md.sal.binding.api.WriteTransaction tx) |
void |
writeGroupInternal(BigInteger dpId,
org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.groups.Group group,
org.opendaylight.controller.md.sal.binding.api.WriteTransaction tx) |
@Inject public MDSALManager(org.opendaylight.controller.md.sal.binding.api.DataBroker db, org.opendaylight.yang.gen.v1.urn.opendaylight.packet.service.rev130709.PacketProcessingService pktProcService)
db
- dataBroker referencepktProcService
- PacketProcessingService for sending the packet outsprotected void start() throws Exception
start
in class org.opendaylight.infrautils.inject.AbstractLifecycle
Exception
protected void stop() throws Exception
stop
in class org.opendaylight.infrautils.inject.AbstractLifecycle
Exception
public com.google.common.util.concurrent.CheckedFuture<Void,org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedException> installFlowInternal(FlowEntity flowEntity)
public com.google.common.util.concurrent.CheckedFuture<Void,org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedException> installFlowInternal(BigInteger dpId, org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.Flow flow)
public void writeFlowEntityInternal(FlowEntity flowEntity, org.opendaylight.controller.md.sal.binding.api.WriteTransaction tx)
public void writeFlowInternal(BigInteger dpId, org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.Flow flow, org.opendaylight.controller.md.sal.binding.api.WriteTransaction tx)
public void batchedAddFlowInternal(BigInteger dpId, org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.Flow flow)
public void batchedRemoveFlowInternal(BigInteger dpId, org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.Flow flow)
public com.google.common.util.concurrent.CheckedFuture<Void,org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedException> installGroupInternal(GroupEntity groupEntity)
public void writeGroupEntityInternal(GroupEntity groupEntity, org.opendaylight.controller.md.sal.binding.api.WriteTransaction tx)
public void writeGroupInternal(BigInteger dpId, org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.groups.Group group, org.opendaylight.controller.md.sal.binding.api.WriteTransaction tx)
public com.google.common.util.concurrent.CheckedFuture<Void,org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedException> removeFlowInternal(FlowEntity flowEntity)
public void deleteFlowEntityInternal(FlowEntity flowEntity, org.opendaylight.controller.md.sal.binding.api.WriteTransaction tx)
public com.google.common.util.concurrent.CheckedFuture<Void,org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedException> removeFlowNewInternal(BigInteger dpnId, org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.Flow flowEntity)
public void deleteFlowInternal(BigInteger dpId, org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.Flow flow, org.opendaylight.controller.md.sal.binding.api.WriteTransaction tx)
protected com.google.common.util.concurrent.CheckedFuture<Void,org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedException> removeGroupInternal(BigInteger dpnId, long groupId)
public void removeGroupInternal(BigInteger dpnId, long groupId, org.opendaylight.controller.md.sal.binding.api.WriteTransaction tx)
public void modifyGroupInternal(GroupEntity groupEntity)
public void sendPacketOutInternal(BigInteger dpnId, int groupId, byte[] payload)
public void sendPacketOutWithActionsInternal(BigInteger dpnId, byte[] payload, List<ActionInfo> actionInfos)
public void sendARPPacketOutWithActionsInternal(BigInteger dpnId, byte[] payload, List<ActionInfo> actions)
protected org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node> nodeToInstanceId(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node node)
protected static org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorRef getNodeConnRef(String nodeId, String port)
protected org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node buildDpnNode(BigInteger dpnId)
public void syncSetUpFlowInternal(FlowEntity flowEntity, boolean isRemove)
public void syncSetUpGroupInternal(GroupEntity groupEntity, boolean isRemove)
public void syncSetUpGroupInternal(BigInteger dpId, org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.groups.Group group, boolean isRemove)
public com.google.common.util.concurrent.CheckedFuture<Void,org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedException> installFlow(FlowEntity flowEntity)
installFlow
in interface IMdsalApiManager
public com.google.common.util.concurrent.CheckedFuture<Void,org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedException> installFlow(BigInteger dpId, org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.Flow flowEntity)
installFlow
in interface IMdsalApiManager
public com.google.common.util.concurrent.CheckedFuture<Void,org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedException> installFlow(BigInteger dpId, FlowEntity flowEntity)
installFlow
in interface IMdsalApiManager
public com.google.common.util.concurrent.ListenableFuture<Void> removeFlow(BigInteger dpId, short tableId, org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowId flowId)
removeFlow
in interface IMdsalApiManager
public com.google.common.util.concurrent.CheckedFuture<Void,org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedException> removeFlow(BigInteger dpId, org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.Flow flowEntity)
removeFlow
in interface IMdsalApiManager
public com.google.common.util.concurrent.CheckedFuture<Void,org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedException> removeFlow(BigInteger dpId, FlowEntity flowEntity)
removeFlow
in interface IMdsalApiManager
public com.google.common.util.concurrent.CheckedFuture<Void,org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedException> removeFlow(FlowEntity flowEntity)
removeFlow
in interface IMdsalApiManager
public void installGroup(GroupEntity groupEntity)
installGroup
in interface IMdsalApiManager
public void modifyGroup(GroupEntity groupEntity)
modifyGroup
in interface IMdsalApiManager
public void removeGroup(GroupEntity groupEntity)
IMdsalApiManager
removeGroup
in interface IMdsalApiManager
public void removeGroup(BigInteger dpnId, long groupId)
IMdsalApiManager
removeGroup
in interface IMdsalApiManager
dpnId
- The DP id.groupId
- The group id.public void removeGroup(BigInteger dpnId, long groupId, org.opendaylight.controller.md.sal.binding.api.WriteTransaction tx)
IMdsalApiManager
removeGroup
in interface IMdsalApiManager
dpnId
- The DP id.groupId
- The group id.tx
- The transaction.public void sendPacketOut(BigInteger dpnId, int groupId, byte[] payload)
sendPacketOut
in interface IMdsalApiManager
public void sendPacketOutWithActions(BigInteger dpnId, long groupId, byte[] payload, List<ActionInfo> actionInfos)
IMdsalApiManager
sendPacketOutWithActions
in interface IMdsalApiManager
public void sendPacketOutWithActions(BigInteger dpnId, byte[] payload, List<ActionInfo> actionInfos)
sendPacketOutWithActions
in interface IMdsalApiManager
public void sendARPPacketOutWithActions(BigInteger dpnId, byte[] payload, List<ActionInfo> actionInfo)
sendARPPacketOutWithActions
in interface IMdsalApiManager
public void syncRemoveFlow(FlowEntity flowEntity, long delayTime)
IMdsalApiManager
syncRemoveFlow
in interface IMdsalApiManager
public void syncRemoveFlow(FlowEntity flowEntity)
syncRemoveFlow
in interface IMdsalApiManager
public void syncInstallFlow(FlowEntity flowEntity, long delayTime)
IMdsalApiManager
syncInstallFlow
in interface IMdsalApiManager
public void syncInstallFlow(FlowEntity flowEntity)
syncInstallFlow
in interface IMdsalApiManager
public void syncInstallGroup(GroupEntity groupEntity, long delayTime)
IMdsalApiManager
syncInstallGroup
in interface IMdsalApiManager
public void syncInstallGroup(GroupEntity groupEntity)
syncInstallGroup
in interface IMdsalApiManager
public void syncInstallGroup(BigInteger dpId, org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.groups.Group group, long delayTime)
IMdsalApiManager
syncInstallGroup
in interface IMdsalApiManager
public void syncInstallGroup(BigInteger dpId, org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.groups.Group group)
syncInstallGroup
in interface IMdsalApiManager
public void syncRemoveGroup(GroupEntity groupEntity)
IMdsalApiManager
syncRemoveGroup
in interface IMdsalApiManager
public void syncRemoveGroup(BigInteger dpId, org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.groups.Group group)
syncRemoveGroup
in interface IMdsalApiManager
public void addFlowToTx(FlowEntity flowEntity, org.opendaylight.controller.md.sal.binding.api.WriteTransaction tx)
IMdsalApiManager
addFlowToTx
in interface IMdsalApiManager
flowEntity
- Flow being addedtx
- batched transactionpublic void addFlowToTx(BigInteger dpId, org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.Flow flow, org.opendaylight.controller.md.sal.binding.api.WriteTransaction tx)
IMdsalApiManager
addFlowToTx
in interface IMdsalApiManager
dpId
- dpn Idflow
- Flow being addedtx
- batched transactionpublic void removeFlowToTx(BigInteger dpId, org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.Flow flow, org.opendaylight.controller.md.sal.binding.api.WriteTransaction tx)
IMdsalApiManager
removeFlowToTx
in interface IMdsalApiManager
dpId
- dpn Idflow
- Flow being removedtx
- batched transactionpublic void removeFlowToTx(FlowEntity flowEntity, org.opendaylight.controller.md.sal.binding.api.WriteTransaction tx)
IMdsalApiManager
removeFlowToTx
in interface IMdsalApiManager
flowEntity
- Flow being removedtx
- batched transactionpublic void addGroupToTx(GroupEntity groupEntity, org.opendaylight.controller.md.sal.binding.api.WriteTransaction tx)
IMdsalApiManager
addGroupToTx
in interface IMdsalApiManager
groupEntity
- group being addedtx
- batched transactionpublic void addGroupToTx(BigInteger dpId, org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.groups.Group group, org.opendaylight.controller.md.sal.binding.api.WriteTransaction tx)
IMdsalApiManager
addGroupToTx
in interface IMdsalApiManager
dpId
- dpn Idgroup
- group being addedtx
- batched transactionpublic void removeGroupToTx(GroupEntity groupEntity, org.opendaylight.controller.md.sal.binding.api.WriteTransaction tx)
IMdsalApiManager
removeGroupToTx
in interface IMdsalApiManager
groupEntity
- group being removedtx
- batched transactionpublic void removeGroupToTx(BigInteger dpId, org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.groups.Group group, org.opendaylight.controller.md.sal.binding.api.WriteTransaction tx)
IMdsalApiManager
removeGroupToTx
in interface IMdsalApiManager
dpId
- dpn Idgroup
- group being removedtx
- batched transactionpublic void batchedAddFlow(BigInteger dpId, FlowEntity flowEntity)
batchedAddFlow
in interface IMdsalApiManager
public void batchedRemoveFlow(BigInteger dpId, FlowEntity flowEntity)
batchedRemoveFlow
in interface IMdsalApiManager
public void addBucketToTx(BigInteger dpId, long groupId, org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.group.buckets.Bucket bucket, org.opendaylight.controller.md.sal.binding.api.WriteTransaction tx)
addBucketToTx
in interface IMdsalApiManager
public void removeBucketToTx(BigInteger dpId, long groupId, long bucketId, org.opendaylight.controller.md.sal.binding.api.WriteTransaction tx)
removeBucketToTx
in interface IMdsalApiManager
public void deleteBucket(BigInteger dpId, long groupId, long bucketId, org.opendaylight.controller.md.sal.binding.api.WriteTransaction tx)
public void addBucket(BigInteger dpId, long groupId, org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.group.buckets.Bucket bucket, org.opendaylight.controller.md.sal.binding.api.WriteTransaction tx)
public boolean groupExists(BigInteger dpId, long groupId)
IMdsalApiManager
groupExists
in interface IMdsalApiManager
dpId
- dpn idgroupId
- OF group idpublic boolean flowExists(BigInteger dpId, short tableId, org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.FlowKey flowKey)
Copyright © 2019 OpenDaylight. All rights reserved.