Toggle navigation
Toggle navigation
This project
Loading...
Sign in
홍길동
/
onos
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
pankaj
2014-10-07 15:01:47 -0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ea0acefa510d09a1d753432692dae5cd5f499dc8
ea0acefa
1 parent
a8474a19
rename the commands
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletions
apps/foo/src/main/java/org/onlab/onos/foo/SimpleNettyClientCommand.java
apps/foo/src/main/java/org/onlab/onos/foo/SimpleNettyServerCommand.java
apps/foo/src/main/java/org/onlab/onos/foo/SimpleNettyClientCommand.java
View file @
ea0acef
...
...
@@ -13,6 +13,7 @@ import org.onlab.onos.cli.AbstractShellCommand;
description
=
"Starts the simple Netty client"
)
public
class
SimpleNettyClientCommand
extends
AbstractShellCommand
{
//FIXME: replace these arguments with proper ones needed for the test.
@Argument
(
index
=
0
,
name
=
"serverIp"
,
description
=
"Server IP address"
,
required
=
false
,
multiValued
=
false
)
String
serverIp
=
"127.0.0.1"
;
...
...
apps/foo/src/main/java/org/onlab/onos/foo/SimpleNettyServerCommand.java
View file @
ea0acef
...
...
@@ -9,10 +9,11 @@ import org.onlab.onos.cli.AbstractShellCommand;
/**
* Starts the Simple Netty server.
*/
@Command
(
scope
=
"onos"
,
name
=
"
test
-netty-server"
,
@Command
(
scope
=
"onos"
,
name
=
"
simple
-netty-server"
,
description
=
"Starts the simple netty server"
)
public
class
SimpleNettyServerCommand
extends
AbstractShellCommand
{
//FIXME: Replace these with parameters for
@Argument
(
index
=
0
,
name
=
"serverIp"
,
description
=
"Server IP address"
,
required
=
false
,
multiValued
=
false
)
String
serverIp
=
"127.0.0.1"
;
...
...
Please
register
or
login
to post a comment