Motr  M0
addb2db Namespace Reference

Data Structures

class  ADDB2PP
 
class  attr
 
class  BaseModel
 
class  be_tx
 
class  bulk_to_rpc
 
class  cas_fom_to_crow_fom
 
class  cas_req
 
class  cas_to_rpc
 
class  client_req
 
class  client_to_cob
 
class  client_to_dix
 
class  client_to_ioo
 
class  cob_req
 
class  cob_to_rpc
 
class  dix_req
 
class  dix_to_cas
 
class  dix_to_mdix
 
class  fom_desc
 
class  fom_req
 
class  fom_req_state
 
class  fom_to_stio
 
class  fom_to_tx
 
class  ioo_req
 
class  ioo_to_rpc
 
class  profiler
 
class  queues
 
class  rpc_req
 
class  rpc_to_sxid
 
class  s3_measurement
 
class  s3_request_state
 
class  s3_request_to_client
 
class  s3_request_uid
 
class  stio_req
 
class  sxid_to_rpc
 
class  tx_to_gr
 

Functions

def die
 
def db_create_tables ()
 
def db_drop_tables ()
 
def db_init (path)
 
def db_connect ()
 
def db_close ()
 
def fd_consume_record (rec)
 
def fd_consume_data (file, pool)
 
def fd_id_get (f)
 
def db_consume_data
 
def db_setup_loggers ()
 
def parse_app_record (res)
 
def parse_app_data (file, pool)
 
def parse_app_logs
 
def db_parse_args ()
 

Variables

 DB = SqliteDatabase(None)
 
int BLOCK = 16<<10
 
int PROC_NR = 48
 
int DBBATCH = 95
 
int PID = 0
 
list db_create_delete_tables
 
 APP = ADDB2PP()
 
 auth_srv_format = re.compile(r"\A([0-9\- :,]{23,29})\s+\w+\s+\[ReqId:([0-9a-fA-F\-]{36})\]\s+(\S+).*")
 
def args = db_parse_args()
 

Function Documentation

◆ db_close()

def addb2db.db_close ( )

Definition at line 324 of file addb2db.py.

Here is the caller graph for this function:

◆ db_connect()

def addb2db.db_connect ( )

Definition at line 321 of file addb2db.py.

Here is the caller graph for this function:

◆ db_consume_data()

def addb2db.db_consume_data (   files)

Definition at line 556 of file addb2db.py.

Here is the call graph for this function:

◆ db_create_tables()

def addb2db.db_create_tables ( )

Definition at line 306 of file addb2db.py.

Here is the caller graph for this function:

◆ db_drop_tables()

def addb2db.db_drop_tables ( )

Definition at line 310 of file addb2db.py.

Here is the caller graph for this function:

◆ db_init()

def addb2db.db_init (   path)

Definition at line 314 of file addb2db.py.

Here is the caller graph for this function:

◆ db_parse_args()

def addb2db.db_parse_args ( )

Definition at line 687 of file addb2db.py.

◆ db_setup_loggers()

def addb2db.db_setup_loggers ( )

Definition at line 600 of file addb2db.py.

◆ die()

def addb2db.die (   what)

Definition at line 83 of file addb2db.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fd_consume_data()

def addb2db.fd_consume_data (   file,
  pool 
)

Definition at line 535 of file addb2db.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fd_consume_record()

def addb2db.fd_consume_record (   rec)

Definition at line 532 of file addb2db.py.

◆ fd_id_get()

def addb2db.fd_id_get (   f)

Definition at line 551 of file addb2db.py.

Here is the caller graph for this function:

◆ parse_app_data()

def addb2db.parse_app_data (   file,
  pool 
)

Definition at line 629 of file addb2db.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ parse_app_logs()

def addb2db.parse_app_logs (   applogs)

Definition at line 650 of file addb2db.py.

Here is the call graph for this function:

◆ parse_app_record()

def addb2db.parse_app_record (   res)

Definition at line 618 of file addb2db.py.

Variable Documentation

◆ APP

APP = ADDB2PP()

Definition at line 531 of file addb2db.py.

◆ args

Definition at line 716 of file addb2db.py.

◆ auth_srv_format

auth_srv_format = re.compile(r"\A([0-9\- :,]{23,29})\s+\w+\s+\[ReqId:([0-9a-fA-F\-]{36})\]\s+(\S+).*")

Definition at line 616 of file addb2db.py.

◆ BLOCK

def BLOCK = 16<<10

Definition at line 78 of file addb2db.py.

◆ DB

DB = SqliteDatabase(None)

Definition at line 77 of file addb2db.py.

◆ db_create_delete_tables

list db_create_delete_tables
Initial value:
1 = [client_to_dix, dix_to_mdix, dix_to_cas, cas_to_rpc,
2  cas_req, dix_req, client_req, rpc_req, rpc_to_sxid,
3  sxid_to_rpc, fom_desc, fom_to_tx, fom_req, be_tx,
4  client_to_cob, cob_to_rpc, client_to_ioo, ioo_to_rpc,
5  cob_req, ioo_req, fom_req_state, queues, tx_to_gr,
6  fom_to_stio, stio_req, attr, bulk_to_rpc,
7  cas_fom_to_crow_fom, s3_request_to_client,
8  s3_request_uid, s3_request_state, s3_measurement]

Definition at line 297 of file addb2db.py.

◆ DBBATCH

def DBBATCH = 95

Definition at line 80 of file addb2db.py.

◆ PID

int PID = 0

Definition at line 81 of file addb2db.py.

◆ PROC_NR

def PROC_NR = 48

Definition at line 79 of file addb2db.py.