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 3449 2010-09-16 21:30:30Z sra $
Copyright (C) 2009--2010 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.handle_list_resources |
( |
|
q_pdu, |
|
|
|
r_msg | |
|
) |
| | |
def irdbd.handle_list_roa_requests |
( |
|
q_pdu, |
|
|
|
r_msg | |
|
) |
| | |
def irdbd.handler |
( |
|
query, |
|
|
|
path, |
|
|
|
cb | |
|
) |
| | |
Variable Documentation
Initial value:00001 MySQLdb.connect(user = cfg.get("sql-username"),
00002 db = cfg.get("sql-database"),
00003 passwd = cfg.get("sql-password"))
Definition at line 194 of file irdbd.py.
Initial value:00001 {
00002 rpki.left_right.list_resources_elt : handle_list_resources,
00003 rpki.left_right.list_roa_requests_elt : handle_list_roa_requests }
Definition at line 115 of file irdbd.py.
tuple irdbd.u = urlparse.urlparse(cfg.get("http-url")) |