B - The type of the virtual bridge that contains the target
virtual interface.public final class RemoveVinterfaceTask<B extends VtnPortMappableBridge> extends RemoveVirtualNodeTask<Vinterface,VInterfaceIdentifier<B>>
RemoveVinterfaceTask describes the MD-SAL datastore transaction task
that removes the specified virtual interface.create(RemoveVinterfaceInput)| Modifier and Type | Method and Description |
|---|---|
static RemoveVinterfaceTask<?> |
create(RemoveVinterfaceInput input)
Construct a new task that removes the specified virtual interface.
|
protected void |
destroy(TxContext ctx,
Vinterface current)
Destroy the target virtual node.
|
protected void |
onDeleted(TxContext ctx)
Invoked when the target data object has been deleted.
|
createOutput, getIdentifier, getOutputType, onStarted, onSuccess, setFlowRemoverexecutegetDatastoreType, getTargetPathneedErrorLogaddBackgroundTask, execute, getBackgroundTasks, getMaxRetry, onFailurepublic static RemoveVinterfaceTask<?> create(RemoveVinterfaceInput input) throws RpcException
input - A RemoveVinterfaceInput instance.RemoveVbridgeTask instance.RpcException - The given input contains invalid value.protected void destroy(TxContext ctx, Vinterface current) throws VTNException
destroy in class RemoveVirtualNodeTask<Vinterface,VInterfaceIdentifier<B extends VtnPortMappableBridge>>ctx - A runtime context for transaction task.current - The virtual node to be removed.VTNException - An error occurred.protected void onDeleted(TxContext ctx) throws VTNException
onDeleted in class DeleteDataTask<Vinterface>ctx - A runtime context for transaction task.VTNException - An error occurred.Copyright © 2018 OpenDaylight. All rights reserved.