RPKI Engine
1.0
|
Public Member Functions | |
def | make_reply |
def | serve_dispatch |
Static Public Attributes | |
tuple | attributes |
XML attributes for this element. | |
string | element_name = "list_received_resources" |
<list_received_resources/> element.
Definition at line 1243 of file left_right.py.
def rpki::left_right::list_received_resources_elt::make_reply | ( | self, | |
parent_handle, | |||
uri, | |||
cert | |||
) |
Generate one reply PDU.
Definition at line 1266 of file left_right.py.
References rpki::xml_utils::base_elt::make_pdu(), rpki::left_right::data_elt::self_handle, rpki::left_right::report_error_elt::self_handle, rpki::publication::report_error_elt::tag, and rpki::left_right::report_error_elt::tag.
Referenced by rpki::xml_utils::data_elt::serve_create(), rpki::xml_utils::data_elt::serve_destroy(), serve_dispatch(), rpki::xml_utils::data_elt::serve_get(), rpki::xml_utils::data_elt::serve_list(), and rpki::xml_utils::data_elt::serve_set().
def rpki::left_right::list_received_resources_elt::serve_dispatch | ( | self, | |
r_msg, | |||
cb, | |||
eb | |||
) |
Handle a <list_received_resources/> query. The method name is a misnomer here, there's no action attribute and no dispatch, we just dump a bunch of data about every certificate issued to us by one of our parents, then return.
Definition at line 1252 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, rpki::rpkid::ghostbuster_obj::gctx, rpki::left_right::list_published_objects_elt::make_reply(), make_reply(), rpki::left_right::data_elt::self_handle, and rpki::left_right::report_error_elt::self_handle.
tuple rpki::left_right::list_received_resources_elt::attributes [static] |
("self_handle", "tag", "parent_handle", "notBefore", "notAfter", "uri", "sia_uri", "aia_uri", "asn", "ipv4", "ipv6")
XML attributes for this element.
Reimplemented from rpki::xml_utils::base_elt.
Definition at line 1249 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().
string rpki::left_right::list_received_resources_elt::element_name = "list_received_resources" [static] |
Definition at line 1248 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().