public class VirtualNetworkPacketManager extends AbstractVnetService implements org.onosproject.net.packet.PacketService
| Modifier and Type | Class and Description |
|---|---|
protected class |
VirtualNetworkPacketManager.InternalStoreDelegate
Internal callback from the packet store.
|
| Modifier and Type | Field and Description |
|---|---|
protected VirtualNetworkPacketStore |
store |
networkId, serviceDirectory| Constructor and Description |
|---|
VirtualNetworkPacketManager(VirtualNetworkService virtualNetworkManager,
NetworkId networkId) |
| Modifier and Type | Method and Description |
|---|---|
void |
addProcessor(org.onosproject.net.packet.PacketProcessor processor,
int priority) |
void |
cancelPackets(org.onosproject.net.flow.TrafficSelector selector,
org.onosproject.net.packet.PacketPriority priority,
org.onosproject.core.ApplicationId appId) |
void |
cancelPackets(org.onosproject.net.flow.TrafficSelector selector,
org.onosproject.net.packet.PacketPriority priority,
org.onosproject.core.ApplicationId appId,
java.util.Optional<org.onosproject.net.DeviceId> deviceId) |
void |
emit(org.onosproject.net.packet.OutboundPacket packet) |
java.util.List<org.onosproject.net.packet.PacketProcessorEntry> |
getProcessors() |
java.util.List<org.onosproject.net.packet.PacketRequest> |
getRequests() |
void |
removeProcessor(org.onosproject.net.packet.PacketProcessor processor) |
void |
requestPackets(org.onosproject.net.flow.TrafficSelector selector,
org.onosproject.net.packet.PacketPriority priority,
org.onosproject.core.ApplicationId appId) |
void |
requestPackets(org.onosproject.net.flow.TrafficSelector selector,
org.onosproject.net.packet.PacketPriority priority,
org.onosproject.core.ApplicationId appId,
java.util.Optional<org.onosproject.net.DeviceId> deviceId) |
networkIdprotected VirtualNetworkPacketStore store
public VirtualNetworkPacketManager(VirtualNetworkService virtualNetworkManager, NetworkId networkId)
public void addProcessor(org.onosproject.net.packet.PacketProcessor processor,
int priority)
addProcessor in interface org.onosproject.net.packet.PacketServicepublic void removeProcessor(org.onosproject.net.packet.PacketProcessor processor)
removeProcessor in interface org.onosproject.net.packet.PacketServicepublic java.util.List<org.onosproject.net.packet.PacketProcessorEntry> getProcessors()
getProcessors in interface org.onosproject.net.packet.PacketServicepublic void requestPackets(org.onosproject.net.flow.TrafficSelector selector,
org.onosproject.net.packet.PacketPriority priority,
org.onosproject.core.ApplicationId appId)
requestPackets in interface org.onosproject.net.packet.PacketServicepublic void requestPackets(org.onosproject.net.flow.TrafficSelector selector,
org.onosproject.net.packet.PacketPriority priority,
org.onosproject.core.ApplicationId appId,
java.util.Optional<org.onosproject.net.DeviceId> deviceId)
requestPackets in interface org.onosproject.net.packet.PacketServicepublic void cancelPackets(org.onosproject.net.flow.TrafficSelector selector,
org.onosproject.net.packet.PacketPriority priority,
org.onosproject.core.ApplicationId appId)
cancelPackets in interface org.onosproject.net.packet.PacketServicepublic void cancelPackets(org.onosproject.net.flow.TrafficSelector selector,
org.onosproject.net.packet.PacketPriority priority,
org.onosproject.core.ApplicationId appId,
java.util.Optional<org.onosproject.net.DeviceId> deviceId)
cancelPackets in interface org.onosproject.net.packet.PacketServicepublic java.util.List<org.onosproject.net.packet.PacketRequest> getRequests()
getRequests in interface org.onosproject.net.packet.PacketServicepublic void emit(org.onosproject.net.packet.OutboundPacket packet)
emit in interface org.onosproject.net.packet.PacketService