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 |
<parent/> element.
Definition at line 278 of file left_right.py.
def rpki.left_right.parent_elt.cas | ( | self | ) |
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 323 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 297 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 305 of file left_right.py.
def rpki.left_right.parent_elt.serve_rekey | ( | self | ) |
def rpki.left_right.parent_elt.serve_revoke | ( | self | ) |
tuple rpki.left_right.parent_elt.attributes [static] |
Initial value:
("action", "tag", "self_id", "parent_id", "bsc_id", "repository_id", "peer_contact_uri", "sia_base", "sender_name", "recipient_name")
Reimplemented from rpki.xml_utils.base_elt.
Definition at line 282 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 285 of file left_right.py.
rpki.left_right.parent_elt.bpki_cms_cert = None [static] |
Definition at line 292 of file left_right.py.
rpki.left_right.parent_elt.bpki_cms_glue = None [static] |
Definition at line 293 of file left_right.py.
rpki.left_right.parent_elt.bpki_https_cert = None [static] |
Definition at line 294 of file left_right.py.
rpki.left_right.parent_elt.bpki_https_glue = None [static] |
Definition at line 295 of file left_right.py.
string rpki.left_right.parent_elt.element_name = "parent" [static] |
Definition at line 281 of file left_right.py.
tuple rpki.left_right.parent_elt.elements = ("bpki_cms_cert", "bpki_cms_glue", "bpki_https_cert", "bpki_https_glue") [static] |
XML elements contained by this element.
Reimplemented from rpki.xml_utils.base_elt.
Definition at line 284 of file left_right.py.
tuple rpki.left_right.parent_elt.sql_template [static] |
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 287 of file left_right.py.