RPKI Engine
1.0
|
Public Member Functions | |
def | make_reply |
def | serve_dispatch |
Static Public Attributes | |
tuple | attributes = ("self_handle", "tag", "uri") |
XML attributes for this element. | |
string | element_name = "list_published_objects" |
obj = None | |
string | text_attribute = "obj" |
Name of the class attribute that holds the text value. |
<list_published_objects/> element.
Definition at line 1207 of file left_right.py.
def rpki::left_right::list_published_objects_elt::make_reply | ( | self, | |
uri, | |||
obj | |||
) |
Generate one reply PDU.
Definition at line 1235 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::left_right::list_received_resources_elt::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_published_objects_elt::serve_dispatch | ( | self, | |
r_msg, | |||
cb, | |||
eb | |||
) |
Handle a <list_published_objects/> query. The method name is a misnomer here, there's no action attribute and no dispatch, we just dump every published object for the specified <self/> and return.
Definition at line 1218 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, make_reply(), rpki::left_right::data_elt::self_handle, and rpki::left_right::report_error_elt::self_handle.
tuple rpki::left_right::list_published_objects_elt::attributes = ("self_handle", "tag", "uri") [static] |
XML attributes for this element.
Reimplemented from rpki::xml_utils::base_elt.
Definition at line 1213 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_published_objects_elt::element_name = "list_published_objects" [static] |
Definition at line 1212 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().
rpki::left_right::list_published_objects_elt::obj = None [static] |
Definition at line 1216 of file left_right.py.
string rpki::left_right::list_published_objects_elt::text_attribute = "obj" [static] |
Name of the class attribute that holds the text value.
Reimplemented from rpki::xml_utils::text_elt.
Definition at line 1214 of file left_right.py.
Referenced by rpki::xml_utils::text_elt::endElement(), and rpki::xml_utils::text_elt::toXML().