Package irbe_cli

Classes

class  bsc_elt
class  certificate_elt
class  child_elt
class  client_elt
class  cmd_elt_mixin
class  cmd_msg_mixin
class  config_elt
class  crl_elt
class  left_right_cms_msg
class  left_right_msg
class  left_right_proto
class  left_right_sax_handler
class  list_published_objects_elt
class  list_received_resources_elt
class  manifest_elt
class  parent_elt
class  publication_cms_msg
class  publication_msg
class  publication_proto
class  publication_sax_handler
class  reply_elt_mixin
class  report_error_elt
class  repository_elt
class  roa_elt
class  self_elt
class  UsageWrapper

Functions

def usage

Variables

list argv = sys.argv[1:]
tuple call_pubd
tuple call_rpkid
tuple cfg = rpki.config.parser(cfg_file, "irbe_cli")
string cfg_file = "irbe.conf"
 pem_out = None
 q_msg = q_msg_left_right
list q_msg_left_right = []
list q_msg_publication = []
list q_pdu = left_right_msg.pdus[argv[0]]
list top_opts = ["config=", "help", "pem_out=", "quiet", "verbose"]
tuple usage_fill = UsageWrapper(subsequent_indent = " " * 4)
 verbose = True

Detailed Description

Command line IR back-end control program for rpkid and pubd.

$Id: irbe_cli.py 3107 2010-03-16 23:13:08Z 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 irbe_cli.usage (   code = 1  ) 

Definition at line 240 of file irbe_cli.py.


Variable Documentation

tuple irbe_cli::argv = sys.argv[1:]

Definition at line 259 of file irbe_cli.py.

Initial value:
rpki.async.sync_wrapper(rpki.https.caller(
    proto       = publication_proto,
    client_key  = rpki.x509.RSA( Auto_file = cfg.get("pubd-irbe-key")),
    client_cert = rpki.x509.X509(Auto_file = cfg.get("pubd-irbe-cert")),
    server_ta   = rpki.x509.X509(Auto_file = cfg.get("pubd-bpki-ta")),
    server_cert = rpki.x509.X509(Auto_file = cfg.get("pubd-cert")),
    url         = cfg.get("pubd-url")),
    debug       = verbose)

Definition at line 323 of file irbe_cli.py.

Initial value:
rpki.async.sync_wrapper(rpki.https.caller(
    proto       = left_right_proto,
    client_key  = rpki.x509.RSA( Auto_file = cfg.get("rpkid-irbe-key")),
    client_cert = rpki.x509.X509(Auto_file = cfg.get("rpkid-irbe-cert")),
    server_ta   = rpki.x509.X509(Auto_file = cfg.get("rpkid-bpki-ta")),
    server_cert = rpki.x509.X509(Auto_file = cfg.get("rpkid-cert")),
    url         = cfg.get("rpkid-url"),
    debug       = verbose))

Definition at line 306 of file irbe_cli.py.

Definition at line 283 of file irbe_cli.py.

irbe_cli.cfg_file = "irbe.conf"

Definition at line 264 of file irbe_cli.py.

Definition at line 39 of file irbe_cli.py.

Definition at line 291 of file irbe_cli.py.

Definition at line 285 of file irbe_cli.py.

Definition at line 286 of file irbe_cli.py.

Definition at line 290 of file irbe_cli.py.

list irbe_cli.top_opts = ["config=", "help", "pem_out=", "quiet", "verbose"]

Definition at line 238 of file irbe_cli.py.

tuple irbe_cli.usage_fill = UsageWrapper(subsequent_indent = " " * 4)

Definition at line 50 of file irbe_cli.py.

Definition at line 265 of file irbe_cli.py.

 All Classes Namespaces Files Functions Variables
Generated on Wed May 12 19:43:49 2010 for RPKI Engine by  doxygen 1.6.3