public final class DeleteVlanMapTask extends DeleteDataTask<VlanMap>
DeleteVlanMapTask
describes the MD-SAL datastore transaction task
that deletes the specified VLAN mapping from the vBridge.
A task corresponding to this task is used as a sub task for
RemoveVlanMapTask
.
RemoveVlanMapTask
Modifier and Type | Method and Description |
---|---|
String |
getMapId()
Return an identifier string for the target VLAN mapping.
|
protected void |
onStarted(TxContext ctx,
VlanMap current)
Invoked when the MD-SAL datastore transaction has started.
|
execute, onDeleted
getDatastoreType, getTargetPath
needErrorLog
addBackgroundTask, execute, getBackgroundTasks, getMaxRetry, onFailure, onSuccess
public String getMapId()
protected void onStarted(TxContext ctx, VlanMap current) throws VTNException
onStarted
in class DeleteDataTask<VlanMap>
ctx
- A runtime context for transaction task.current
- The current value of the target VLAN mapping.
Note that null
is passed if the target VLAN
mapping is not present.VTNException
- An error occurred.Copyright © 2018 OpenDaylight. All rights reserved.