diff options
-rw-r--r-- | src/daq/flumotion-plug/sfive.py | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/daq/flumotion-plug/sfive.py b/src/daq/flumotion-plug/sfive.py index 231081b..5e79b64 100644 --- a/src/daq/flumotion-plug/sfive.py +++ b/src/daq/flumotion-plug/sfive.py @@ -148,20 +148,6 @@ class ComponentSFivePlug(base.ComponentPlug): bytes_sent_diff = bytes_sent - self._old_bytes_sent if self._old_bytes_sent > 0 else 0; self._old_bytes_sent = bytes_sent - # TODO: create json and send it out - # { - # "start-time": "2014-08-03Z12:34:56.123", - # "duration-ms": 5000, - # "data": { - # "clients": [ - # { "ip": "127.0.0.1:2345", "bytes-transferred": 12094, "user-agent": "Mozilla Version 28", .... }, - # ..... - # ], - # "client-count": 12, - # "bytes-received": 12345, - # "bytes-sent": 921734098, - # .... - # } data = { "start-time": datetime.datetime.utcnow().isoformat('Z'), "duration-ms": self._duration * 1000, "client-count": client_count, |