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  route_origin_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()
tuple q_msg_publication = publication_msg()
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 1995 2008-07-15 17:38:45Z sra $

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 223 of file irbe_cli.py.

def irbe_cli.usage (   code = 1  ) 

Definition at line 206 of file irbe_cli.py.


Variable Documentation

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

Definition at line 241 of file irbe_cli.py.

Definition at line 263 of file irbe_cli.py.

irbe_cli.cfg_file = "irbe.conf"

Definition at line 246 of file irbe_cli.py.

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

Definition at line 287 of file irbe_cli.py.

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

Definition at line 286 of file irbe_cli.py.

Definition at line 285 of file irbe_cli.py.

Definition at line 24 of file irbe_cli.py.

Definition at line 274 of file irbe_cli.py.

Definition at line 265 of file irbe_cli.py.

Definition at line 268 of file irbe_cli.py.

Definition at line 273 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 288 of file irbe_cli.py.

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

Definition at line 204 of file irbe_cli.py.

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

Definition at line 290 of file irbe_cli.py.

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

Definition at line 33 of file irbe_cli.py.

Definition at line 247 of file irbe_cli.py.


Generated on Wed Jul 16 00:59:36 2008 for RPKI Engine by  doxygen 1.5.6