Added package.html and fixed cluster lists command output.
diff --git a/cli/src/main/java/org/onlab/onos/cli/net/ClustersListCommand.java b/cli/src/main/java/org/onlab/onos/cli/net/ClustersListCommand.java
index 355825b..6bd444a 100644
--- a/cli/src/main/java/org/onlab/onos/cli/net/ClustersListCommand.java
+++ b/cli/src/main/java/org/onlab/onos/cli/net/ClustersListCommand.java
@@ -16,7 +16,7 @@
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 @@
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;
}
diff --git a/core/api/src/main/javadoc/org/onlab/onos/net/packet/package.html b/core/api/src/main/javadoc/org/onlab/onos/net/packet/package.html
new file mode 100644
index 0000000..c95ee9b
--- /dev/null
+++ b/core/api/src/main/javadoc/org/onlab/onos/net/packet/package.html
@@ -0,0 +1,4 @@
+<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