From e7192c8756db07a7ff1072c5d762634346da0b74 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Thu, 3 May 2012 00:02:34 +0000 Subject: Resource overlap handling: fix handling of overlaps, and add option to allow overlaps when dealing with damaged data -- in general, you should not use the allow_overlap flag for any reason, it's only present to avoid having to fork this code just to deal with nastiness like the RIR ERX data. svn path=/branches/tk33/; revision=4461 --- rpkid/rpki/exceptions.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'rpkid/rpki/exceptions.py') diff --git a/rpkid/rpki/exceptions.py b/rpkid/rpki/exceptions.py index 4e4bc42a..21410380 100644 --- a/rpkid/rpki/exceptions.py +++ b/rpkid/rpki/exceptions.py @@ -341,3 +341,8 @@ class MultipleCMSEECert(RPKI_Exception): """ Can't have more than one CMS EE certificate in validation chain. """ + +class ResourceOverlap(RPKI_Exception): + """ + Overlapping resources in resource_set. + """ -- cgit v1.2.3