diff options
author | Rob Austein <sra@hactrn.net> | 2008-03-05 00:15:45 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2008-03-05 00:15:45 +0000 |
commit | 1b00eb28baf4bb1b26fcb4567deccbc5a7aacf8c (patch) | |
tree | 80c6a5f8a7015c9d8218a177ff62c7abc5e1dbcb | |
parent | 6bdc963c9d00d9986ccfaf38fa96d32b737ca584 (diff) |
Checkpoint
svn path=/rpkid/rpki/sql.py; revision=1550
-rw-r--r-- | rpkid/rpki/sql.py | 6 |
1 files changed, 5 insertions, 1 deletions
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) |