blob: 52128e35291b1b0ed50becaf4ab7f4480acaf941 [file] [log] [blame]
tomf110fff2014-09-26 00:38:18 -07001package org.onlab.onos.foo;
2
3import org.apache.karaf.shell.commands.Command;
4import org.onlab.onos.cli.AbstractShellCommand;
5
6import static org.onlab.onos.foo.IOLoopTestClient.startStandalone;
7
8/**
9 * Starts the test IO loop client.
10 */
11@Command(scope = "onos", name = "test-io-client",
12 description = "Starts the test IO loop client")
13public class TestIOClientCommand extends AbstractShellCommand {
14
15 @Override
16 protected void execute() {
17 try {
18 startStandalone(new String[]{});
19 } catch (Exception e) {
20 error("Unable to start server %s", e);
21 }
22 }
23
24}