From 1b00eb28baf4bb1b26fcb4567deccbc5a7aacf8c Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Wed, 5 Mar 2008 00:15:45 +0000 Subject: Checkpoint svn path=/rpkid/rpki/sql.py; revision=1550 --- rpkid/rpki/sql.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'rpkid/rpki/sql.py') diff --git a/rpkid/rpki/sql.py b/rpkid/rpki/sql.py index 168c9cba..0b8cd45b 100644 --- a/rpkid/rpki/sql.py +++ b/rpkid/rpki/sql.py @@ -458,15 +458,19 @@ class ca_detail_obj(sql_persistant): predecessor.sql_mark_dirty() for child_cert in predecessor.child_certs(gctx): child_cert.reissue(gctx, self) + for route_origin in predecessor.route_origins(gctx): + raise rpki.exceptions.NotImplementedYet, "Don't (yet) know how to reissue ROAs" def delete(self, gctx, ca, repository): - """Delete this ca_detail and all of its associated child_cert objects.""" + """Delete this ca_detail and all of the certs it issued.""" for child_cert in self.child_certs(gctx): repository.withdraw(gctx, child_cert.cert, child_cert.uri(ca)) child_cert.sql_delete(gctx) for child_cert in self.child_certs(gctx, revoked = True): child_cert.sql_delete(gctx) + for route_origin in self.route_origins(gctx): + raise rpki.exceptions.NotImplementedYet, "Don't (yet) know how to withdraw ROAs" repository.withdraw(gctx, self.latest_manifest, self.manifest_uri(ca)) repository.withdraw(gctx, self.latest_crl, self.crl_uri()) self.sql_delete(gctx) -- cgit v1.2.3