public final class RemoveVbridgeTask extends RemoveVirtualNodeTask<Vbridge,VBridgeIdentifier>
RemoveVbridgeTask
describes the MD-SAL datastore transaction task
that removes the specified vBridge.create(RemoveVbridgeInput)
Modifier and Type | Method and Description |
---|---|
static RemoveVbridgeTask |
create(RemoveVbridgeInput input)
Create a new task that removes the specified vBridge.
|
protected void |
destroy(TxContext ctx,
Vbridge current)
Destroy the target virtual node.
|
createOutput, getIdentifier, getOutputType, onStarted, onSuccess, setFlowRemover
execute, onDeleted
getDatastoreType, getTargetPath
needErrorLog
addBackgroundTask, execute, getBackgroundTasks, getMaxRetry, onFailure
public static RemoveVbridgeTask create(RemoveVbridgeInput input) throws RpcException
input
- A RemoveVbridgeInput
instance.RemoveVbridgeTask
instance.RpcException
- The given input contains invalid value.protected void destroy(TxContext ctx, Vbridge current) throws VTNException
destroy
in class RemoveVirtualNodeTask<Vbridge,VBridgeIdentifier>
ctx
- A runtime context for transaction task.current
- The virtual node to be removed.VTNException
- An error occurred.Copyright © 2018 OpenDaylight. All rights reserved.