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
tom
2014-09-12 00:20:30 -0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
d0344a804778d3ab0b4e0a1a634e2af538c7d398
d0344a80
1 parent
782a7cf1
Added package.html and fixed cluster lists command output.
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
cli/src/main/java/org/onlab/onos/cli/net/ClustersListCommand.java
core/api/src/main/javadoc/org/onlab/onos/net/packet/package.html
cli/src/main/java/org/onlab/onos/cli/net/ClustersListCommand.java
View file @
d0344a8
...
...
@@ -16,7 +16,7 @@ import java.util.List;
public
class
ClustersListCommand
extends
TopologyCommand
{
private
static
final
String
FMT
=
"id=%
s
, devices=%d, links=%d"
;
"id=%
d
, devices=%d, links=%d"
;
protected
static
final
Comparator
<
TopologyCluster
>
ID_COMPARATOR
=
new
Comparator
<
TopologyCluster
>()
{
...
...
@@ -33,7 +33,7 @@ public class ClustersListCommand extends TopologyCommand {
Collections
.
sort
(
clusters
,
ID_COMPARATOR
);
for
(
TopologyCluster
cluster
:
clusters
)
{
print
(
FMT
,
cluster
.
id
(),
cluster
.
deviceCount
(),
cluster
.
linkCount
());
print
(
FMT
,
cluster
.
id
()
.
index
()
,
cluster
.
deviceCount
(),
cluster
.
linkCount
());
}
return
null
;
}
...
...
core/api/src/main/javadoc/org/onlab/onos/net/packet/package.html
0 → 100644
View file @
d0344a8
<body>
Mechanism for processing inbound packets intercepted from the data plane and
for emitting outbound packets onto the data plane.
</body>
\ No newline at end of file
Please
register
or
login
to post a comment