public final class VTenant extends VirtualNode<Vtn,VTenantIdentifier>
VTenant describes configuration for the VTN.
Note that this class does not manage virtual nodes inside the VTN.
| Constructor and Description |
|---|
VTenant(PacketContext pctx,
VTenantIdentifier vtnId,
Vtn vtn)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.slf4j.Logger |
getLogger()
Return a logger instance.
|
void |
receive(PacketContext pctx,
TenantNodeIdentifier<?,?> ref)
Receive a packet mapped to the VTN.
|
getFlowFilterListgetIdentifier, getInitialValuepublic VTenant(PacketContext pctx, VTenantIdentifier vtnId, Vtn vtn)
pctx - A runtime context for a received packet.vtnId - The identifier of the VTN.vtn - A Vtn instance read from the MD-SAL datastore.public void receive(PacketContext pctx, TenantNodeIdentifier<?,?> ref) throws VTNException
pctx - A runtime context for a received packet.ref - A TenantNodeIdentifier instance that specifies
the virtual mapping that maps the packet.VTNException - An error occurred.protected org.slf4j.Logger getLogger()
getLogger in class VirtualElement<Vtn,VTenantIdentifier>Logger instance.Copyright © 2018 OpenDaylight. All rights reserved.