string
|
|
string
|
|
device object
|
_findByIp(self,
ipaddress,
networks)
Find and ip by looking up it up in the Networks catalog. |
source code
|
|
DMD object, evt
|
|
Event class
|
|
Event class
|
|
|
|
|
buildStatusInsert(self,
statusdata,
table,
evid)
Build an insert statement for the status table that looks like this:
insert into status set device='box', count=1, ... |
source code
|
|
string
|
|
string
|
buildInsert(self,
datadict,
table)
Build a insert statement for that looks like this: insert into
status set field='value', field=1, ... |
source code
|
|
string
|
|
tuple of dictionaries
|
|
string
|
escape(self,
value)
Prepare string values for db by escaping special characters. |
source code
|
|