X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=mdsalutil%2Fmdsalutil-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fvpnservice%2Fmdsalutil%2Finterfaces%2FIMdsalApiManager.java;h=3535c435e9c0297c2fde7e5fe7006efecfc88739;hb=3510292a1184e25751f8690ea49a8c2312bba4b3;hp=defa0f596c77693c5e09eb41cba746d046caddeb;hpb=d470c0a64e59091c2e4f1fbdc8d64a10ac824c83;p=vpnservice.git diff --git a/mdsalutil/mdsalutil-api/src/main/java/org/opendaylight/vpnservice/mdsalutil/interfaces/IMdsalApiManager.java b/mdsalutil/mdsalutil-api/src/main/java/org/opendaylight/vpnservice/mdsalutil/interfaces/IMdsalApiManager.java index defa0f59..3535c435 100644 --- a/mdsalutil/mdsalutil-api/src/main/java/org/opendaylight/vpnservice/mdsalutil/interfaces/IMdsalApiManager.java +++ b/mdsalutil/mdsalutil-api/src/main/java/org/opendaylight/vpnservice/mdsalutil/interfaces/IMdsalApiManager.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015 Ericsson India Global Services Pvt Ltd. and others. All rights reserved. + * Copyright (c) 2015 - 2016 Ericsson India Global Services Pvt Ltd. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, @@ -16,6 +16,7 @@ import org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFaile import org.opendaylight.vpnservice.mdsalutil.ActionInfo; import org.opendaylight.vpnservice.mdsalutil.FlowEntity; import org.opendaylight.vpnservice.mdsalutil.GroupEntity; +import org.opendaylight.vpnservice.mdsalutil.*; import org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.Flow; public interface IMdsalApiManager { @@ -44,4 +45,29 @@ public interface IMdsalApiManager { public void sendARPPacketOutWithActions(BigInteger dpnId, byte[] payload, List action_info); + /** + * 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. + * + * @param flowEntity + * @param delayTime + */ + public void syncRemoveFlow(FlowEntity flowEntity, long delayTime); + + /** + * API to install the Group on Data Plane Node synchronously. It internally waits for + * Group Change Notification to confirm group mod request is being sent with-in delayTime + * + * @param groupEntity + * @param delayTime + */ + public void syncInstallGroup(GroupEntity groupEntity, long delayTime); + + /** + * 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. + * + * @param groupEntity + */ + public void syncRemoveGroup(GroupEntity groupEntity); }