commit | 7a2dee599cde3ed65ea7b22a99d5e87c4450fcfd | [log] [tgz] |
---|---|---|
author | Ray Milkey <ray@opennetworking.org> | Fri Sep 28 10:58:28 2018 -0700 |
committer | Ray Milkey <ray@opennetworking.org> | Fri Sep 28 11:21:57 2018 -0700 |
tree | 598ed64a30c2b2e969053aca9f91557c0c251d75 | |
parent | 86ad7bb5e77bc2ee14420f433e5a74dd2a2a7f8e [diff] [blame] |
[WIP] Add @Service tags to all commands and completers Change-Id: I8d6ae6185ada30a92481ddb7b603af323656dc3a
diff --git a/apps/segmentrouting/app/src/main/java/org/onosproject/segmentrouting/cli/LinkStateCommand.java b/apps/segmentrouting/app/src/main/java/org/onosproject/segmentrouting/cli/LinkStateCommand.java index 5d2773e..9d7147b 100644 --- a/apps/segmentrouting/app/src/main/java/org/onosproject/segmentrouting/cli/LinkStateCommand.java +++ b/apps/segmentrouting/app/src/main/java/org/onosproject/segmentrouting/cli/LinkStateCommand.java
@@ -21,6 +21,7 @@ import java.util.Set; import org.apache.karaf.shell.api.action.Command; +import org.apache.karaf.shell.api.action.lifecycle.Service; import org.onosproject.cli.AbstractShellCommand; import org.onosproject.net.DeviceId; import org.onosproject.net.Link; @@ -34,6 +35,7 @@ * Command to read the current state of the DestinationSetNextObjectiveStore. * */ +@Service @Command(scope = "onos", name = "sr-link-state", description = "Displays the current internal link state " + "noted by this instance of the controller") public class LinkStateCommand extends AbstractShellCommand {