summaryrefslogtreecommitdiff
path: root/src/daq
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2014-08-24 01:05:14 +0200
committerChristian Pointner <equinox@spreadspace.org>2014-08-24 01:05:14 +0200
commitc8b213231a609c181fcc733fe066d1eba2d9bf09 (patch)
tree123c005f4c0a97e1fdf6ceac99a38074de58e68f /src/daq
parentadded support for tags (diff)
removed useless comment
Diffstat (limited to 'src/daq')
-rw-r--r--src/daq/flumotion-plug/sfive.py14
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,