rpki.left_right.parent_elt Class Reference

Inheritance diagram for rpki.left_right.parent_elt:

Inheritance graph

List of all members.

Public Member Functions

def cas
def query_up_down
def repository
def serve_post_save_hook
def serve_rekey
def serve_revoke

Static Public Attributes

tuple attributes
 XML attributes for this element.
tuple booleans = ("rekey", "reissue", "revoke")
 Boolean attributes (value "yes" or "no") for this element.
 bpki_cms_cert = None
 bpki_cms_glue = None
 bpki_https_cert = None
 bpki_https_glue = None
string element_name = "parent"
tuple elements = ("bpki_cms_cert", "bpki_cms_glue", "bpki_https_cert", "bpki_https_glue")
 XML elements contained by this element.
tuple sql_template


Detailed Description

<parent/> element.

Definition at line 276 of file left_right.py.


Member Function Documentation

def rpki.left_right.parent_elt.cas (   self  ) 

Fetch all CA objects that link to this parent object.

Definition at line 299 of file left_right.py.

def rpki.left_right.parent_elt.query_up_down (   self,
  q_pdu 
)

Client code for sending one up-down query PDU to this parent.

I haven't figured out yet whether this method should do something
clever like dispatching via a method in the response PDU payload,
or just hand back the whole response to the caller.  In the long
run this will have to become event driven with a context object
that has methods of its own, but as this method is common code for
several different queries and I don't yet know what the response
processing looks like, it's too soon to tell what will make sense.

For now, keep this dead simple lock step, rewrite it later.

Definition at line 321 of file left_right.py.

def rpki.left_right.parent_elt.repository (   self  ) 

Fetch repository object to which this parent object links.

Definition at line 295 of file left_right.py.

def rpki.left_right.parent_elt.serve_post_save_hook (   self,
  q_pdu,
  r_pdu 
)

Extra server actions for parent_elt.

Reimplemented from rpki.xml_utils.data_elt.

Definition at line 303 of file left_right.py.

def rpki.left_right.parent_elt.serve_rekey (   self  ) 

Handle a left-right rekey action for this parent.

Definition at line 311 of file left_right.py.

def rpki.left_right.parent_elt.serve_revoke (   self  ) 

Handle a left-right revoke action for this parent.

Definition at line 316 of file left_right.py.


Member Data Documentation

Initial value:

("action", "tag", "self_id", "parent_id", "bsc_id", "repository_id",
                "peer_contact_uri", "sia_base", "sender_name", "recipient_name")
XML attributes for this element.

Reimplemented from rpki.xml_utils.base_elt.

Definition at line 280 of file left_right.py.

tuple rpki.left_right.parent_elt.booleans = ("rekey", "reissue", "revoke") [static]

Boolean attributes (value "yes" or "no") for this element.

Reimplemented from rpki.xml_utils.base_elt.

Definition at line 283 of file left_right.py.

Definition at line 290 of file left_right.py.

Definition at line 291 of file left_right.py.

Definition at line 292 of file left_right.py.

Definition at line 293 of file left_right.py.

string rpki.left_right.parent_elt.element_name = "parent" [static]

Definition at line 279 of file left_right.py.

XML elements contained by this element.

Reimplemented from rpki.xml_utils.base_elt.

Definition at line 282 of file left_right.py.

Initial value:

rpki.sql.template("parent", "parent_id", "self_id", "bsc_id", "repository_id",
                                   ("bpki_cms_cert", rpki.x509.X509), ("bpki_cms_glue", rpki.x509.X509),
                                   ("bpki_https_cert", rpki.x509.X509), ("bpki_https_glue", rpki.x509.X509),
                                   "peer_contact_uri", "sia_base", "sender_name", "recipient_name")

Definition at line 285 of file left_right.py.


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

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