Command line IR back-end control program for rpkid and pubd. $Id: irbe_cli.py 2452 2009-05-27 02:54:24Z 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.
def irbe_cli.call_daemon | ( | cms_class, | ||
client_key, | ||||
client_cert, | ||||
server_ta, | ||||
url, | ||||
q_msg | ||||
) |
Definition at line 249 of file irbe_cli.py.
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 275 of file irbe_cli.py.
tuple irbe_cli.cfg = rpki.config.parser(cfg_file, "irbe_cli") |
Definition at line 297 of file irbe_cli.py.
irbe_cli.cfg_file = "irbe.conf" |
Definition at line 280 of file irbe_cli.py.
tuple irbe_cli::client_cert = rpki.x509.X509(Auto_file = cfg.get("rpkid-irbe-cert")) |
Definition at line 321 of file irbe_cli.py.
tuple irbe_cli::client_key = rpki.x509.RSA( Auto_file = cfg.get("rpkid-irbe-key")) |
Definition at line 320 of file irbe_cli.py.
Definition at line 319 of file irbe_cli.py.
irbe_cli.pem_out = None |
Definition at line 38 of file irbe_cli.py.
Definition at line 308 of file irbe_cli.py.
tuple irbe_cli.q_msg_left_right = left_right_msg() |
Definition at line 299 of file irbe_cli.py.
tuple irbe_cli.q_msg_publication = publication_msg() |
Definition at line 302 of file irbe_cli.py.
list irbe_cli::q_pdu = left_right_msg.pdus[argv[0]] |
Definition at line 307 of file irbe_cli.py.
tuple irbe_cli::server_ta |
Initial value:
(rpki.x509.X509(Auto_file = cfg.get("rpkid-bpki-ta")), rpki.x509.X509(Auto_file = cfg.get("rpkid-cert")))
Definition at line 322 of file irbe_cli.py.
list irbe_cli.top_opts = ["config=", "help", "pem_out=", "verbose"] |
Definition at line 230 of file irbe_cli.py.
tuple irbe_cli::url = cfg.get("rpkid-url") |
Definition at line 324 of file irbe_cli.py.
tuple irbe_cli.usage_fill = UsageWrapper(subsequent_indent = " " * 4) |
Definition at line 49 of file irbe_cli.py.
irbe_cli.verbose = False |
Definition at line 281 of file irbe_cli.py.