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