HIGUCHI Yuta
Committed by Gerrit Code Review

[EMU] Deprecate old LinkResourceService related commands.

Change-Id: I5224a61f65fbd6e6b0a48b1d9db180b7457ed2e9
...@@ -35,9 +35,13 @@ import java.util.Set; ...@@ -35,9 +35,13 @@ import java.util.Set;
35 35
36 /** 36 /**
37 * Commands to test out LinkResourceManager directly. 37 * Commands to test out LinkResourceManager directly.
38 + *
39 + * @deprecated in Emu release
38 */ 40 */
41 +@Deprecated
39 @Command(scope = "onos", name = "resource-request", 42 @Command(scope = "onos", name = "resource-request",
40 - description = "request or remove resources") 43 + description = "request or remove resources"
44 + + "[Using deprecated LinkResourceService]")
41 public class LinkResourceTestCommand extends AbstractShellCommand { 45 public class LinkResourceTestCommand extends AbstractShellCommand {
42 46
43 // default is bandwidth. 47 // default is bandwidth.
......
...@@ -25,9 +25,13 @@ import org.onosproject.net.resource.link.LinkResourceService; ...@@ -25,9 +25,13 @@ import org.onosproject.net.resource.link.LinkResourceService;
25 25
26 /** 26 /**
27 * Lists allocations by link. Lists all allocations if link is unspecified. 27 * Lists allocations by link. Lists all allocations if link is unspecified.
28 + *
29 + * @deprecated in Emu release
28 */ 30 */
31 +@Deprecated
29 @Command(scope = "onos", name = "resource-allocations", 32 @Command(scope = "onos", name = "resource-allocations",
30 - description = "Lists allocations by link. Lists all allocations if link is unspecified.") 33 + description = "Lists allocations by link. Lists all allocations if link is unspecified."
34 + + "[Using deprecated LinkResourceService]")
31 public class ResourceAllocationsCommand extends AbstractShellCommand { 35 public class ResourceAllocationsCommand extends AbstractShellCommand {
32 36
33 private static final String FMT = "src=%s/%s, dst=%s/%s, type=%s%s"; 37 private static final String FMT = "src=%s/%s, dst=%s/%s, type=%s%s";
......
...@@ -26,9 +26,13 @@ import org.onosproject.net.resource.ResourceRequest; ...@@ -26,9 +26,13 @@ import org.onosproject.net.resource.ResourceRequest;
26 26
27 /** 27 /**
28 * Lists allocations by link. 28 * Lists allocations by link.
29 + *
30 + * @deprecated in Emu release
29 */ 31 */
32 +@Deprecated
30 @Command(scope = "onos", name = "resource-available", 33 @Command(scope = "onos", name = "resource-available",
31 - description = "Lists available resources by link") 34 + description = "Lists available resources by link"
35 + + "[Using deprecated LinkResourceService]")
32 public class ResourceAvailableCommand extends AbstractShellCommand { 36 public class ResourceAvailableCommand extends AbstractShellCommand {
33 37
34 private static final String FMT = "src=%s/%s, dst=%s/%s, type=%s%s"; 38 private static final String FMT = "src=%s/%s, dst=%s/%s, type=%s%s";
......