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
alshabib
2014-09-25 14:34:17 -0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
25182651c4d114818439f6f19dc1a6a15d240851
25182651
1 parent
38f0b606
fix small bug in flows cmd
Change-Id: I7f2ad7b8e5871187333d301b93e79aaf14095f76
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
6 deletions
cli/src/main/java/org/onlab/onos/cli/net/FlowsListCommand.java
cli/src/main/java/org/onlab/onos/cli/net/FlowsListCommand.java
View file @
2518265
...
...
@@ -13,7 +13,6 @@ import org.onlab.onos.net.Device;
import
org.onlab.onos.net.DeviceId
;
import
org.onlab.onos.net.device.DeviceService
;
import
org.onlab.onos.net.flow.FlowRule
;
import
org.onlab.onos.net.flow.FlowRule.FlowRuleState
;
import
org.onlab.onos.net.flow.FlowRuleService
;
import
com.google.common.collect.Maps
;
...
...
@@ -30,11 +29,7 @@ public class FlowsListCommand extends AbstractShellCommand {
private
static
final
String
TFMT
=
" treatment=%s"
;
private
static
final
String
SFMT
=
" selector=%s"
;
@Argument
(
index
=
0
,
name
=
"state"
,
description
=
"Flow rule state"
,
required
=
false
,
multiValued
=
false
)
FlowRuleState
state
=
null
;
@Argument
(
index
=
1
,
name
=
"uri"
,
description
=
"Device ID"
,
@Argument
(
index
=
0
,
name
=
"uri"
,
description
=
"Device ID"
,
required
=
false
,
multiValued
=
false
)
String
uri
=
null
;
...
...
Please
register
or
login
to post a comment