Class NeutronTapFlowInterface
- java.lang.Object
- 
- org.opendaylight.neutron.transcriber.AbstractTranscriberInterface<TapFlow,TapFlows,TapFlowKey,NeutronTapFlow,TapServiceAttributes>
- 
- org.opendaylight.neutron.transcriber.NeutronTapFlowInterface
 
 
- 
- All Implemented Interfaces:
- AutoCloseable,- INeutronCRUD<NeutronTapFlow>,- INeutronTapFlowCRUD
 
 @Singleton public final class NeutronTapFlowInterface extends AbstractTranscriberInterface<TapFlow,TapFlows,TapFlowKey,NeutronTapFlow,TapServiceAttributes> implements INeutronTapFlowCRUD 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface org.opendaylight.neutron.spi.INeutronCRUDINeutronCRUD.Result
 
- 
 - 
Constructor SummaryConstructors Constructor Description NeutronTapFlowInterface(org.opendaylight.controller.md.sal.binding.api.DataBroker db)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaddTapFlow(NeutronTapFlow tapFlow)Applications call this interface method to add a NeutronTapFlow object to the concurrent map.protected org.opendaylight.yangtools.yang.binding.InstanceIdentifier<TapFlow>createTapFlowInstanceIdentifier(String tapServiceUUID, TapFlow item)voiddeleteTapFlow(String tapServiceUUID, String tapFlowUUID)Applications call this interface method to delete a NeutronTapFlow object.protected NeutronTapFlowfromMd(TapFlow flow)protected List<TapFlow>getDataObjectList(TapFlows flows)NeutronTapFlowgetTapFlow(String tapServiceUUID, String tapFlowUUID)Applications call this interface method to get a NeutronTapFlow object.booleantapFlowExists(String tapServiceUUID, String tapFlowUUID)Applications call this interface method to check if a NeutronTapFlow object exists.protected TapFlowtoMd(NeutronTapFlow flow)voidupdateTapFlow(NeutronTapFlow tapFlow)Applications call this interface method to update a NeutronTapFlow object to the concurrent map.- 
Methods inherited from class org.opendaylight.neutron.transcriber.AbstractTranscriberInterfaceadd, areAllDependenciesAvailable, close, exists, fromMdAdminAttributes, fromMdBaseAttributes, fromMdIds, get, getAll, getDataBroker, getMdParentClass, ifNonNull, readMd, remove, toMd, toMdAdminAttributes, toMdBaseAttributes, toMdIds, toMdIds, toUuid, update
 
- 
 
- 
- 
- 
Method Detail- 
createTapFlowInstanceIdentifierprotected org.opendaylight.yangtools.yang.binding.InstanceIdentifier<TapFlow> createTapFlowInstanceIdentifier(String tapServiceUUID, TapFlow item) 
 - 
getDataObjectListprotected List<TapFlow> getDataObjectList(TapFlows flows) - Specified by:
- getDataObjectListin class- AbstractTranscriberInterface<TapFlow,TapFlows,TapFlowKey,NeutronTapFlow,TapServiceAttributes>
 
 - 
fromMdprotected NeutronTapFlow fromMd(TapFlow flow) - Specified by:
- fromMdin class- AbstractTranscriberInterface<TapFlow,TapFlows,TapFlowKey,NeutronTapFlow,TapServiceAttributes>
 
 - 
toMdprotected TapFlow toMd(NeutronTapFlow flow) - Specified by:
- toMdin class- AbstractTranscriberInterface<TapFlow,TapFlows,TapFlowKey,NeutronTapFlow,TapServiceAttributes>
 
 - 
tapFlowExistspublic boolean tapFlowExists(String tapServiceUUID, String tapFlowUUID) throws org.opendaylight.controller.md.sal.common.api.data.ReadFailedException Description copied from interface:INeutronTapFlowCRUDApplications call this interface method to check if a NeutronTapFlow object exists.- Specified by:
- tapFlowExistsin interface- INeutronTapFlowCRUD
- Parameters:
- tapServiceUUID- UUID of Tap Service
- tapFlowUUID- UUID of Tap Flow
- Returns:
- boolean on whether the object was added or not
- Throws:
- org.opendaylight.controller.md.sal.common.api.data.ReadFailedException- if the read failed
 
 - 
updateTapFlowpublic void updateTapFlow(NeutronTapFlow tapFlow) throws org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedException Description copied from interface:INeutronTapFlowCRUDApplications call this interface method to update a NeutronTapFlow object to the concurrent map.- Specified by:
- updateTapFlowin interface- INeutronTapFlowCRUD
- Parameters:
- tapFlow- OpenStackNetwork object
- Throws:
- org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedException- if the write failed
 
 - 
addTapFlowpublic boolean addTapFlow(NeutronTapFlow tapFlow) throws org.opendaylight.yangtools.yang.common.OperationFailedException Description copied from interface:INeutronTapFlowCRUDApplications call this interface method to add a NeutronTapFlow object to the concurrent map.- Specified by:
- addTapFlowin interface- INeutronTapFlowCRUD
- Parameters:
- tapFlow- OpenStackNetwork object
- Returns:
- boolean on whether the object was added or not
- Throws:
- org.opendaylight.yangtools.yang.common.OperationFailedException- if the read or write failed
 
 - 
getTapFlowpublic NeutronTapFlow getTapFlow(String tapServiceUUID, String tapFlowUUID) throws org.opendaylight.controller.md.sal.common.api.data.ReadFailedException Description copied from interface:INeutronTapFlowCRUDApplications call this interface method to get a NeutronTapFlow object.- Specified by:
- getTapFlowin interface- INeutronTapFlowCRUD
- Parameters:
- tapServiceUUID- UUID of Tap Service
- tapFlowUUID- UUID of Tap Flow
- Returns:
- NeutronTapFlow object
- Throws:
- org.opendaylight.controller.md.sal.common.api.data.ReadFailedException- if the read failed
 
 - 
deleteTapFlowpublic void deleteTapFlow(String tapServiceUUID, String tapFlowUUID) throws org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedException Description copied from interface:INeutronTapFlowCRUDApplications call this interface method to delete a NeutronTapFlow object.- Specified by:
- deleteTapFlowin interface- INeutronTapFlowCRUD
- Parameters:
- tapServiceUUID- UUID of Tap Service
- tapFlowUUID- UUID of Tap Flow
- Throws:
- org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedException- if the write failed
 
 
- 
 
-