Command line IR back-end control program for rpkid and pubd. $Id: irbe_cli.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.
def irbe_cli.usage | ( | code = 1 |
) |
Definition at line 232 of file irbe_cli.py.
tuple irbe_cli::argv = sys.argv[1:] |
Definition at line 251 of file irbe_cli.py.
tuple irbe_cli.call_pubd |
00001 rpki.async.sync_wrapper(rpki.http.caller( 00002 proto = publication_proto, 00003 client_key = rpki.x509.RSA( Auto_file = cfg.get("pubd-irbe-key")), 00004 client_cert = rpki.x509.X509(Auto_file = cfg.get("pubd-irbe-cert")), 00005 server_ta = rpki.x509.X509(Auto_file = cfg.get("pubd-bpki-ta")), 00006 server_cert = rpki.x509.X509(Auto_file = cfg.get("pubd-cert")), 00007 url = cfg.get("pubd-url")), 00008 debug = verbose)
Definition at line 315 of file irbe_cli.py.
tuple irbe_cli.call_rpkid |
00001 rpki.async.sync_wrapper(rpki.http.caller( 00002 proto = left_right_proto, 00003 client_key = rpki.x509.RSA( Auto_file = cfg.get("rpkid-irbe-key")), 00004 client_cert = rpki.x509.X509(Auto_file = cfg.get("rpkid-irbe-cert")), 00005 server_ta = rpki.x509.X509(Auto_file = cfg.get("rpkid-bpki-ta")), 00006 server_cert = rpki.x509.X509(Auto_file = cfg.get("rpkid-cert")), 00007 url = cfg.get("rpkid-url"), 00008 debug = verbose))
Definition at line 298 of file irbe_cli.py.
tuple irbe_cli.cfg = rpki.config.parser(cfg_file, "irbe_cli") |
Definition at line 275 of file irbe_cli.py.
irbe_cli.cfg_file = "irbe.conf" |
Definition at line 256 of file irbe_cli.py.
irbe_cli.pem_out = None |
Definition at line 39 of file irbe_cli.py.
Definition at line 283 of file irbe_cli.py.
list irbe_cli.q_msg_left_right = [] |
Definition at line 277 of file irbe_cli.py.
list irbe_cli.q_msg_publication = [] |
Definition at line 278 of file irbe_cli.py.
list irbe_cli::q_pdu = left_right_msg.pdus[argv[0]] |
Definition at line 282 of file irbe_cli.py.
list irbe_cli.top_opts = ["config=", "help", "pem_out=", "quiet", "verbose"] |
Definition at line 230 of file irbe_cli.py.
tuple irbe_cli.usage_fill = UsageWrapper(subsequent_indent = " " * 4) |
Definition at line 50 of file irbe_cli.py.
irbe_cli.verbose = True |
Definition at line 257 of file irbe_cli.py.