aboutsummaryrefslogtreecommitdiff
path: root/rpkid/rpki/exceptions.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2009-06-09 20:25:16 +0000
committerRob Austein <sra@hactrn.net>2009-06-09 20:25:16 +0000
commit48580e7cb64009adf35da58c44b71753b9f0e596 (patch)
treeb6361c77d776bd3c265bc2070e39cc4becd27f82 /rpkid/rpki/exceptions.py
parent24f133ff269e0a240c081d6c93028a17a555e5c4 (diff)
Convert ROA generation code from push model (<route_origin/> objects
in rpkid) to pull model (IRDB for <list_roa_request/> queries). Still need to clean up old code, but new code seems to work properly. svn path=/rpkid/Makefile; revision=2510
Diffstat (limited to 'rpkid/rpki/exceptions.py')
-rw-r--r--rpkid/rpki/exceptions.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/rpkid/rpki/exceptions.py b/rpkid/rpki/exceptions.py
index e98357a0..3f350f04 100644
--- a/rpkid/rpki/exceptions.py
+++ b/rpkid/rpki/exceptions.py
@@ -263,3 +263,13 @@ class DuplicateObject(RPKI_Exception):
"""
Attempt to create an object that already exists.
"""
+
+class EmptyROAPrefixList(RPKI_Exception):
+ """
+ Can't create ROA with an empty prefix list.
+ """
+
+class NoCoveringCertForROA(RPKI_Exception):
+ """
+ Couldn't find a covering certificate to generate ROA.
+ """