use of org.onosproject.net.packet.PacketRequest in project onos by opennetworkinglab.
the class VirtualNetworkPacketManager method cancelPackets.
@Override
public void cancelPackets(TrafficSelector selector, PacketPriority priority, ApplicationId appId) {
PacketRequest request = new DefaultPacketRequest(selector, priority, appId, localNodeId, Optional.empty());
store.cancelPackets(networkId(), request);
}
use of org.onosproject.net.packet.PacketRequest in project onos by opennetworkinglab.
the class VirtualNetworkPacketManager method cancelPackets.
@Override
public void cancelPackets(TrafficSelector selector, PacketPriority priority, ApplicationId appId, Optional<DeviceId> deviceId) {
PacketRequest request = new DefaultPacketRequest(selector, priority, appId, localNodeId, deviceId);
store.cancelPackets(networkId(), request);
}
use of org.onosproject.net.packet.PacketRequest in project onos by opennetworkinglab.
the class VirtualNetworkPacketManager method requestPackets.
@Override
public void requestPackets(TrafficSelector selector, PacketPriority priority, ApplicationId appId, Optional<DeviceId> deviceId) {
PacketRequest request = new DefaultPacketRequest(selector, priority, appId, localNodeId, deviceId);
store.requestPackets(networkId(), request);
}
use of org.onosproject.net.packet.PacketRequest in project onos by opennetworkinglab.
the class PacketManager method requestPackets.
@Override
public void requestPackets(TrafficSelector selector, PacketPriority priority, ApplicationId appId) {
checkPermission(PACKET_READ);
checkNotNull(selector, ERROR_NULL_SELECTOR);
checkNotNull(appId, ERROR_NULL_APP_ID);
PacketRequest request = new DefaultPacketRequest(selector, priority, appId, localNodeId, Optional.empty());
store.requestPackets(request);
}
use of org.onosproject.net.packet.PacketRequest in project onos by opennetworkinglab.
the class PacketManager method requestPackets.
@Override
public void requestPackets(TrafficSelector selector, PacketPriority priority, ApplicationId appId, Optional<DeviceId> deviceId) {
checkPermission(PACKET_READ);
checkNotNull(selector, ERROR_NULL_SELECTOR);
checkNotNull(appId, ERROR_NULL_APP_ID);
checkNotNull(deviceId, ERROR_NULL_DEVICE_ID);
PacketRequest request = new DefaultPacketRequest(selector, priority, appId, localNodeId, deviceId);
store.requestPackets(request);
}
Aggregations