Public Member Functions | Static Public Attributes

rpki.left_right.repository_elt Class Reference

Inherits rpki::left_right::data_elt.

Inherited by irbe_cli.repository_elt.

Collaboration diagram for rpki.left_right.repository_elt:
Collaboration graph

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")
 bpki_cert = None
 bpki_glue = None
string element_name = "repository"
tuple elements = ("bpki_cert", "bpki_glue")
tuple handles = (("self", self_elt), ("bsc", bsc_elt))
tuple sql_template

Detailed Description

<repository/> element.

Definition at line 613 of file left_right.py.


Member Function Documentation

def rpki.left_right.repository_elt.call_pubd (   self,
  callback,
  errback,
  q_msg,
  handlers = None 
)
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 644 of file left_right.py.

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

Definition at line 638 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 633 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]

Definition at line 619 of file left_right.py.

Definition at line 630 of file left_right.py.

Definition at line 631 of file left_right.py.

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

Definition at line 618 of file left_right.py.

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

Definition at line 620 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 628 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),
                                   ("last_cms_timestamp", rpki.sundial.datetime))

Definition at line 622 of file left_right.py.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables