From e969a7c5c541faaa35e2b2b7c0a237cac6e00b40 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Tue, 20 Mar 2007 15:52:15 +0000 Subject: optional :ca argument to (list-resources) svn path=/scripts/regeng-api; revision=517 --- scripts/regeng-api | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'scripts/regeng-api') 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 ...) ...) -- cgit v1.2.3