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_sax_handler
class  manifest_elt
class  parent_elt
class  publication_cms_msg
class  publication_msg
class  publication_sax_handler
class  repository_elt
class  roa_elt
class  self_elt
class  UsageWrapper

Functions

def call_daemon
def usage

Variables

list argv = sys.argv[1:]
tuple cfg = rpki.config.parser(cfg_file, "irbe_cli")
string cfg_file = "irbe.conf"
tuple client_cert = rpki.x509.X509(Auto_file = cfg.get("rpkid-irbe-cert"))
tuple client_key = rpki.x509.RSA( Auto_file = cfg.get("rpkid-irbe-key"))
 cms_class = left_right_cms_msg,
 pem_out = None
 q_msg = q_msg_left_right
tuple q_msg_left_right = left_right_msg.query()
tuple q_msg_publication = publication_msg.query()
list q_pdu = left_right_msg.pdus[argv[0]]
tuple server_ta
list top_opts = ["config=", "help", "pem_out=", "verbose"]
tuple url = cfg.get("rpkid-url")
tuple usage_fill = UsageWrapper(subsequent_indent = " " * 4)
 verbose = False

Detailed Description

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

$Id: irbe_cli.py 2571 2009-07-04 20:13:22Z 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 irbe_cli.call_daemon (   cms_class,
  client_key,
  client_cert,
  server_ta,
  url,
  q_msg 
)

Definition at line 235 of file irbe_cli.py.

def irbe_cli.usage (   code = 1  ) 

Definition at line 218 of file irbe_cli.py.


Variable Documentation

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

Definition at line 261 of file irbe_cli.py.

Definition at line 283 of file irbe_cli.py.

irbe_cli.cfg_file = "irbe.conf"

Definition at line 266 of file irbe_cli.py.

tuple irbe_cli::client_cert = rpki.x509.X509(Auto_file = cfg.get("rpkid-irbe-cert"))

Definition at line 304 of file irbe_cli.py.

tuple irbe_cli::client_key = rpki.x509.RSA( Auto_file = cfg.get("rpkid-irbe-key"))

Definition at line 303 of file irbe_cli.py.

Definition at line 302 of file irbe_cli.py.

Definition at line 38 of file irbe_cli.py.

Definition at line 291 of file irbe_cli.py.

tuple irbe_cli.q_msg_left_right = left_right_msg.query()

Definition at line 285 of file irbe_cli.py.

tuple irbe_cli.q_msg_publication = publication_msg.query()

Definition at line 286 of file irbe_cli.py.

Definition at line 290 of file irbe_cli.py.

Initial value:

(rpki.x509.X509(Auto_file = cfg.get("rpkid-bpki-ta")),
                   rpki.x509.X509(Auto_file = cfg.get("rpkid-cert")))

Definition at line 305 of file irbe_cli.py.

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

Definition at line 216 of file irbe_cli.py.

tuple irbe_cli::url = cfg.get("rpkid-url")

Definition at line 307 of file irbe_cli.py.

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

Definition at line 49 of file irbe_cli.py.

Definition at line 267 of file irbe_cli.py.


Generated on Tue Jul 7 16:04:42 2009 for RPKI Engine by  doxygen 1.5.9