Print the flowEntryId of each Flow Entry when displaying the flows.
diff --git a/web/get_flow.py b/web/get_flow.py
index fee6cc5..5704457 100755
--- a/web/get_flow.py
+++ b/web/get_flow.py
@@ -44,12 +44,13 @@
print "FlowPath: (flowId = %s installerId = %s src = %s/%s dst = %s/%s)" % (flowId, installerId, srcSwitch, srcPort, dstSwitch, dstPort)
for f in parsedResult['dataPath']['flowEntries']:
+ flowEntryId = f['flowEntryId']
dpid = f['dpid']['value']
userState = f['flowEntryUserState']
switchState = f['flowEntrySwitchState']
match = f['flowEntryMatch'];
actions = f['flowEntryActions']
- print " FlowEntry: (%s, %s, %s)" % (dpid, userState, switchState)
+ print " FlowEntry: (%s, %s, %s, %s)" % (flowEntryId, dpid, userState, switchState)
#
# Print the match conditions