Package irdbd


Functions

def handler

Variables

tuple bpki_ta = rpki.x509.X509(Auto_file = cfg.get("bpki-ta"))
tuple cfg = rpki.config.parser(cfg_file, "irdbd")
string cfg_file = "irdbd.conf"
tuple client_ta = (bpki_ta, rpkid_cert)
tuple cur = db.cursor()
tuple db
tuple handlers = ((u.path, handler),)
string host = "localhost"
tuple irdbd_cert = rpki.x509.X509(Auto_file = cfg.get("irdbd-cert"))
tuple irdbd_key = rpki.x509.RSA( Auto_file = cfg.get("irdbd-key"))
int port = 443
tuple rpkid_cert = rpki.x509.X509(Auto_file = cfg.get("rpkid-cert"))
 server_cert = irdbd_cert,
tuple startup_msg = cfg.get("startup-message", "")
tuple u = urlparse.urlparse(cfg.get("https-url"))

Detailed Description

IR database daemon.

Usage: python irdbd.py [ { -c | --config } configfile ] [ { -h | --help } ]

Default configuration file is irdbd.conf, override with --config option.

$Id: irdbd.py 2481 2009-06-01 05:07:46Z sra $

Copyright (C) 2009  Internet Systems Consortium ("ISC")

Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.

Portions copyright (C) 2007--2008  American Registry for Internet Numbers ("ARIN")

Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND ARIN DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS.  IN NO EVENT SHALL ARIN BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.


Function Documentation

def irdbd.handler (   query,
  path,
  cb 
)

Definition at line 43 of file irdbd.py.


Variable Documentation

tuple irdbd.bpki_ta = rpki.x509.X509(Auto_file = cfg.get("bpki-ta"))

Definition at line 133 of file irdbd.py.

Definition at line 121 of file irdbd.py.

irdbd.cfg_file = "irdbd.conf"

Definition at line 109 of file irdbd.py.

Definition at line 149 of file irdbd.py.

tuple irdbd.cur = db.cursor()

Definition at line 131 of file irdbd.py.

tuple irdbd.db

Initial value:

MySQLdb.connect(user   = cfg.get("sql-username"),
                     db     = cfg.get("sql-database"),
                     passwd = cfg.get("sql-password"))

Definition at line 127 of file irdbd.py.

tuple irdbd.handlers = ((u.path, handler),)

Definition at line 152 of file irdbd.py.

string irdbd.host = "localhost"

Definition at line 150 of file irdbd.py.

tuple irdbd.irdbd_cert = rpki.x509.X509(Auto_file = cfg.get("irdbd-cert"))

Definition at line 135 of file irdbd.py.

tuple irdbd.irdbd_key = rpki.x509.RSA( Auto_file = cfg.get("irdbd-key"))

Definition at line 136 of file irdbd.py.

int irdbd.port = 443

Definition at line 151 of file irdbd.py.

tuple irdbd.rpkid_cert = rpki.x509.X509(Auto_file = cfg.get("rpkid-cert"))

Definition at line 134 of file irdbd.py.

Definition at line 148 of file irdbd.py.

tuple irdbd.startup_msg = cfg.get("startup-message", "")

Definition at line 123 of file irdbd.py.

tuple irdbd.u = urlparse.urlparse(cfg.get("https-url"))

Definition at line 138 of file irdbd.py.


Generated on Tue Jun 2 19:10:19 2009 for RPKI Engine by  doxygen 1.5.8