Modifier and Type | Method and Description |
---|---|
T |
TxTask.execute(TxContext ctx,
int attempts)
Modify the MD-SAL datastore using the given transaction.
|
<T extends org.opendaylight.yangtools.yang.binding.RpcService> |
VTNManagerProvider.getRpcService(Class<T> type)
Return an implementation of the specified RPC service.
|
<T extends org.opendaylight.yangtools.yang.binding.RpcService> |
VTNManagerProvider.getVtnRpcService(Class<T> type)
Return an implementation of the RPC service provided by the VTN Manager.
|
RemovedFlows |
FlowRemover.removeDataFlow(TxContext ctx)
Remove VTN data flows from the MD-SAL datastore.
|
RemoveFlowRpcList |
RemovedFlows.removeFlowEntries(TxContext ctx,
org.opendaylight.yang.gen.v1.urn.opendaylight.flow.service.rev130819.SalFlowService sfs)
Remove flow entries specified by this instance.
|
Modifier and Type | Method and Description |
---|---|
void |
OperationalListener.awaitConfig(boolean state,
long millis)
Wait for another contoller in the cluster to complete initialization.
|
Modifier and Type | Method and Description |
---|---|
void |
VTNFlowManager.notifyVtnNode(VtnNodeEvent ev)
Invoked when a node information has been added or removed.
|
Modifier and Type | Method and Description |
---|---|
Void |
RollbackTxTask.execute(TxContext ctx)
Modify the MD-SAL datastore using the given transaction.
|
VtnDataFlow |
PutFlowTxTask.execute(TxContext ctx)
Modify the MD-SAL datastore using the given transaction.
|
Modifier and Type | Method and Description |
---|---|
protected VtnUpdateType |
ClearFlowConditionTask.execute(TxContext ctx)
Clear the root container of the flow condition.
|
protected void |
FlowMatchTask.onStarted(TxContext ctx)
Invoked when the MD-SAL datastore transaction has started.
|
protected void |
RemoveFlowConditionTask.onStarted(TxContext ctx,
VtnFlowCondition current)
Invoked when the MD-SAL datastore transaction has started.
|
protected void |
SetFlowConditionTask.onStarted(TxContext ctx,
VtnFlowCondition current)
Invoked when the MD-SAL datastore transaction has started.
|
Modifier and Type | Method and Description |
---|---|
static ReadFlowFuture |
ReadFlowFuture.create(TxContext ctx,
TxQueue txq,
StatsReaderService srs,
GetDataFlowInput input)
Construct a new instance.
|
Constructor and Description |
---|
ReadDataFlowFuture(TxContext ctx,
TxQueue txq,
StatsReaderService srs,
GetDataFlowInput input)
Construct a new instance.
|
ReadFlowFuture(TxContext ctx,
TxQueue txq,
StatsReaderService srs,
GetDataFlowInput input)
Construct a new instance.
|
ReadSingleFlowFuture(TxContext ctx,
TxQueue txq,
StatsReaderService srs,
GetDataFlowInput input)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
RemovedFlows |
DeleteFlowTxTask.execute(TxContext ctx)
Modify the MD-SAL datastore using the given transaction.
|
protected List<VtnFlowTable> |
GlobalScanFlowRemover.getFlowTables(org.opendaylight.controller.md.sal.binding.api.ReadWriteTransaction tx)
Return a list of all existing VTN flow tables.
|
protected abstract List<VtnFlowTable> |
ScanFlowRemover.getFlowTables(org.opendaylight.controller.md.sal.binding.api.ReadWriteTransaction tx)
Return a list of VTN flow tables to be scanned.
|
protected List<VtnFlowTable> |
TenantScanFlowRemover.getFlowTables(org.opendaylight.controller.md.sal.binding.api.ReadWriteTransaction tx)
Return the target VTN flow table as a list.
|
protected void |
IndexFlowRemover.remove(R removed,
org.opendaylight.controller.md.sal.binding.api.ReadWriteTransaction tx,
VtnFlowTable table)
Remove VTN data flows related to the target node in the given VTN
flow table.
|
RemovedDataFlows<TenantFlowRemover> |
TenantFlowRemover.removeDataFlow(TxContext ctx)
Remove VTN data flows from the MD-SAL datastore.
|
RemovedAllFlows |
AllFlowRemover.removeDataFlow(TxContext ctx)
Remove VTN data flows from the MD-SAL datastore.
|
RemovedPortFlows |
PortFlowRemover.removeDataFlow(TxContext ctx)
Remove VTN data flows from the MD-SAL datastore.
|
RemovedDataFlows<NodeFlowRemover> |
NodeFlowRemover.removeDataFlow(TxContext ctx)
Remove VTN data flows from the MD-SAL datastore.
|
RemovedDataFlows<TenantIndexFlowRemover<T>> |
TenantIndexFlowRemover.removeDataFlow(TxContext ctx)
Remove VTN data flows from the MD-SAL datastore.
|
RemovedDataFlow |
RemovedFlowRemover.removeDataFlow(TxContext ctx)
Remove VTN data flows from the MD-SAL datastore.
|
RemovedDataFlows<ScanFlowRemover> |
ScanFlowRemover.removeDataFlow(TxContext ctx)
Remove VTN data flows from the MD-SAL datastore.
|
protected RemoveFlowRpcList |
RemovedPortFlows.removeFlowEntries(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.service.rev130819.SalFlowService sfs,
List<FlowCache> flows,
InventoryReader reader)
Remove the given flow entries.
|
protected RemoveFlowRpcList |
RemovedDataFlows.removeFlowEntries(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.service.rev130819.SalFlowService sfs,
List<FlowCache> flows,
InventoryReader reader)
Remove the given flow entries.
|
RemoveFlowRpcList |
RemovedAllFlows.removeFlowEntries(TxContext ctx,
org.opendaylight.yang.gen.v1.urn.opendaylight.flow.service.rev130819.SalFlowService sfs)
Remove flow entries specified by this instance.
|
RemoveFlowRpcList |
RemovedDataFlow.removeFlowEntries(TxContext ctx,
org.opendaylight.yang.gen.v1.urn.opendaylight.flow.service.rev130819.SalFlowService sfs)
Remove flow entries specified by this instance.
|
RemoveFlowRpcList |
RemovedDataFlows.removeFlowEntries(TxContext ctx,
org.opendaylight.yang.gen.v1.urn.opendaylight.flow.service.rev130819.SalFlowService sfs)
Remove flow entries specified by this instance.
|
protected boolean |
EdgeHostFlowRemover.select(FlowCache fc)
Determine whether the given data flow should be removed or not.
|
protected boolean |
EdgePortFlowRemover.select(FlowCache fc)
Determine whether the given data flow should be removed or not.
|
protected boolean |
VNodeFlowRemover.select(FlowCache fc)
Determine whether the given data flow should be removed or not.
|
protected abstract boolean |
TenantIndexFlowRemover.select(FlowCache fc)
Determine whether the given data flow should be removed or not.
|
protected boolean |
EdgeNodeFlowRemover.select(FlowCache fc)
Determine whether the given data flow should be removed or not.
|
protected abstract boolean |
ScanFlowRemover.select(FlowCache fc)
Determine whether the given data flow should be removed or not.
|
Modifier and Type | Method and Description |
---|---|
Boolean |
AddFlowStatsTask.execute(TxContext ctx)
Modify the MD-SAL datastore using the given transaction.
|
Void |
AddedFlowStats.execute(TxContext ctx)
Modify the MD-SAL datastore using the given transaction.
|
Modifier and Type | Method and Description |
---|---|
protected void |
VtnPortEvent.notifyEvent()
Notify this event to event listener.
|
protected void |
VtnNodeEvent.notifyEvent()
Notify this event to event listener.
|
void |
VTNInventoryListener.notifyVtnNode(VtnNodeEvent ev)
Invoked when a node information has been added or removed.
|
void |
VTNInventoryListener.notifyVtnPort(VtnPortEvent ev)
Invoked when a port information has been added, removed, or changed.
|
Modifier and Type | Method and Description |
---|---|
void |
XmlStaticTopologyConfig.load(VtnStaticTopologyBuilder builder,
org.opendaylight.controller.md.sal.binding.api.ReadWriteTransaction tx)
Load the static network topology configuration from XML file.
|
Modifier and Type | Method and Description |
---|---|
protected void |
PacketInEvent.notifyEvent()
Notify this event to event listener.
|
void |
VTNPacketListener.notifyPacket(PacketInEvent ev)
Invoked when a packet has been received.
|
void |
VTNPacketService.notifyVtnPort(VtnPortEvent ev)
Invoked when a port information has been added, removed, or changed.
|
Modifier and Type | Method and Description |
---|---|
boolean |
IcmpPacket.commit(CachedPacketContext pctx)
Finalize modification to the packet.
|
boolean |
PortProtoPacket.commit(CachedPacketContext pctx)
Finalize modification to the packet.
|
boolean |
CachedPacket.commit(CachedPacketContext pctx)
Finalize modification to the packet.
|
boolean |
Inet4Packet.commit(CachedPacketContext pctx)
Finalize modification to the packet.
|
protected static short |
PortProtoPacket.computeChecksum(Inet4Packet ipv4,
PortPacket<?> packet,
int sumOff)
Compute the checksum of the given packet.
|
boolean |
TcpPacket.updateChecksum(Inet4Packet ipv4)
Calculate the checksum of the packet, and set the computed checksum
into a
Packet instance
configured in this instance. |
boolean |
UdpPacket.updateChecksum(Inet4Packet ipv4)
Calculate the checksum of the packet, and set the computed checksum
into a
Packet instance
configured in this instance. |
boolean |
L4Packet.updateChecksum(Inet4Packet ipv4)
Calculate the checksum of the packet, and set the computed checksum
into a
Packet instance
configured in this instance. |
protected static boolean |
PortProtoPacket.verifyChecksum(Inet4Packet ipv4,
PortPacket<?> packet)
Verify the packet using the checksum.
|
Modifier and Type | Method and Description |
---|---|
<T extends org.opendaylight.yangtools.yang.binding.RpcService> |
VTNManagerProviderImpl.getRpcService(Class<T> type)
Return an implementation of the specified RPC service.
|
<T extends org.opendaylight.yangtools.yang.binding.RpcService> |
VTNManagerProviderImpl.getVtnRpcService(Class<T> type)
Return an implementation of the RPC service provided by the VTN Manager.
|
Modifier and Type | Method and Description |
---|---|
protected VtnUpdateType |
ClearPathPolicyTask.execute(TxContext ctx)
Clear the root container of the path policy.
|
protected VtnUpdateType |
ClearPathMapTask.execute(TxContext ctx)
Clear the specified path map container.
|
protected void |
RoutingEvent.notifyEvent()
Notify this event to event listener.
|
protected void |
PathCostTask.onStarted(TxContext ctx)
Invoked when the MD-SAL datastore transaction has started.
|
protected void |
PathMapTask.onStarted(TxContext ctx)
Invoked when the MD-SAL datastore transaction has started.
|
protected void |
SetPathPolicyTask.onStarted(TxContext ctx,
VtnPathPolicy current)
Invoked when the MD-SAL datastore transaction has started.
|
protected void |
RemovePathPolicyTask.onStarted(TxContext ctx,
VtnPathPolicy current)
Invoked when the MD-SAL datastore transaction has started.
|
void |
VTNRoutingListener.routingUpdated(RoutingEvent ev)
Invoked when the packet routing table has been updated.
|
Modifier and Type | Method and Description |
---|---|
static <T extends org.opendaylight.yangtools.yang.binding.DataObject> |
DataStoreUtils.delete(org.opendaylight.controller.md.sal.binding.api.ReadWriteTransaction tx,
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> path)
Delete data in the MD-SAL operational datastore at the specified path.
|
static <T extends org.opendaylight.yangtools.yang.binding.DataObject> |
DataStoreUtils.delete(org.opendaylight.controller.md.sal.binding.api.ReadWriteTransaction tx,
org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType store,
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> path)
Delete data at the specified path.
|
boolean |
VTNTimer.flush(long timeout,
TimeUnit unit)
Flush the task queue for this timer.
|
static <T extends org.opendaylight.yangtools.yang.binding.DataObject> |
DataStoreUtils.read(com.google.common.util.concurrent.CheckedFuture<com.google.common.base.Optional<T>,org.opendaylight.controller.md.sal.common.api.data.ReadFailedException> future)
Wait for completion of the given read transaction future, and return
data.
|
static <T extends org.opendaylight.yangtools.yang.binding.DataObject> |
DataStoreUtils.read(org.opendaylight.controller.md.sal.binding.api.ReadTransaction rtx,
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> path)
Read data from the MD-SAL operational datastore at the given path.
|
static <T extends org.opendaylight.yangtools.yang.binding.DataObject> |
DataStoreUtils.read(org.opendaylight.controller.md.sal.binding.api.ReadTransaction rtx,
org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType store,
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> path)
Read data from the given MD-SAL datastore at the given path.
|
Modifier and Type | Method and Description |
---|---|
static VTNException |
AbstractVTNFuture.getException(Throwable t)
Return a
VTNException which represents the cause of failure. |
Modifier and Type | Method and Description |
---|---|
default T |
VTNFuture.checkedGet()
Wait for the computation to complete, and then return the result.
|
default T |
VTNFuture.checkedGet(long timeout,
TimeUnit unit)
Wait for the computation to complete within the given timeout, and then
return the result.
|
Modifier and Type | Method and Description |
---|---|
static org.opendaylight.yang.gen.v1.urn.opendaylight.flow.service.rev130819.RemoveFlowInputBuilder |
FlowUtils.createRemoveFlowInputBuilder(SalNode snode,
VtnFlowEntry vfent,
InventoryReader reader)
Construct an RPC input builder to uninstall the specified flow entry.
|
IdentifiedData<VtnDataFlow> |
FlowFinder.find(VtnFlowId flowId)
Search for the VTN data flow associated with the given ID.
|
VirtualNodePath |
FlowCache.getEgressPath()
Return the path to the virtual node which maps the egress flow.
|
static List<VtnFlowTable> |
FlowUtils.getFlowTables(org.opendaylight.controller.md.sal.binding.api.ReadTransaction tx)
Return a list of all existing VTN flow tables.
|
String |
FlowCache.getIngressMatchKey()
Return a string which represents the condition configured in the ingress
flow entry.
|
String |
VTNDataFlow.getIngressMatchKey()
Return a string which represents the condition configured in the ingress
flow entry.
|
VirtualNodePath |
FlowCache.getIngressPath()
Return the path to the virtual node which maps the ingress flow.
|
static org.opendaylight.yang.gen.v1.urn.opendaylight.flow.statistics.rev130819.flow.statistics.FlowStatistics |
FlowStatsUtils.read(org.opendaylight.controller.md.sal.binding.api.ReadTransaction rtx,
org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeId node,
org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowId flowId)
Read statistics information for the given MD-SAL flow.
|
static boolean |
FlowUtils.removeDataFlow(org.opendaylight.controller.md.sal.binding.api.ReadWriteTransaction tx,
String tname,
VTNDataFlow df)
Remove the given data flow from the MD-SAL datastore.
|
static RemoveFlowRpcList |
FlowUtils.removeFlowEntries(FlowRpcWatcher watcher,
org.opendaylight.yang.gen.v1.urn.opendaylight.flow.service.rev130819.SalFlowService sfs,
List<FlowCache> flows,
InventoryReader reader)
Remove all flow entries in the given VTN data flows.
|
static RemoveFlowRpcList |
FlowUtils.removeFlowEntries(FlowRpcWatcher watcher,
org.opendaylight.yang.gen.v1.urn.opendaylight.flow.service.rev130819.SalFlowService sfs,
List<FlowCache> flows,
SalPort sport,
InventoryReader reader)
Remove all flow entries in the given VTN data flows.
|
static <T extends FlowIdSet> |
FlowUtils.removeFlowIdSet(org.opendaylight.controller.md.sal.binding.api.ReadWriteTransaction tx,
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> path)
Remove the given flow ID set if it is empty.
|
static void |
FlowUtils.removeIndex(org.opendaylight.controller.md.sal.binding.api.ReadWriteTransaction tx,
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<VtnFlowTable> path,
VTNDataFlow df)
Remove the given data flow from all flow indices in the MD-SAL
datastore.
|
static void |
FlowUtils.removeIndex(org.opendaylight.controller.md.sal.binding.api.ReadWriteTransaction tx,
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<VtnFlowTable> path,
VTNDataFlow df,
FlowIdListKey idKey)
Remove the given data flow from all flow indices in the MD-SAL
datastore.
|
DataFlowInfoBuilder |
FlowCache.toDataFlowInfoBuilder(InventoryReader inv,
DataFlowMode mode)
Return a
DataFlowInfoBuilder that contains information about
the data flow. |
void |
RemoveFlowRpcList.verify(org.slf4j.Logger logger,
long timeout,
TimeUnit unit)
Verify the result of remove-flow RPC.
|
Constructor and Description |
---|
FlowFinder(org.opendaylight.controller.md.sal.binding.api.ReadTransaction rtx)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
static void |
FlowCondUtils.checkPresent(org.opendaylight.controller.md.sal.binding.api.ReadTransaction rtx,
VnodeName vname)
Determine whether the specified flow condition is present or not.
|
static VTNFlowCondition |
FlowCondUtils.readFlowCondition(org.opendaylight.controller.md.sal.binding.api.ReadTransaction rtx,
String name)
Read the flow condition specified by the given name from the MD-SAL
datastore.
|
static List<VTNFlowCondition> |
FlowCondUtils.readFlowConditions(org.opendaylight.controller.md.sal.binding.api.ReadTransaction rtx)
Read all the flow conditions from the MD-SAL datastore.
|
static VTNFlowMatch |
FlowCondUtils.readFlowMatch(org.opendaylight.controller.md.sal.binding.api.ReadTransaction rtx,
String name,
int idx)
Read the flow match specified by the given index in the given flow
condition from the MD-SAL datastore.
|
Modifier and Type | Method and Description |
---|---|
boolean |
PortFilter.accept(SalPort sport,
VtnPort vport)
Test if the specified switch port should be accepted or not.
|
VtnLink |
LinkUpdateContext.addVtnLink(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.LinkId lid,
SalPort src,
SalPort dst)
Add the given inter-switch link information detected by topology-manager
into the VTN inventory data.
|
static void |
InventoryUtils.clearPortLink(org.opendaylight.controller.md.sal.binding.api.ReadWriteTransaction tx,
SalPort sport,
VtnPort vport)
Remove all the VTN links configured in the given VTN port.
|
void |
InventoryReader.collectUpEdgePorts(Set<SalPort> portSet)
Collect node connectors associated with edge switch ports in up state.
|
void |
InventoryReader.collectUpEdgePorts(Set<SalPort> portSet,
PortFilter filter)
Collect node connectors associated with edge switch ports in up state.
|
boolean |
InventoryReader.exists(SalNode snode)
Determine whether the given node is present or not.
|
SalPort |
InventoryReader.findPort(SalNode snode,
VtnSwitchPort vswp)
Find a
SalPort instance that meets the specified condition. |
VtnNode |
InventoryReader.get(SalNode snode)
Return the VTN node information specified by the given
SalNode
instance. |
VtnPort |
InventoryReader.get(SalPort sport)
Return the VTN port information specified by the given
SalPort
instance. |
static VtnOpenflowVersion |
InventoryUtils.getOpenflowVersion(org.opendaylight.controller.md.sal.binding.api.ReadTransaction rtx,
SalNode snode)
Return the OpenFlow protocol version used by the specified switch.
|
O |
NodeRpcInvocation.getResult(long timeout,
TimeUnit unit,
org.slf4j.Logger logger)
Wait for the RPC execution to complete, and return the result.
|
Set<SalPort> |
InventoryReader.getReverseStaticLinks(SalPort dst)
Search for static inter-switch link configurations by the destination
port of the link.
|
SalPort |
InventoryReader.getStaticLink(SalPort src)
Search for a static inter-switch link configuration by the source port
of the link.
|
List<VtnNode> |
InventoryReader.getVtnNodes()
Return all node information as a list.
|
boolean |
InventoryReader.isEnabled(SalPort sport)
Determine whether the given port is enabled or not.
|
boolean |
InventoryReader.isStaticEdgePort(SalPort sport)
Determine whether the given switch port is configured as an edge port
or not.
|
static void |
InventoryUtils.removeIgnoredLink(org.opendaylight.controller.md.sal.binding.api.ReadWriteTransaction tx,
SalNode snode)
Remove all VTN links in ignored-links affected by the removed VTN node.
|
static void |
InventoryUtils.removePortLink(org.opendaylight.controller.md.sal.binding.api.ReadWriteTransaction tx,
SalPort sport,
org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.LinkId lid)
Remove the specified port link.
|
static void |
InventoryUtils.removeVtnLink(org.opendaylight.controller.md.sal.binding.api.ReadWriteTransaction tx,
SalNode snode)
Remove all VTN links affected by the the removed VTN node.
|
static void |
InventoryUtils.removeVtnLink(org.opendaylight.controller.md.sal.binding.api.ReadWriteTransaction tx,
VtnPort vport)
Remove all VTN links affected by the removed VTN port.
|
static void |
InventoryUtils.removeVtnTopologyLink(org.opendaylight.controller.md.sal.binding.api.ReadWriteTransaction tx,
SalNode snode)
Remove all VTN links in vtn-topology affected by the removed VTN node.
|
void |
LinkUpdateContext.resolveIgnoredLinks()
Try to resolve ignored inter-switch links.
|
VtnPort |
LinkUpdateContext.restoreVtnLinks(SalPort sport,
VtnPort vport)
Restore inter-switch links on the given switch port from the MD-SAL
network topology.
|
void |
LinkUpdateContext.updateStaticTopology(SalPort sport,
VtnPort vport)
Update static network topology configured to the given switch port.
|
Modifier and Type | Method and Description |
---|---|
static VtnPathMap |
PathMapUtils.readPathMap(org.opendaylight.controller.md.sal.binding.api.ReadTransaction rtx,
Integer index)
Read the path map associated with the given index in the global path
map list.
|
static VtnPathMap |
PathMapUtils.readPathMap(org.opendaylight.controller.md.sal.binding.api.ReadTransaction rtx,
VTenantIdentifier ident,
Integer index)
Read the path map associated with the given index in the given VTN.
|
static List<VtnPathMap> |
PathMapUtils.readPathMaps(org.opendaylight.controller.md.sal.binding.api.ReadTransaction rtx)
Read the path maps in the global path map list.
|
static List<VtnPathMap> |
PathMapUtils.readPathMaps(org.opendaylight.controller.md.sal.binding.api.ReadTransaction rtx,
VTenantIdentifier ident)
Read the VTN path maps in the given VTN.
|
Modifier and Type | Method and Description |
---|---|
static VtnPathCost |
PathPolicyUtils.readVtnPathCost(org.opendaylight.controller.md.sal.binding.api.ReadTransaction rtx,
int id,
VtnPortDesc vdesc)
Read the cost information associated with the given port location
in the given path policy.
|
static List<VtnPathPolicy> |
PathPolicyUtils.readVtnPathPolicies(org.opendaylight.controller.md.sal.binding.api.ReadTransaction rtx)
Read all the path policies from the MD-SAL datastore.
|
static VtnPathPolicy |
PathPolicyUtils.readVtnPathPolicy(org.opendaylight.controller.md.sal.binding.api.ReadTransaction rtx,
Integer id)
Read path policy configuration specified by the given ID.
|
Modifier and Type | Class and Description |
---|---|
class |
RpcException
RpcException is an exception which indicates the failure of the
RPC request. |
Modifier and Type | Method and Description |
---|---|
static <T> T |
RpcUtils.checkResult(RpcRequest rpc,
org.opendaylight.yangtools.yang.common.RpcResult<T> result,
org.slf4j.Logger logger)
Check the given RPC result.
|
O |
RpcInvocation.getResult(long timeout,
TimeUnit unit,
org.slf4j.Logger logger)
Wait for the RPC execution to complete, and return the result.
|
Modifier and Type | Method and Description |
---|---|
protected Void |
TxEvent.execute(TxContext ctx)
Deliver this event on a MD-SAL datastore transaction queue.
|
protected VtnUpdateType |
PutDataTask.execute(TxContext ctx)
Create or update a data object in the MD-SAL datastore.
|
protected VtnUpdateType |
DeleteDataTask.execute(TxContext ctx)
Delete a data object in the MD-SAL datastore.
|
protected List<V> |
CompositeTxTask.execute(TxContext ctx)
Execute all sub tasks on the given MD-SAL transaction context.
|
protected abstract T |
AbstractTxTask.execute(TxContext ctx)
Modify the MD-SAL datastore using the given transaction.
|
T |
AbstractTxTask.execute(TxContext ctx,
int attempts)
Modify the MD-SAL datastore using the given transaction.
|
protected abstract void |
TxEvent.notifyEvent()
Notify this event to event listener.
|
protected void |
CompositeTxTask.onCompleted(TxContext ctx,
List<V> results)
Invoked when all the sub tasks have completed.
|
protected void |
DeleteDataTask.onDeleted(TxContext ctx)
Invoked when the target data object has been deleted.
|
protected void |
CompositeTxTask.onStarted(TxContext ctx)
Invoked when the MD-SAL datastore transaction has started.
|
protected void |
PutDataTask.onStarted(TxContext ctx,
D current)
Invoked when the MD-SAL datastore transaction has started.
|
protected void |
DeleteDataTask.onStarted(TxContext ctx,
D current)
Invoked when the MD-SAL datastore transaction has started.
|
Modifier and Type | Class and Description |
---|---|
class |
MacMapConflictException
An exception which indicates the specified host is already mapped by the
MAC mapping.
|
class |
MacMapDuplicateException
An exception which indicates the same MAC address as the specified host
is already mapped by the same MAC mapping.
|
class |
MacMapException
A base class of exception which indicates invalid state of the MAC mapping.
|
class |
MacMapGoneException
An exception which indicates the specified host is no longer mapped by the
target MAC mapping.
|
class |
MacMapPortBusyException
An exception which indicates the specified VLAN network on a switch port is
reserved by another virtual mapping.
|
Modifier and Type | Method and Description |
---|---|
List<FlowFilterResult> |
VNodeIdentifier.clearFlowFilter(org.opendaylight.controller.md.sal.binding.api.ReadWriteTransaction tx,
boolean output)
Delete all the flow filters in the specified flow filter list.
|
T |
VNodeIdentifier.fetch(org.opendaylight.controller.md.sal.binding.api.ReadTransaction rtx)
Read the data object specified by this instance.
|
Map<MacVlan,SalPort> |
VTNMacMapStatus.inactivate(PortFilter filter,
Set<PortVlan> rels)
Inactivate all MAC mappings detected on switch port accepted by the
specified port filter.
|
com.google.common.base.Optional<T> |
VNodeIdentifier.read(org.opendaylight.controller.md.sal.binding.api.ReadTransaction rtx)
Read the data object specified by this instance.
|
com.google.common.base.Optional<VtenantConfig> |
VNodeIdentifier.readVtenantConfig(org.opendaylight.controller.md.sal.binding.api.ReadTransaction rtx)
Read the configuration for the VTN specified by this instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
MacEntryFilter.accept(MacTableEntry ment)
Test if the specified MAC address table entry should be accepted or not.
|
boolean |
ExtendedPortVlanMacFilter.accept(MacTableEntry ment)
Test if the specified MAC address table entry should be accepted or not.
|
Modifier and Type | Method and Description |
---|---|
boolean |
MacMapCleaner.accept(MacTableEntry ment)
Test if the specified MAC address table entry should be accepted or not.
|
boolean |
VlanMapPortFilter.accept(SalPort sport,
VtnPort vport)
Test if the specified switch port is mapped by the specified
VLAN mapping.
|
boolean |
MacMapActivation.activate(TxContext ctx)
Activate the specified host in the MAC mapping.
|
boolean |
VTNMacMap.activate(TxContext ctx,
VBridge vbr,
EtherAddress eaddr,
SalPort sport,
int vid)
Activate the specified host in the MAC mapping.
|
protected abstract void |
UpdateVinterfaceTask.addInterface(TxContext ctx,
VInterfaceIdentifier<B> ident,
Vinterface vintf)
Add a new virtual interface.
|
void |
MacMapRegistry.apply()
Apply new configuration for the MAC mapping.
|
protected void |
VirtualBridge.broadcastInterfaces(PacketContext pctx,
Set<PortVlan> sent)
Broadcast the given packet to all the virtual interfaces configured in
this virtual bridge.
|
static boolean |
VTNVlanMap.checkNode(TxContext ctx,
SalNode snode)
Determine whether the given node is suitable for the VLAN mapping or
not.
|
protected void |
UpdateVinterfaceTask.checkParent(TxContext ctx)
Ensure that the parent virtual bridge is present.
|
protected void |
UpdateVterminalTask.checkParent(TxContext ctx)
Ensure that the parent VTN is present.
|
protected abstract void |
UpdateVirtualNodeTask.checkParent(TxContext ctx)
Ensure that the parent node is present.
|
protected void |
UpdateVbridgeTask.checkParent(TxContext ctx)
Ensure that the parent VTN is present.
|
protected void |
VirtualMapRegistry.cleanUp()
Clean up the transaction for changing virtual network mapping.
|
protected void |
MacMapRegistry.cleanUpImpl(TxContext ctx)
Clean up the transaction for changing virtual network mapping.
|
protected abstract void |
VirtualMapRegistry.cleanUpImpl(TxContext ctx)
Clean up the transaction for changing virtual network mapping.
|
protected void |
PortMapRegistry.cleanUpImpl(TxContext ctx)
Clean up the transaction for changing virtual network mapping.
|
void |
PacketContext.commit()
Commit all modifications to the packet.
|
static <B extends VtnPortMappableBridge> |
VirtualBridge.create(org.opendaylight.controller.md.sal.binding.api.ReadTransaction rtx,
BridgeIdentifier<B> ident)
Construct a new virtual bridge instance.
|
protected abstract void |
UpdateVirtualNodeTask.create(TxContext ctx,
I ident,
C cfg)
Create a new virtual node.
|
protected void |
UpdateVbridgeTask.create(TxContext ctx,
VBridgeIdentifier ident,
VbridgeConfig cfg)
Create a new vBridge.
|
protected void |
UpdateVinterfaceTask.create(TxContext ctx,
VInterfaceIdentifier<B> ident,
VinterfaceConfig cfg)
Create a new virtual interface.
|
protected void |
UpdateVtnTask.create(TxContext ctx,
VTenantIdentifier ident,
VtenantConfig cfg)
Create a new VTN.
|
protected void |
UpdateVterminalTask.create(TxContext ctx,
VTerminalIdentifier ident,
VterminalConfig cfg)
Create a new vTerminal.
|
Ethernet |
PacketContext.createFrame(int vlan)
Create a new ethernet frame that forwards the received packet.
|
void |
VTerminal.destroy(TxContext ctx,
boolean retain)
Destroy the vTerminal.
|
abstract void |
VirtualBridge.destroy(TxContext ctx,
boolean retain)
Destroy the virtual bridge.
|
void |
VBridge.destroy(TxContext ctx,
boolean retain)
Destroy the vBridge.
|
protected abstract void |
RemoveVirtualNodeTask.destroy(TxContext ctx,
T current)
Destroy the target virtual node.
|
protected void |
RemoveVbridgeTask.destroy(TxContext ctx,
Vbridge current)
Destroy the target virtual node.
|
protected void |
RemoveVinterfaceTask.destroy(TxContext ctx,
Vinterface current)
Destroy the target virtual node.
|
protected void |
RemoveVterminalTask.destroy(TxContext ctx,
Vterminal current)
Destroy the target virtual node.
|
protected void |
RemoveVtnTask.destroy(TxContext ctx,
Vtn current)
Destroy the target virtual node.
|
protected void |
VirtualBridge.destroyInterfaces(TxContext ctx)
Destroy all the virtual interfaces in this virtual bridge.
|
protected VlanMap |
AddVlanMapTask.execute(TxContext ctx)
Add a VLAN mapping to the target vBridge.
|
protected VtnUpdateType |
SetPortMapTask.execute(TxContext ctx)
Configure the port mapping in the specified virtual interface.
|
protected List<RemoveVlanMapResult> |
ClearVlanMapTask.execute(TxContext ctx)
Clear all the VLAN mappings configured in the specified vBridge.
|
protected VtnUpdateType |
UpdateVirtualNodeTask.execute(TxContext ctx)
Create or update the specified virtual node in the MD-SAL datastore.
|
protected VtnUpdateType |
RemovePortMapTask.execute(TxContext ctx)
Remove the port mapping from the specified virtual interface.
|
protected VtnUpdateType |
UpdateMacMapTask.execute(TxContext ctx)
Update the MAC mapping configuration.
|
protected List<FlowFilterResult> |
ClearFlowFilterTask.execute(TxContext ctx)
Clear the specified flow filter list.
|
protected List<RemoveMacEntryResult> |
ClearMacEntryTask.execute(TxContext ctx)
Clear the specified MAC address table.
|
protected void |
VirtualBridge.forward(PacketContext pctx,
SalPort egress,
int outVid)
Forward the given unicast packet to the specified physical network, and
establish the data flow for the given packet.
|
protected abstract void |
VirtualBridge.forward(PacketContext pctx,
VirtualMapNode vnode)
Forward the specified packet to the virtual mapping configured in this
virtual bridge.
|
protected void |
VBridge.forward(PacketContext pctx,
VirtualMapNode vnode)
Forward the specified packet to the virtual mapping configured in this
virtual bridge.
|
protected abstract void |
MacEntryWalker.found(TxContext ctx,
BridgeIdentifier<Vbridge> ident,
MacTableEntry ment)
Invoke when a MAC address table entry is detected.
|
protected void |
MacEntryRemover.found(TxContext ctx,
BridgeIdentifier<Vbridge> ident,
MacTableEntry ment)
Invoke when a MAC address table entry is detected.
|
VTNMacMapStatus |
MacMapStatusReader.get(MacMapIdentifier ident)
Return the runtime status of the given MAC mapping.
|
VirtualBridge<?> |
VNodeReader.getBridge(TenantNodeIdentifier<?,?> ident)
Return the virtual bridge that contains the specified virtual node.
|
String |
PacketContext.getIngressPortName()
Return the name of the ingress switch port.
|
static org.apache.commons.lang3.tuple.Pair<MacVlan,String> |
MappingRegistry.getMacMapAllowed(org.opendaylight.controller.md.sal.binding.api.ReadTransaction rtx,
MacVlan mv)
Return an entry of the mac-map-allowed list that maps the specified host
by MAC mapping.
|
static TenantNodeIdentifier<?,?> |
MappingRegistry.getMapping(TxContext ctx,
EtherAddress eaddr,
SalPort sport,
int vid)
Return the identifier for the virtual network mapping which maps the
specified host.
|
static MacMapIdentifier |
MappingRegistry.getMapping(TxContext ctx,
MacVlan mv)
Return the identifier for the MAC mapping which maps the specified host.
|
static VNodeIdentifier<?> |
MappingRegistry.getMapping(TxContext ctx,
PortVlan pv)
Return the identifier for the virtual network mapping which reserves the
specified VLAN on a swtich port.
|
VBridge |
VNodeReader.getVBridge(VBridgeIdentifier vbrId)
Return the specified vBridge.
|
static VlanMapIdentifier |
MappingRegistry.getVlanMapping(org.opendaylight.controller.md.sal.binding.api.ReadTransaction rtx,
SalPort sport,
int vid)
Return the identifier for the VLAN mapping which maps the specified
VLAN on a switch port.
|
VTerminal |
VNodeReader.getVTerminal(VTerminalIdentifier vtmId)
Return the specified vTerminal.
|
static boolean |
MappingRegistry.inactivateMacMap(TxContext ctx,
MacMapIdentifier mapId,
PortFilter filter)
Inactivate all the MAC mappings detected on switch ports specified by
the port filter.
|
boolean |
VTNMacMap.isActive(TxContext ctx,
EtherAddress eaddr,
SalPort sport,
int vid)
Determine whether the given host is currently mapped by the MAC mapping
or not.
|
protected abstract boolean |
VlanMapPortFilter.isMapped(TxContext ctx,
SalPort sport,
int vid)
Test if the specified switch port is mapped by the specified
VLAN mapping.
|
static boolean |
MappingRegistry.isPortMapped(TxContext ctx,
PortVlan pv)
Determine whether the given pair of switch port and VLAN ID is mapped
to the virtual interface or not.
|
static boolean |
MappingRegistry.isVlanMapped(TxContext ctx,
NodeVlan nv)
Determine whether the given VLAN on a switch is mapped by VLAN mapping
or not.
|
protected VirtualMapNode |
VirtualBridge.match(PacketContext pctx,
EtherAddress eaddr,
SalPort sport,
int vid)
Return the virtual network node in this virtual bridge that maps the
specified host.
|
protected VirtualMapNode |
VirtualBridge.match(PacketContext pctx,
TenantNodeIdentifier<?,?> ref,
EtherAddress eaddr,
SalPort sport,
int vid,
boolean pktin)
Return the virtual network node in this bridge which maps the specified
host.
|
protected VirtualMapNode |
VBridge.match(PacketContext pctx,
TenantNodeIdentifier<?,?> ref,
EtherAddress eaddr,
SalPort sport,
int vid,
boolean pktin)
Return the virtual network node in this vBridge which maps the specified
host.
|
void |
VTenantManager.notifyVtnNode(VtnNodeEvent ev)
Invoked when a node information has been added or removed.
|
void |
VTenantManager.notifyVtnPort(VtnPortEvent ev)
Invoked when a port information has been added, removed, or changed.
|
protected void |
RemoveVlanMapTask.onCompleted(TxContext ctx,
List<VtnUpdateType> results)
Invoked when all the sub tasks have completed.
|
protected void |
RemoveVinterfaceTask.onDeleted(TxContext ctx)
Invoked when the target data object has been deleted.
|
protected void |
RemoveMacEntryTask.onStarted(TxContext ctx)
Invoked when the MD-SAL datastore transaction has started.
|
protected void |
RemoveVlanMapTask.onStarted(TxContext ctx)
Invoked when the MD-SAL datastore transaction has started.
|
protected void |
FlowFilterTask.onStarted(TxContext ctx)
Invoked when the MD-SAL datastore transaction has started.
|
protected void |
RemoveVirtualNodeTask.onStarted(TxContext ctx,
T current)
Invoked when the MD-SAL datastore transaction has started.
|
protected void |
DeleteVlanMapTask.onStarted(TxContext ctx,
VlanMap current)
Invoked when the MD-SAL datastore transaction has started.
|
protected void |
UpdateVinterfaceTask.onUpdated(TxContext ctx)
Invoked when the configuration for the target virtual interface has been
changed.
|
protected void |
UpdateVirtualNodeTask.onUpdated(TxContext ctx)
Invoked when the configuration for the target virtual node has been
changed.
|
void |
VNodeMapCleaner.purge(TxContext ctx,
String tname)
Purge network caches originated by the specified virtual node.
|
void |
VlanMapCleaner.purge(TxContext ctx,
String tname)
Purge caches for the virtual network.
|
void |
MacMapCleaner.purge(TxContext ctx,
String tname)
Purge caches for the virtual network.
|
void |
PortMapCleaner.purge(TxContext ctx,
String tname)
Purge caches for the virtual network.
|
void |
MapCleaner.purge(TxContext ctx,
String tname)
Purge caches for the virtual network.
|
protected void |
VInterface.purgeCache(TxContext ctx,
SalPort sport,
int vid)
Purge all the network caches associated with the VLAN specified by
a pair of physical switch port and VLAN ID.
|
protected abstract void |
VInterface.purgePortCache(TxContext ctx,
SalPort sport,
int vid)
Purge all the network caches associated with the VLAN specified by
a pair of physical switch port and VLAN ID.
|
protected void |
VBridgeInterface.purgePortCache(TxContext ctx,
SalPort sport,
int vid)
Purge all the network caches associated with the VLAN specified by
a pair of physical switch port and VLAN ID.
|
static com.google.common.base.Optional<VlanMapping> |
MappingRegistry.read(org.opendaylight.controller.md.sal.binding.api.ReadTransaction rtx,
NodeVlan nv)
Read the vlan-mapping container associated with the given pair of
switch and VLAN ID.
|
static com.google.common.base.Optional<PortMapping> |
MappingRegistry.read(org.opendaylight.controller.md.sal.binding.api.ReadTransaction rtx,
PortVlan pv)
Read the port-mapping container associated with the given pair of
switch port and VLAN ID.
|
static com.google.common.base.Optional<MacMapAllowed> |
MappingRegistry.readAllowed(org.opendaylight.controller.md.sal.binding.api.ReadTransaction rtx,
MacVlan mv)
Read the mac-map-allowed container associated with the given L2 host.
|
static Set<MacVlan> |
MappingRegistry.readAllowedSet(org.opendaylight.controller.md.sal.binding.api.ReadTransaction rtx)
Read a set of L2 hosts present in the the mac-map-allowed container.
|
static com.google.common.base.Optional<MapReferenceList> |
MappingRegistry.readDenied(org.opendaylight.controller.md.sal.binding.api.ReadTransaction rtx,
MacVlan mv,
String id)
Read the map-reference-list container that indicates the denied host
in the MAC mapping configuration.
|
void |
VTenant.receive(PacketContext pctx,
TenantNodeIdentifier<?,?> ref)
Receive a packet mapped to the VTN.
|
void |
VirtualBridge.receive(PacketContext pctx,
TenantNodeIdentifier<?,?> ref)
Receive a packet mapped to the virtual bridge.
|
void |
VirtualBridge.redirect(PacketContext pctx,
RedirectFlowException rex)
Redirect the given packet to the specified virtual interface.
|
void |
VInterface.redirect(PacketContext pctx,
RedirectFlowException rex,
VirtualBridge<B> bridge)
Redirect the given packet to this virtual interface as outgoing packet.
|
void |
VlanMapRegistry.register(NodeVlan nvlan,
boolean purge)
Register a new VLAN mapping.
|
void |
PortMapRegistry.register(PortVlan pvlan,
boolean purge)
Register a new port mapping.
|
VnodeState |
VTNVlanMap.register(TxContext ctx,
boolean purge)
Register the VLAN mapping.
|
static void |
MappingRegistry.registerMacMap(TxContext ctx,
MacMapIdentifier mapId,
MacMapChange change)
Register MAC mapping configuration.
|
static boolean |
MappingRegistry.registerPortMap(TxContext ctx,
VInterfaceIdentifier<?> ifId,
PortVlan newPv,
PortVlan oldPv,
boolean purge)
Register mapping between physical switch port and virtual interface.
|
static void |
MappingRegistry.registerVlanMap(TxContext ctx,
VlanMapIdentifier mapId,
NodeVlan nvlan,
boolean purge)
Register mapping between vBridge and VLAN.
|
static void |
MappingRegistry.releasePort(TxContext ctx,
PortVlan pv,
MacMapIdentifier ident)
Release the specified VLAN on a switch port reserved by the MAC mapping.
|
static void |
MappingRegistry.releasePort(TxContext ctx,
Set<PortVlan> rels,
MacMapIdentifier ident)
Release the specified VLAN on a switch port reserved by the MAC mapping.
|
static void |
MacEntryRemover.remove(TxContext ctx,
BridgeIdentifier<Vbridge> ident,
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress mac)
Remove the specified MAC address from the MAC address table associated
with the specified vBridge.
|
VtnUpdateType |
VInterface.removePortMap(TxContext ctx)
Remove the port mapping from this interface.
|
void |
VInterface.resume(TxContext ctx)
Resume the port mapping.
|
List<Vinterface> |
VirtualBridge.resume(TxContext ctx,
XmlLogger xlogger,
List<XmlVInterface> xiflist)
Resume the runtime status information about virtual interfaces inside
this virtual bridge.
|
Vbridge |
VBridge.resume(TxContext ctx,
XmlLogger xlogger,
XmlVBridge xvbr)
Resume this vBridge.
|
Vterminal |
VTerminal.resume(TxContext ctx,
XmlLogger xlogger,
XmlVTerminal xvtm)
Resume this vTerminal.
|
void |
VTenantManager.routingUpdated(RoutingEvent ev)
Invoked when the packet routing table has been updated.
|
void |
MacEntryWalker.scan(TxContext ctx)
Scan MAC address table entries in all the MAC address tables.
|
void |
MacEntryWalker.scan(TxContext ctx,
BridgeIdentifier<Vbridge> ident)
Scan MAC address table entries in the MAC address table for the
specified vBridge.
|
void |
MacEntryWalker.scan(TxContext ctx,
String tname)
Scan MAC address table entries in all the MAC address tables in the
specified VTN.
|
void |
VNodeWalker.scan(TxContext ctx,
T data)
Scan all the virtual nodes in the VTN model tree.
|
protected abstract void |
VNodeWalker.scan(TxContext ctx,
VBridge vbr,
T data)
Scan all the virtual nodes in the specified vBridge.
|
protected abstract void |
VNodeWalker.scan(TxContext ctx,
VTerminal vtm,
T data)
Scan all the virtual nodes in the specified vTerminal.
|
void |
VInterface.setEnabled(TxContext ctx,
boolean value)
Set the enabled state to this virtual interface, and update the
vinterface-status container in the MD-SAL datastore.
|
void |
VirtualBridge.setInterfaceEnabled(TxContext ctx,
VInterfaceIdentifier<T> ifId,
boolean value)
Set the enabled state to the specified virtual interface.
|
VtnUpdateType |
VInterface.setPortMap(TxContext ctx,
VTNPortMapConfig pmap)
Change the configuration for the port mapping.
|
void |
VInterface.transmit(PacketContext pctx,
Set<PortVlan> sent)
Transmit the given packet to the physical network mapped to this
virtual interface.
|
void |
VTNMacMap.transmit(PacketContext pctx,
VBridge vbr,
Set<PortVlan> sent)
Transmit the given packet to the physical network mapped by this
VLAN mapping.
|
void |
VTNVlanMap.transmit(PacketContext pctx,
VBridge vbr,
Set<PortVlan> sent)
Transmit the given packet to the physical network mapped by this
VLAN mapping.
|
static void |
MappingRegistry.unregisterVlanMap(TxContext ctx,
VlanMapIdentifier mapId,
NodeVlan nvlan,
boolean purge)
Unregister the VLAN mapping.
|
Constructor and Description |
---|
MacMapRegistry(TxContext ctx,
MacMapIdentifier ident,
MacMapChange change)
Construct a new instance.
|
Modifier and Type | Class and Description |
---|---|
class |
PacketException
VTNException is an exception raised when the packet serialization
or deserialization fails. |
Copyright © 2018 OpenDaylight. All rights reserved.