Package org.opendaylight.neutron.spi
Interface INeutronTapFlowCRUD
-
- All Superinterfaces:
INeutronCRUD<NeutronTapFlow>
- All Known Implementing Classes:
NeutronTapFlowInterface
public interface INeutronTapFlowCRUD extends INeutronCRUD<NeutronTapFlow>
This interface defines the methods for CRUD of NB OpenStack Tap Flow objects.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.opendaylight.neutron.spi.INeutronCRUD
INeutronCRUD.Result
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
addTapFlow(NeutronTapFlow input)
Applications call this interface method to add a NeutronTapFlow object to the concurrent map.void
deleteTapFlow(String tapServiceUUID, String tapFlowUUID)
Applications call this interface method to delete a NeutronTapFlow object.NeutronTapFlow
getTapFlow(String tapServiceUUID, String tapFlowUUID)
Applications call this interface method to get a NeutronTapFlow object.boolean
tapFlowExists(String tapServiceUUID, String tapFlowUUID)
Applications call this interface method to check if a NeutronTapFlow object exists.void
updateTapFlow(NeutronTapFlow input)
Applications call this interface method to update a NeutronTapFlow object to the concurrent map.
-
-
-
Method Detail
-
tapFlowExists
boolean tapFlowExists(String tapServiceUUID, String tapFlowUUID) throws org.opendaylight.mdsal.common.api.ReadFailedException
Applications call this interface method to check if a NeutronTapFlow object exists.- Parameters:
tapServiceUUID
- UUID of Tap ServicetapFlowUUID
- UUID of Tap Flow- Returns:
- boolean on whether the object was added or not
- Throws:
org.opendaylight.mdsal.common.api.ReadFailedException
- if the read failed
-
getTapFlow
NeutronTapFlow getTapFlow(String tapServiceUUID, String tapFlowUUID) throws org.opendaylight.mdsal.common.api.ReadFailedException
Applications call this interface method to get a NeutronTapFlow object.- Parameters:
tapServiceUUID
- UUID of Tap ServicetapFlowUUID
- UUID of Tap Flow- Returns:
- NeutronTapFlow object
- Throws:
org.opendaylight.mdsal.common.api.ReadFailedException
- if the read failed
-
addTapFlow
boolean addTapFlow(NeutronTapFlow input) throws org.opendaylight.mdsal.common.api.ReadFailedException, org.opendaylight.yangtools.yang.common.OperationFailedException
Applications call this interface method to add a NeutronTapFlow object to the concurrent map.- Parameters:
input
- OpenStackNetwork object- Returns:
- boolean on whether the object was added or not
- Throws:
org.opendaylight.yangtools.yang.common.OperationFailedException
- if the read or write failedorg.opendaylight.mdsal.common.api.ReadFailedException
-
updateTapFlow
void updateTapFlow(NeutronTapFlow input) throws org.opendaylight.mdsal.common.api.TransactionCommitFailedException
Applications call this interface method to update a NeutronTapFlow object to the concurrent map.- Parameters:
input
- OpenStackNetwork object- Throws:
org.opendaylight.mdsal.common.api.TransactionCommitFailedException
- if the write failed
-
deleteTapFlow
void deleteTapFlow(String tapServiceUUID, String tapFlowUUID) throws org.opendaylight.mdsal.common.api.TransactionCommitFailedException
Applications call this interface method to delete a NeutronTapFlow object.- Parameters:
tapServiceUUID
- UUID of Tap ServicetapFlowUUID
- UUID of Tap Flow- Throws:
org.opendaylight.mdsal.common.api.TransactionCommitFailedException
- if the write failed
-
-