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