[arin-tech-discuss] Developing Reg-RWS discovery requirements (was Re: Listing all reassignments?)
Thomas St.Pierre
tstpierre at iweb.com
Tue Nov 29 13:52:24 EST 2011
Hi Andy!
1) I would think in my use case it would be the more specific network.
There may be uses for the other options though.
2) I used it in a batch update, but I guess with any update it would be
better to update an existing object rather then delete/recreate? As for
the IP, I was going with the network IP of the subnet as I was querying
the whois database. I'd then compare the result to make sure the network
and subnet masks lined up with I had. It might make more sense querying
network address and subnet mask you're looking after directly though.
Aaron, That's basically what I did in my code. The big problem I had
with that is there's no whois interface to the rest-beta site. Therefore
if you're developing against the beta site it makes it difficult to do
some things as the data doesn't match up.
Thanks!
Thomas
On 11-11-29 1:23 PM, Andy Newton wrote:
> Thomas,
>
> My response is inline.
>
> On Nov 23, 2011, at 1:49 PM, Thomas St.Pierre wrote:
>
>> 1) For a given IP, (usually the network address of the subnet I'm about to reassign) find out what the parent NET HANDLE is. This is required for the net payload to do the reassign. (From my understanding of the documentation anyways)
> Because many registrants SWiP network blocks to themselves, this isn't as straightforward as one would hope. The logic may need to be "find the parent NET HANDLE for the most specific (or least specific) of my networks". I guess most specific is the proper logic, but I could easily be wrong about that. Another option to help solve that problem might be to return ALL the net handles for each network registered by a registrant given an IP. Because it is possible for a single API Key to have an authorization over multiple organizations, that query would also need to include an ORG Handle.
>
>> 2) For a given IP, find what the existing NET HANDLE and customer handle are. Useful for updating existing objects.
> Would the intent be to use this in a batch operation, such as a nightly syncing process, or more for updating objects on the fly? And if it is more of a batch mode, how do you decide which IP address to use?
>
> This has been helpful.
>
> Andy Newton
More information about the arin-tech-discuss
mailing list