aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--portal-gui/rpki/TODO31
1 files changed, 31 insertions, 0 deletions
diff --git a/portal-gui/rpki/TODO b/portal-gui/rpki/TODO
index 2f51377e..da4e3edd 100644
--- a/portal-gui/rpki/TODO
+++ b/portal-gui/rpki/TODO
@@ -26,3 +26,34 @@ There are 3 types of resources:
The roa needs to learn to handle its prefix children. It may need to
create the covering set of prefixes for an address range.
+
+Un<something>'d resources are:
+what we've gotten from our parent:
+models.AddressRange.objects.filter(from_parent=1)
+minus what we've given to our children or issued roas for
+models.AddressRange.objects.filter(child__conf=1)
+models.AddressRange.objects.filter(roa__conf=1)
+or
+>>> from django.db.models import Q
+>>> models.AddressRange.objects.filter( Q(child__conf=1) | Q(roa__conf=1) )
+
+
+and of course the ASN one is easier:
+models.Asn.objects.filter(from_parent=1)
+minus what we've given to our children
+models.Asn.objects.filter(child__conf=1)
+
+look in
+rpki/resource_set.py
+
+
+Adding a handle / resource-holding entity / "conf":
+- upload the <identity> that we've generated and are sending to the parent
+
+Adding a parent:
+- upload the <parent> that he sent me
+ (keep things open to the parent uploading this directly to the web interface)
+
+Adding a child:
+- upload the <identity> that he sent me
+