Ray Milkey
Committed by Gerrit Code Review

Document releases APIs were deprecated in

Change-Id: I240ce9155fd6aee0200350e1b04d13ebfb89b3c1
......@@ -101,7 +101,7 @@ public class OchSignal implements Lambda {
* @param maxFrequency maximum frequency
* @param grid grid spacing frequency
*
* @deprecated in Emu (ONOS 1.4).
* @deprecated 1.4.0 Emu Release
*/
@Deprecated
public OchSignal(int channel, Frequency maxFrequency, Frequency grid) {
......@@ -114,6 +114,14 @@ public class OchSignal implements Lambda {
this.slotGranularity = (int) Math.round((double) grid.asHz() / ChannelSpacing.CHL_12P5GHZ.frequency().asHz());
}
/**
* Creates OCh signal.
*
* @param centerFrequency frequency
* @param channelSpacing spacing
* @param slotGranularity granularity
* @deprecated 1.4.0 Emu Release
*/
@Deprecated
public OchSignal(Frequency centerFrequency, ChannelSpacing channelSpacing, int slotGranularity) {
this.gridType = DEFAULT_OCH_GRIDTYPE;
......
......@@ -28,6 +28,7 @@ public interface TunnelConfig extends HandlerBehaviour {
* Creates a tunnel on this device.
*
* @param tunnel tunnel descriptor
* @deprecated 1.3.0 Drake Release
*/
@Deprecated
void createTunnel(TunnelDescription tunnel);
......
......@@ -59,6 +59,7 @@ public class DefaultDriver implements Driver {
* @param swVersion device software version
* @param behaviours device behaviour classes
* @param properties properties for configuration of device behaviour classes
* @deprecated 1.5.0 Falcon Release
*/
@Deprecated
public DefaultDriver(String name, Driver parent, String manufacturer,
......
......@@ -40,6 +40,7 @@ public interface Driver extends Annotations {
* and properties.
*
* @return parent driver; null if driver has no parent
* @deprecated 1.5.0 Falcon Release
*/
@Deprecated
Driver parent();
......
......@@ -228,6 +228,9 @@ public final class DefaultTrafficSelector implements TrafficSelector {
return add(Criteria.matchIPDst(ip));
}
/**
* @deprecated 1.3.0 Drake Release
*/
@Deprecated
@Override
public Builder matchTcpSrc(short tcpPort) {
......@@ -239,6 +242,9 @@ public final class DefaultTrafficSelector implements TrafficSelector {
return add(Criteria.matchTcpSrc(tcpPort));
}
/**
* @deprecated 1.3.0 Drake Release
*/
@Deprecated
@Override
public Builder matchTcpDst(short tcpPort) {
......@@ -250,6 +256,9 @@ public final class DefaultTrafficSelector implements TrafficSelector {
return add(Criteria.matchTcpDst(tcpPort));
}
/**
* @deprecated 1.3.0 Drake Release
*/
@Deprecated
@Override
public Builder matchUdpSrc(short udpPort) {
......@@ -261,6 +270,9 @@ public final class DefaultTrafficSelector implements TrafficSelector {
return add(Criteria.matchUdpSrc(udpPort));
}
/**
* @deprecated 1.3.0 Drake Release
*/
@Deprecated
@Override
public Builder matchUdpDst(short udpPort) {
......@@ -272,6 +284,9 @@ public final class DefaultTrafficSelector implements TrafficSelector {
return add(Criteria.matchUdpDst(udpPort));
}
/**
* @deprecated 1.3.0 Drake Release
*/
@Deprecated
@Override
public Builder matchSctpSrc(short sctpPort) {
......@@ -283,6 +298,9 @@ public final class DefaultTrafficSelector implements TrafficSelector {
return add(Criteria.matchSctpSrc(sctpPort));
}
/**
* @deprecated 1.3.0 Drake Release
*/
@Deprecated
@Override
public Builder matchSctpDst(short sctpPort) {
......
......@@ -377,6 +377,9 @@ public final class DefaultTrafficTreatment implements TrafficTreatment {
@Deprecated
@Override
/**
* @deprecated 1.3.0 Drake Release
*/
public Builder setLambda(short lambda) {
return add(Instructions.modL0Lambda(new IndexedLambda(lambda)));
}
......@@ -446,6 +449,9 @@ public final class DefaultTrafficTreatment implements TrafficTreatment {
@Deprecated
@Override
/**
* @deprecated 1.3.0 Drake Release
*/
public TrafficTreatment.Builder setTcpSrc(short port) {
return setTcpSrc(TpPort.tpPort(port));
}
......@@ -457,6 +463,9 @@ public final class DefaultTrafficTreatment implements TrafficTreatment {
@Deprecated
@Override
/**
* @deprecated 1.3.0 Drake Release
*/
public TrafficTreatment.Builder setTcpDst(short port) {
return setTcpDst(TpPort.tpPort(port));
}
......@@ -468,6 +477,9 @@ public final class DefaultTrafficTreatment implements TrafficTreatment {
@Deprecated
@Override
/**
* @deprecated 1.3.0 Drake Release
*/
public TrafficTreatment.Builder setUdpSrc(short port) {
return setUdpSrc(TpPort.tpPort(port));
}
......@@ -479,6 +491,9 @@ public final class DefaultTrafficTreatment implements TrafficTreatment {
@Deprecated
@Override
/**
* @deprecated 1.3.0 Drake Release
*/
public TrafficTreatment.Builder setUdpDst(short port) {
return setUdpDst(TpPort.tpPort(port));
}
......
......@@ -26,6 +26,7 @@ public interface Instruction {
enum Type {
/**
* Signifies that the traffic should be dropped.
* @deprecated 1.4.0 Emu Release
*/
@Deprecated
DROP,
......
......@@ -75,6 +75,7 @@ public final class Instructions {
* Creates a drop instruction.
*
* @return drop instruction
* @deprecated 1.4.0 Emu Release
*/
@Deprecated
public static DropInstruction createDrop() {
......@@ -536,6 +537,7 @@ public final class Instructions {
/**
* Drop instruction.
* @deprecated 1.4.0 Emu Release
*/
@Deprecated
public static final class DropInstruction implements Instruction {
......
......@@ -67,6 +67,7 @@ public interface PacketService {
* @param selector the traffic selector used to match packets
* @param priority the priority of the rule
* @param appId the application ID of the requester
* @deprecated 1.5.0 Falcon Release
*/
@Deprecated
void requestPackets(TrafficSelector selector, PacketPriority priority,
......@@ -94,6 +95,7 @@ public interface PacketService {
* @param selector the traffic selector used to match packets
* @param priority the priority of the rule
* @param appId the application ID of the requester
* @deprecated 1.5.0 Falcon Release
*/
@Deprecated
void cancelPackets(TrafficSelector selector, PacketPriority priority,
......@@ -109,6 +111,7 @@ public interface PacketService {
* @param priority the priority of the rule
* @param appId the application ID of the requester
* @param deviceId an optional deviceId
* @deprecated 1.5.0 Falcon Release
*/
void cancelPackets(TrafficSelector selector, PacketPriority priority,
ApplicationId appId, Optional<DeviceId> deviceId);
......
......@@ -26,7 +26,7 @@ import org.onosproject.net.resource.ResourceRequest;
/**
* Representation of allocated link resources.
*
* @deprecated
* @deprecated 1.4.0 Emu Release
*/
@Deprecated
public interface LinkResourceAllocations extends ResourceAllocation {
......
......@@ -103,7 +103,7 @@ public class MapEvent<K, V> {
* the new value.
*
* @return the value
* @deprecated use {@link #newValue()} or {@link #oldValue()} instead.
* @deprecated 1.5.0 Falcon release. Use {@link #newValue()} or {@link #oldValue()} instead.
*/
@Deprecated
public Versioned<V> value() {
......
......@@ -30,6 +30,7 @@ public interface StorageAdminService {
* Returns information about all partitions in the system.
*
* @return list of partition information
* @deprecated 1.5.0 Falcon Release
*/
@Deprecated
List<PartitionInfo> getPartitionInfo();
......@@ -38,6 +39,7 @@ public interface StorageAdminService {
* Returns information about all the consistent maps in the system.
*
* @return list of map information
* @deprecated 1.5.0 Falcon Release
*/
@Deprecated
List<MapInfo> getMapInfo();
......@@ -48,6 +50,7 @@ public interface StorageAdminService {
* then only one counter from one database is returned.
*
* @return mapping from counter name to that counter's next value
* @deprecated 1.5.0 Falcon Release
*/
@Deprecated
Map<String, Long> getCounters();
......@@ -56,6 +59,7 @@ public interface StorageAdminService {
* Returns information about all the atomic partitioned database counters in the system.
*
* @return mapping from counter name to that counter's next value
* @deprecated 1.5.0 Falcon Release
*/
@Deprecated
Map<String, Long> getPartitionedDatabaseCounters();
......@@ -64,6 +68,7 @@ public interface StorageAdminService {
* Returns information about all the atomic in-memory database counters in the system.
*
* @return mapping from counter name to that counter's next value
* @deprecated 1.5.0 Falcon Release
*/
@Deprecated
Map<String, Long> getInMemoryDatabaseCounters();
......
......@@ -48,6 +48,7 @@ public interface OvsdbClientService extends OvsdbRpc {
*
* @param srcIp source IP address
* @param dstIp destination IP address
* @deprecated 1.4.0 Emu release
*/
@Deprecated
void createTunnel(IpAddress srcIp, IpAddress dstIp);
......