code: def cli(conf):
      
      try:
          config = init_config(conf)
          debug = config.getboolean('DEFAULT', 'debug')
          conn = get_conn(config.get('DEFAULT','statusdb'))
          cur = conn.cursor()
          sqlstr = '''create table client_status
          (session_id text PRIMARY KEY, username text, userip text, 
              realip text, realport int,ctime int,
              inbytes int, outbytes int, 
              acct_interval int, session_timeout int, uptime int)
          '''
          try:
              cur.execute('drop table client_status')
          except:
              pass
          cur.execute(sqlstr)
          print 'flush client status database'
          conn.commit()
          conn.close()
      except:
          traceback.print_exc()
docs: OpenVPN status initdb method