RPKI Engine
1.0
|
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 |
<repository/> element.
Definition at line 763 of file left_right.py.
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 797 of file left_right.py.
References rpki::left_right::self_elt::bpki_cert, bpki_cert, rpki::left_right::self_elt::bpki_glue, bpki_glue, rpki::left_right::data_elt::bsc(), rpki::myrpki::CA::bsc(), default_pubd_handler(), rpki::sql::sql_persistent::gctx, rpki::rpkid::ca_obj::gctx, rpki::rpkid::ca_detail_obj::gctx, rpki::rpkid::child_cert_obj::gctx, rpki::rpkid::revoked_cert_obj::gctx, rpki::rpkid::roa_obj::gctx, rpki::rpkid::ghostbuster_obj::gctx, rpki::left_right::data_elt::self(), rpki::rpkid::roa_obj::self(), and rpki::rpkid::ghostbuster_obj::self().
def rpki::left_right::repository_elt::default_pubd_handler | ( | pdu | ) |
Default handler for publication response PDUs.
Definition at line 791 of file left_right.py.
Referenced by call_pubd().
def rpki::left_right::repository_elt::parents | ( | self | ) |
Fetch all parent objects that link to this repository object.
Definition at line 784 of file left_right.py.
References rpki::sql::sql_persistent::gctx, rpki::rpkid::ca_obj::gctx, rpki::rpkid::ca_detail_obj::gctx, rpki::rpkid::child_cert_obj::gctx, rpki::rpkid::revoked_cert_obj::gctx, rpki::rpkid::roa_obj::gctx, and rpki::rpkid::ghostbuster_obj::gctx.
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 769 of file left_right.py.
Referenced by irbe_cli::cmd_elt_mixin::client_getopt(), rpki::xml_utils::base_elt::make_elt(), and rpki::xml_utils::base_elt::read_attrs().
rpki::left_right::repository_elt::bpki_cert = None [static] |
Definition at line 780 of file left_right.py.
Referenced by call_pubd(), and rpki::left_right::child_elt::serve_up_down().
rpki::left_right::repository_elt::bpki_glue = None [static] |
Definition at line 781 of file left_right.py.
Referenced by call_pubd(), and rpki::left_right::child_elt::serve_up_down().
string rpki::left_right::repository_elt::element_name = "repository" [static] |
Definition at line 768 of file left_right.py.
Referenced by rpki::xml_utils::base_elt::endElement(), rpki::publication::publication_object_elt::endElement(), rpki::xml_utils::data_elt::endElement(), rpki::xml_utils::base_elt::make_elt(), rpki::xml_utils::data_elt::make_reply(), rpki::xml_utils::data_elt::serve_create(), rpki::left_right::data_elt::serve_fetch_all(), rpki::left_right::data_elt::serve_fetch_one_maybe(), and rpki::xml_utils::base_elt::startElement().
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 770 of file left_right.py.
Referenced by irbe_cli::cmd_elt_mixin::client_getopt(), rpki::xml_utils::data_elt::endElement(), rpki::xml_utils::base_elt::startElement(), and rpki::xml_utils::data_elt::toXML().
tuple rpki::left_right::repository_elt::handles = (("self", self_elt), ("bsc", bsc_elt)) [static] |
Reimplemented from rpki::left_right::data_elt.
Definition at line 778 of file left_right.py.
tuple rpki::left_right::repository_elt::sql_template [static] |
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 772 of file left_right.py.
Referenced by rpki::xml_utils::data_elt::serve_create(), rpki::sql::sql_persistent::sql_decode(), rpki::sql::sql_persistent::sql_delete(), rpki::sql::sql_persistent::sql_encode(), and rpki::sql::sql_persistent::sql_store().