Show string table id instead of numeric table id
Change-Id: Id672e49e369533259b924a1d1554aa25fbeab04c
diff --git a/cli/src/main/java/org/onosproject/cli/net/FlowsListCommand.java b/cli/src/main/java/org/onosproject/cli/net/FlowsListCommand.java
index 6770490..ec6178b 100644
--- a/cli/src/main/java/org/onosproject/cli/net/FlowsListCommand.java
+++ b/cli/src/main/java/org/onosproject/cli/net/FlowsListCommand.java
@@ -296,12 +296,12 @@
for (FlowEntry f : filteredFlows) {
if (shortOutput) {
print(SHORT_FORMAT, f.state(), f.bytes(), f.packets(),
- f.tableId(), f.priority(), f.selector().criteria(),
+ f.table(), f.priority(), f.selector().criteria(),
printTreatment(f.treatment()));
} else {
ApplicationId appId = coreService.getAppId(f.appId());
print(LONG_FORMAT, Long.toHexString(f.id().value()), f.state(),
- f.bytes(), f.packets(), f.life(), f.liveType(), f.priority(), f.tableId(),
+ f.bytes(), f.packets(), f.life(), f.liveType(), f.priority(), f.table(),
appId != null ? appId.name() : "<none>",
f.payLoad() == null ? null : f.payLoad().payLoad().toString(),
f.selector().criteria(), f.treatment());