diff options
author | Rob Austein <sra@hactrn.net> | 2010-02-24 01:08:07 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2010-02-24 01:08:07 +0000 |
commit | 2ecbf67ba206151a866a23f2861e0da26f393126 (patch) | |
tree | 2f158bd3956a21e327d67d2be814205284d9cc24 /rpkid/rpki/left_right.py | |
parent | a202256cf2183a35ab649b766965c4c1f65abf8d (diff) |
Checkpoint. <list_received_resources/> still not quite working yet, but getting closer.
svn path=/rpkid/irbe_cli.py; revision=3005
Diffstat (limited to 'rpkid/rpki/left_right.py')
-rw-r--r-- | rpkid/rpki/left_right.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/rpkid/rpki/left_right.py b/rpkid/rpki/left_right.py index 9e3a6fed..d8aca123 100644 --- a/rpkid/rpki/left_right.py +++ b/rpkid/rpki/left_right.py @@ -997,7 +997,7 @@ class list_published_objects_elt(rpki.xml_utils.text_elt, left_right_namespace): r_pdu.obj = obj.get_Base64() return r_pdu -class list_received_resources_elt(rpki.xml_utils.text_elt, left_right_namespace): +class list_received_resources_elt(rpki.xml_utils.base_elt, left_right_namespace): """ <list_received_resources/> element. """ @@ -1018,6 +1018,7 @@ class list_received_resources_elt(rpki.xml_utils.text_elt, left_right_namespace) ca_detail = ca.fetch_active() if ca_detail is not None and ca_detail.latest_ca_cert is not None: r_msg.append(self.make_reply(ca_detail.ca_cert_uri, ca_detail.latest_ca_cert)) + #rpki.log.debug("Generated: %r" % r_msg[-1]) cb() def make_reply(self, uri, cert): @@ -1073,7 +1074,8 @@ class msg(rpki.xml_utils.msg, left_right_namespace): # Dispatch table of PDUs for this protocol. pdus = dict((x.element_name, x) for x in (self_elt, child_elt, parent_elt, bsc_elt, repository_elt, - list_resources_elt, list_roa_requests_elt, list_published_objects_elt, + list_resources_elt, list_roa_requests_elt, + list_published_objects_elt, list_received_resources_elt, report_error_elt)) def serve_top_level(self, gctx, cb): |