rpki.left_right.repository_elt Class Reference

Inherits rpki::left_right::data_elt.

Inherited by irbe_cli.repository_elt.

List of all members.

Public Member Functions

def call_pubd
def default_pubd_handler
def parents

Static Public Attributes

tuple attributes = ("action", "tag", "self_handle", "repository_handle", "bsc_handle", "peer_contact_uri")
 XML attributes for this element.
 bpki_cert = None
 bpki_glue = None
string element_name = "repository"
tuple elements = ("bpki_cert", "bpki_glue")
 XML elements contained by this element.
tuple handles = (("self", self_elt), ("bsc", bsc_elt))
tuple sql_template

Detailed Description

<repository/> element.

Definition at line 573 of file left_right.py.


Member Function Documentation

def rpki.left_right.repository_elt.call_pubd (   self,
  callback,
  errback,
  q_msg,
  handlers = {} 
)
Send a message to publication daemon and return the response.

As a convenience, attempting to send an empty message returns
immediate success without sending anything.

Handlers is a dict of handler functions to process the response
PDUs.  If the tag value in the response PDU appears in the dict,
the associated handler is called to process the PDU.  If no tag
matches, default_pubd_handler() is called.  A handler value of
False suppresses calling of the default handler.

Definition at line 601 of file left_right.py.

def rpki.left_right.repository_elt.default_pubd_handler (   pdu  ) 
Default handler for publication response PDUs.

Definition at line 595 of file left_right.py.

def rpki.left_right.repository_elt.parents (   self  ) 
Fetch all parent objects that link to this repository object.

Definition at line 590 of file left_right.py.


Member Data Documentation

tuple rpki.left_right.repository_elt.attributes = ("action", "tag", "self_handle", "repository_handle", "bsc_handle", "peer_contact_uri") [static]

XML attributes for this element.

Reimplemented from rpki.xml_utils.base_elt.

Definition at line 579 of file left_right.py.

Definition at line 587 of file left_right.py.

Definition at line 588 of file left_right.py.

string rpki.left_right.repository_elt.element_name = "repository" [static]

Definition at line 578 of file left_right.py.

tuple rpki.left_right.repository_elt.elements = ("bpki_cert", "bpki_glue") [static]

XML elements contained by this element.

Reimplemented from rpki.xml_utils.base_elt.

Definition at line 580 of file left_right.py.

tuple rpki.left_right.repository_elt.handles = (("self", self_elt), ("bsc", bsc_elt)) [static]

Reimplemented from rpki.left_right.data_elt.

Definition at line 585 of file left_right.py.

Initial value:
rpki.sql.template("repository", "repository_id", "repository_handle",
                                   "self_id", "bsc_id", "peer_contact_uri",
                                   ("bpki_cert", rpki.x509.X509), ("bpki_glue", rpki.x509.X509))

Definition at line 582 of file left_right.py.


The documentation for this class was generated from the following file:

Generated on Tue Jan 12 07:56:02 2010 for RPKI Engine by  doxygen 1.6.1