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 { ...@@ -101,7 +101,7 @@ public class OchSignal implements Lambda {
101 * @param maxFrequency maximum frequency 101 * @param maxFrequency maximum frequency
102 * @param grid grid spacing frequency 102 * @param grid grid spacing frequency
103 * 103 *
104 - * @deprecated in Emu (ONOS 1.4). 104 + * @deprecated 1.4.0 Emu Release
105 */ 105 */
106 @Deprecated 106 @Deprecated
107 public OchSignal(int channel, Frequency maxFrequency, Frequency grid) { 107 public OchSignal(int channel, Frequency maxFrequency, Frequency grid) {
...@@ -114,6 +114,14 @@ public class OchSignal implements Lambda { ...@@ -114,6 +114,14 @@ public class OchSignal implements Lambda {
114 this.slotGranularity = (int) Math.round((double) grid.asHz() / ChannelSpacing.CHL_12P5GHZ.frequency().asHz()); 114 this.slotGranularity = (int) Math.round((double) grid.asHz() / ChannelSpacing.CHL_12P5GHZ.frequency().asHz());
115 } 115 }
116 116
117 + /**
118 + * Creates OCh signal.
119 + *
120 + * @param centerFrequency frequency
121 + * @param channelSpacing spacing
122 + * @param slotGranularity granularity
123 + * @deprecated 1.4.0 Emu Release
124 + */
117 @Deprecated 125 @Deprecated
118 public OchSignal(Frequency centerFrequency, ChannelSpacing channelSpacing, int slotGranularity) { 126 public OchSignal(Frequency centerFrequency, ChannelSpacing channelSpacing, int slotGranularity) {
119 this.gridType = DEFAULT_OCH_GRIDTYPE; 127 this.gridType = DEFAULT_OCH_GRIDTYPE;
......
...@@ -28,6 +28,7 @@ public interface TunnelConfig extends HandlerBehaviour { ...@@ -28,6 +28,7 @@ public interface TunnelConfig extends HandlerBehaviour {
28 * Creates a tunnel on this device. 28 * Creates a tunnel on this device.
29 * 29 *
30 * @param tunnel tunnel descriptor 30 * @param tunnel tunnel descriptor
31 + * @deprecated 1.3.0 Drake Release
31 */ 32 */
32 @Deprecated 33 @Deprecated
33 void createTunnel(TunnelDescription tunnel); 34 void createTunnel(TunnelDescription tunnel);
......
...@@ -59,6 +59,7 @@ public class DefaultDriver implements Driver { ...@@ -59,6 +59,7 @@ public class DefaultDriver implements Driver {
59 * @param swVersion device software version 59 * @param swVersion device software version
60 * @param behaviours device behaviour classes 60 * @param behaviours device behaviour classes
61 * @param properties properties for configuration of device behaviour classes 61 * @param properties properties for configuration of device behaviour classes
62 + * @deprecated 1.5.0 Falcon Release
62 */ 63 */
63 @Deprecated 64 @Deprecated
64 public DefaultDriver(String name, Driver parent, String manufacturer, 65 public DefaultDriver(String name, Driver parent, String manufacturer,
......
...@@ -40,6 +40,7 @@ public interface Driver extends Annotations { ...@@ -40,6 +40,7 @@ public interface Driver extends Annotations {
40 * and properties. 40 * and properties.
41 * 41 *
42 * @return parent driver; null if driver has no parent 42 * @return parent driver; null if driver has no parent
43 + * @deprecated 1.5.0 Falcon Release
43 */ 44 */
44 @Deprecated 45 @Deprecated
45 Driver parent(); 46 Driver parent();
......
...@@ -228,6 +228,9 @@ public final class DefaultTrafficSelector implements TrafficSelector { ...@@ -228,6 +228,9 @@ public final class DefaultTrafficSelector implements TrafficSelector {
228 return add(Criteria.matchIPDst(ip)); 228 return add(Criteria.matchIPDst(ip));
229 } 229 }
230 230
231 + /**
232 + * @deprecated 1.3.0 Drake Release
233 + */
231 @Deprecated 234 @Deprecated
232 @Override 235 @Override
233 public Builder matchTcpSrc(short tcpPort) { 236 public Builder matchTcpSrc(short tcpPort) {
...@@ -239,6 +242,9 @@ public final class DefaultTrafficSelector implements TrafficSelector { ...@@ -239,6 +242,9 @@ public final class DefaultTrafficSelector implements TrafficSelector {
239 return add(Criteria.matchTcpSrc(tcpPort)); 242 return add(Criteria.matchTcpSrc(tcpPort));
240 } 243 }
241 244
245 + /**
246 + * @deprecated 1.3.0 Drake Release
247 + */
242 @Deprecated 248 @Deprecated
243 @Override 249 @Override
244 public Builder matchTcpDst(short tcpPort) { 250 public Builder matchTcpDst(short tcpPort) {
...@@ -250,6 +256,9 @@ public final class DefaultTrafficSelector implements TrafficSelector { ...@@ -250,6 +256,9 @@ public final class DefaultTrafficSelector implements TrafficSelector {
250 return add(Criteria.matchTcpDst(tcpPort)); 256 return add(Criteria.matchTcpDst(tcpPort));
251 } 257 }
252 258
259 + /**
260 + * @deprecated 1.3.0 Drake Release
261 + */
253 @Deprecated 262 @Deprecated
254 @Override 263 @Override
255 public Builder matchUdpSrc(short udpPort) { 264 public Builder matchUdpSrc(short udpPort) {
...@@ -261,6 +270,9 @@ public final class DefaultTrafficSelector implements TrafficSelector { ...@@ -261,6 +270,9 @@ public final class DefaultTrafficSelector implements TrafficSelector {
261 return add(Criteria.matchUdpSrc(udpPort)); 270 return add(Criteria.matchUdpSrc(udpPort));
262 } 271 }
263 272
273 + /**
274 + * @deprecated 1.3.0 Drake Release
275 + */
264 @Deprecated 276 @Deprecated
265 @Override 277 @Override
266 public Builder matchUdpDst(short udpPort) { 278 public Builder matchUdpDst(short udpPort) {
...@@ -272,6 +284,9 @@ public final class DefaultTrafficSelector implements TrafficSelector { ...@@ -272,6 +284,9 @@ public final class DefaultTrafficSelector implements TrafficSelector {
272 return add(Criteria.matchUdpDst(udpPort)); 284 return add(Criteria.matchUdpDst(udpPort));
273 } 285 }
274 286
287 + /**
288 + * @deprecated 1.3.0 Drake Release
289 + */
275 @Deprecated 290 @Deprecated
276 @Override 291 @Override
277 public Builder matchSctpSrc(short sctpPort) { 292 public Builder matchSctpSrc(short sctpPort) {
...@@ -283,6 +298,9 @@ public final class DefaultTrafficSelector implements TrafficSelector { ...@@ -283,6 +298,9 @@ public final class DefaultTrafficSelector implements TrafficSelector {
283 return add(Criteria.matchSctpSrc(sctpPort)); 298 return add(Criteria.matchSctpSrc(sctpPort));
284 } 299 }
285 300
301 + /**
302 + * @deprecated 1.3.0 Drake Release
303 + */
286 @Deprecated 304 @Deprecated
287 @Override 305 @Override
288 public Builder matchSctpDst(short sctpPort) { 306 public Builder matchSctpDst(short sctpPort) {
......
...@@ -377,6 +377,9 @@ public final class DefaultTrafficTreatment implements TrafficTreatment { ...@@ -377,6 +377,9 @@ public final class DefaultTrafficTreatment implements TrafficTreatment {
377 377
378 @Deprecated 378 @Deprecated
379 @Override 379 @Override
380 + /**
381 + * @deprecated 1.3.0 Drake Release
382 + */
380 public Builder setLambda(short lambda) { 383 public Builder setLambda(short lambda) {
381 return add(Instructions.modL0Lambda(new IndexedLambda(lambda))); 384 return add(Instructions.modL0Lambda(new IndexedLambda(lambda)));
382 } 385 }
...@@ -446,6 +449,9 @@ public final class DefaultTrafficTreatment implements TrafficTreatment { ...@@ -446,6 +449,9 @@ public final class DefaultTrafficTreatment implements TrafficTreatment {
446 449
447 @Deprecated 450 @Deprecated
448 @Override 451 @Override
452 + /**
453 + * @deprecated 1.3.0 Drake Release
454 + */
449 public TrafficTreatment.Builder setTcpSrc(short port) { 455 public TrafficTreatment.Builder setTcpSrc(short port) {
450 return setTcpSrc(TpPort.tpPort(port)); 456 return setTcpSrc(TpPort.tpPort(port));
451 } 457 }
...@@ -457,6 +463,9 @@ public final class DefaultTrafficTreatment implements TrafficTreatment { ...@@ -457,6 +463,9 @@ public final class DefaultTrafficTreatment implements TrafficTreatment {
457 463
458 @Deprecated 464 @Deprecated
459 @Override 465 @Override
466 + /**
467 + * @deprecated 1.3.0 Drake Release
468 + */
460 public TrafficTreatment.Builder setTcpDst(short port) { 469 public TrafficTreatment.Builder setTcpDst(short port) {
461 return setTcpDst(TpPort.tpPort(port)); 470 return setTcpDst(TpPort.tpPort(port));
462 } 471 }
...@@ -468,6 +477,9 @@ public final class DefaultTrafficTreatment implements TrafficTreatment { ...@@ -468,6 +477,9 @@ public final class DefaultTrafficTreatment implements TrafficTreatment {
468 477
469 @Deprecated 478 @Deprecated
470 @Override 479 @Override
480 + /**
481 + * @deprecated 1.3.0 Drake Release
482 + */
471 public TrafficTreatment.Builder setUdpSrc(short port) { 483 public TrafficTreatment.Builder setUdpSrc(short port) {
472 return setUdpSrc(TpPort.tpPort(port)); 484 return setUdpSrc(TpPort.tpPort(port));
473 } 485 }
...@@ -479,6 +491,9 @@ public final class DefaultTrafficTreatment implements TrafficTreatment { ...@@ -479,6 +491,9 @@ public final class DefaultTrafficTreatment implements TrafficTreatment {
479 491
480 @Deprecated 492 @Deprecated
481 @Override 493 @Override
494 + /**
495 + * @deprecated 1.3.0 Drake Release
496 + */
482 public TrafficTreatment.Builder setUdpDst(short port) { 497 public TrafficTreatment.Builder setUdpDst(short port) {
483 return setUdpDst(TpPort.tpPort(port)); 498 return setUdpDst(TpPort.tpPort(port));
484 } 499 }
......
...@@ -26,6 +26,7 @@ public interface Instruction { ...@@ -26,6 +26,7 @@ public interface Instruction {
26 enum Type { 26 enum Type {
27 /** 27 /**
28 * Signifies that the traffic should be dropped. 28 * Signifies that the traffic should be dropped.
29 + * @deprecated 1.4.0 Emu Release
29 */ 30 */
30 @Deprecated 31 @Deprecated
31 DROP, 32 DROP,
......
...@@ -75,6 +75,7 @@ public final class Instructions { ...@@ -75,6 +75,7 @@ public final class Instructions {
75 * Creates a drop instruction. 75 * Creates a drop instruction.
76 * 76 *
77 * @return drop instruction 77 * @return drop instruction
78 + * @deprecated 1.4.0 Emu Release
78 */ 79 */
79 @Deprecated 80 @Deprecated
80 public static DropInstruction createDrop() { 81 public static DropInstruction createDrop() {
...@@ -536,6 +537,7 @@ public final class Instructions { ...@@ -536,6 +537,7 @@ public final class Instructions {
536 537
537 /** 538 /**
538 * Drop instruction. 539 * Drop instruction.
540 + * @deprecated 1.4.0 Emu Release
539 */ 541 */
540 @Deprecated 542 @Deprecated
541 public static final class DropInstruction implements Instruction { 543 public static final class DropInstruction implements Instruction {
......
...@@ -67,6 +67,7 @@ public interface PacketService { ...@@ -67,6 +67,7 @@ public interface PacketService {
67 * @param selector the traffic selector used to match packets 67 * @param selector the traffic selector used to match packets
68 * @param priority the priority of the rule 68 * @param priority the priority of the rule
69 * @param appId the application ID of the requester 69 * @param appId the application ID of the requester
70 + * @deprecated 1.5.0 Falcon Release
70 */ 71 */
71 @Deprecated 72 @Deprecated
72 void requestPackets(TrafficSelector selector, PacketPriority priority, 73 void requestPackets(TrafficSelector selector, PacketPriority priority,
...@@ -94,6 +95,7 @@ public interface PacketService { ...@@ -94,6 +95,7 @@ public interface PacketService {
94 * @param selector the traffic selector used to match packets 95 * @param selector the traffic selector used to match packets
95 * @param priority the priority of the rule 96 * @param priority the priority of the rule
96 * @param appId the application ID of the requester 97 * @param appId the application ID of the requester
98 + * @deprecated 1.5.0 Falcon Release
97 */ 99 */
98 @Deprecated 100 @Deprecated
99 void cancelPackets(TrafficSelector selector, PacketPriority priority, 101 void cancelPackets(TrafficSelector selector, PacketPriority priority,
...@@ -109,6 +111,7 @@ public interface PacketService { ...@@ -109,6 +111,7 @@ public interface PacketService {
109 * @param priority the priority of the rule 111 * @param priority the priority of the rule
110 * @param appId the application ID of the requester 112 * @param appId the application ID of the requester
111 * @param deviceId an optional deviceId 113 * @param deviceId an optional deviceId
114 + * @deprecated 1.5.0 Falcon Release
112 */ 115 */
113 void cancelPackets(TrafficSelector selector, PacketPriority priority, 116 void cancelPackets(TrafficSelector selector, PacketPriority priority,
114 ApplicationId appId, Optional<DeviceId> deviceId); 117 ApplicationId appId, Optional<DeviceId> deviceId);
......
...@@ -26,7 +26,7 @@ import org.onosproject.net.resource.ResourceRequest; ...@@ -26,7 +26,7 @@ import org.onosproject.net.resource.ResourceRequest;
26 /** 26 /**
27 * Representation of allocated link resources. 27 * Representation of allocated link resources.
28 * 28 *
29 - * @deprecated 29 + * @deprecated 1.4.0 Emu Release
30 */ 30 */
31 @Deprecated 31 @Deprecated
32 public interface LinkResourceAllocations extends ResourceAllocation { 32 public interface LinkResourceAllocations extends ResourceAllocation {
......
...@@ -103,7 +103,7 @@ public class MapEvent<K, V> { ...@@ -103,7 +103,7 @@ public class MapEvent<K, V> {
103 * the new value. 103 * the new value.
104 * 104 *
105 * @return the value 105 * @return the value
106 - * @deprecated use {@link #newValue()} or {@link #oldValue()} instead. 106 + * @deprecated 1.5.0 Falcon release. Use {@link #newValue()} or {@link #oldValue()} instead.
107 */ 107 */
108 @Deprecated 108 @Deprecated
109 public Versioned<V> value() { 109 public Versioned<V> value() {
......
...@@ -30,6 +30,7 @@ public interface StorageAdminService { ...@@ -30,6 +30,7 @@ public interface StorageAdminService {
30 * Returns information about all partitions in the system. 30 * Returns information about all partitions in the system.
31 * 31 *
32 * @return list of partition information 32 * @return list of partition information
33 + * @deprecated 1.5.0 Falcon Release
33 */ 34 */
34 @Deprecated 35 @Deprecated
35 List<PartitionInfo> getPartitionInfo(); 36 List<PartitionInfo> getPartitionInfo();
...@@ -38,6 +39,7 @@ public interface StorageAdminService { ...@@ -38,6 +39,7 @@ public interface StorageAdminService {
38 * Returns information about all the consistent maps in the system. 39 * Returns information about all the consistent maps in the system.
39 * 40 *
40 * @return list of map information 41 * @return list of map information
42 + * @deprecated 1.5.0 Falcon Release
41 */ 43 */
42 @Deprecated 44 @Deprecated
43 List<MapInfo> getMapInfo(); 45 List<MapInfo> getMapInfo();
...@@ -48,6 +50,7 @@ public interface StorageAdminService { ...@@ -48,6 +50,7 @@ public interface StorageAdminService {
48 * then only one counter from one database is returned. 50 * then only one counter from one database is returned.
49 * 51 *
50 * @return mapping from counter name to that counter's next value 52 * @return mapping from counter name to that counter's next value
53 + * @deprecated 1.5.0 Falcon Release
51 */ 54 */
52 @Deprecated 55 @Deprecated
53 Map<String, Long> getCounters(); 56 Map<String, Long> getCounters();
...@@ -56,6 +59,7 @@ public interface StorageAdminService { ...@@ -56,6 +59,7 @@ public interface StorageAdminService {
56 * Returns information about all the atomic partitioned database counters in the system. 59 * Returns information about all the atomic partitioned database counters in the system.
57 * 60 *
58 * @return mapping from counter name to that counter's next value 61 * @return mapping from counter name to that counter's next value
62 + * @deprecated 1.5.0 Falcon Release
59 */ 63 */
60 @Deprecated 64 @Deprecated
61 Map<String, Long> getPartitionedDatabaseCounters(); 65 Map<String, Long> getPartitionedDatabaseCounters();
...@@ -64,6 +68,7 @@ public interface StorageAdminService { ...@@ -64,6 +68,7 @@ public interface StorageAdminService {
64 * Returns information about all the atomic in-memory database counters in the system. 68 * Returns information about all the atomic in-memory database counters in the system.
65 * 69 *
66 * @return mapping from counter name to that counter's next value 70 * @return mapping from counter name to that counter's next value
71 + * @deprecated 1.5.0 Falcon Release
67 */ 72 */
68 @Deprecated 73 @Deprecated
69 Map<String, Long> getInMemoryDatabaseCounters(); 74 Map<String, Long> getInMemoryDatabaseCounters();
......
...@@ -48,6 +48,7 @@ public interface OvsdbClientService extends OvsdbRpc { ...@@ -48,6 +48,7 @@ public interface OvsdbClientService extends OvsdbRpc {
48 * 48 *
49 * @param srcIp source IP address 49 * @param srcIp source IP address
50 * @param dstIp destination IP address 50 * @param dstIp destination IP address
51 + * @deprecated 1.4.0 Emu release
51 */ 52 */
52 @Deprecated 53 @Deprecated
53 void createTunnel(IpAddress srcIp, IpAddress dstIp); 54 void createTunnel(IpAddress srcIp, IpAddress dstIp);
......