Module sqlite_to_picviz
[hide private]
[frames] | no frames]

Module sqlite_to_picviz

source code

sqlite_to_picviz


Version: $Revision: 0.1 $

Date: $Date: 2009/03/30 $

Author: Jerome Hussenet, Cedric Bonhomme

Copyright: Copyright (c) 2009 Jerome Hussenet, Copyright (c) 2009 Cedric Bonhomme

License: Python

Functions [hide private]
 
sqlite_to_picviz(sqlite_file, picviz_file, request_type, parameter)
Querys SQLite data base.
source code
Variables [hide private]
  requests = {'all': 'SELECT tts, ip_src, ip_dst FROM ip_link', ...
Function Details [hide private]

sqlite_to_picviz(sqlite_file, picviz_file, request_type, parameter)

source code 

Querys SQLite data base.

Extracts information from the SQLite base and serialize an object containing the result.


Variables Details [hide private]

requests

Value:
{'all': 'SELECT tts, ip_src, ip_dst FROM ip_link',
 'ip_dst': 'SELECT tts, ip_src, ip_dst FROM ip_link WHERE ip_dst = ipd\
st',
 'ip_src': 'SELECT tts, ip_src, ip_dst FROM ip_link WHERE ip_src = ips\
rc',
 'time': 'SELECT tts, ip_src, ip_dst FROM ip_link WHERE tts >= tts1 AN\
D tts <=  tts2',
 'tts': 'SELECT tts, ip_src, ip_dst FROM ip_link WHERE tts >= tts1 AND\
...