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 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.


Function Documentation

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.


Variable Documentation

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

Definition at line 275 of file irbe_cli.py.

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.

Definition at line 38 of file irbe_cli.py.

Definition at line 308 of file irbe_cli.py.

Definition at line 299 of file irbe_cli.py.

Definition at line 302 of file irbe_cli.py.

Definition at line 307 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 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.

Definition at line 281 of file irbe_cli.py.


Generated on Tue Jun 2 19:10:19 2009 for RPKI Engine by  doxygen 1.5.8