aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/regeng-api6
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/regeng-api b/scripts/regeng-api
index e7afa480..dbec3327 100644
--- a/scripts/regeng-api
+++ b/scripts/regeng-api
@@ -211,12 +211,14 @@
;;;
;;; This set of operations are initiated by the RE.
-(list-resources :cust-id 42)
+(list-resources :cust-id 42
+ &optional
+ :ca ca) ; If left off, we're asking about self rather than child
=> ((:ipv4-address "10.0.0.44/32" "10.3.0.44/32")
(:ipv6-address "fe80:dead:beef::/24")
...)
-(list-rights-to-route :cust-id 42)
+(list-rights-to-route :cust-id 42) ; Self
=> ((as-number :ipv4 prefix-or-range :ipv6 prefix-or-range ...)
(as-number "ipv6 prefix-or-range :ipv6 prefix-or-range :ipv4 prefix-or-range ...)
...)