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/CountersListCommand.java b/cli/src/main/java/org/onosproject/cli/net/CountersListCommand.java
index 2adba25..039702d 100644
--- a/cli/src/main/java/org/onosproject/cli/net/CountersListCommand.java
+++ b/cli/src/main/java/org/onosproject/cli/net/CountersListCommand.java
@@ -33,7 +33,7 @@
description = "Lists information about atomic counters in the system")
public class CountersListCommand extends AbstractShellCommand {
- private static final String FMT = "name=%s next_value=%d";
+ private static final String FMT = "name=%s value=%d";
/**
* Displays counters as text.
@@ -41,7 +41,7 @@
* @param mapInfo map descriptions
*/
private void displayCounters(Map<String, Long> counters) {
- counters.forEach((name, nextValue) -> print(FMT, name, nextValue));
+ counters.forEach((name, value) -> print(FMT, name, value));
}
/**