Added a LogicalClockService for ordering arbitrary events in the cluster. Updated couple of areas that are currently vulnerable to clock skew
Change-Id: I14548ecb3c783104de8d72cbb5eb21de6ece08ed
diff --git a/cli/src/main/java/org/onosproject/cli/net/MapsListCommand.java b/cli/src/main/java/org/onosproject/cli/net/MapsListCommand.java
index 13e8867..27cc525 100644
--- a/cli/src/main/java/org/onosproject/cli/net/MapsListCommand.java
+++ b/cli/src/main/java/org/onosproject/cli/net/MapsListCommand.java
@@ -37,7 +37,7 @@
// TODO: Add support to display different eventually
// consistent maps as well.
- private static final String FMT = "%-20s %8s";
+ private static final String FMT = "name=%s size=%d";
/**
* Displays map info as text.
@@ -45,17 +45,9 @@
* @param mapInfo map descriptions
*/
private void displayMaps(List<MapInfo> mapInfo) {
- print("------------------------------");
- print(FMT, "Name", "Size");
- print("------------------------------");
-
-
for (MapInfo info : mapInfo) {
print(FMT, info.name(), info.size());
}
- if (mapInfo.size() > 0) {
- print("------------------------------");
- }
}
/**