Minor updates for pkt in monitoring
Response to comment for rename of packet count
Clarified periodic_task name
Indentation
diff --git a/src/python/oftest/controller.py b/src/python/oftest/controller.py
index 404b185..935adce 100644
--- a/src/python/oftest/controller.py
+++ b/src/python/oftest/controller.py
@@ -697,10 +697,10 @@
Clear the input queue and report the number of messages
that were in it
"""
- enqueued_pkts = len(self.packets)
+ enqueued_pkt_count = len(self.packets)
with self.packets_cv:
self.packets = []
- return enqueued_pkts
+ return enqueued_pkt_count
def __str__(self):
string = "Controller:\n"