
I agree with Arife. Henk At 15:08 10/08/2005, Arife Vural wrote:
There's been no follow up on the ris-users list, no others stating they'd also like to see this, so I'm wondering what our internal point of view is. Do we want to report the maximum visibility, the maximum of all "num-rispeers:" values? If yes, would we want that in the comment lines of every query? Or only report it in the output of a special query, like '-q sources'?
I think it would be nice to get briefly in the comment lines. If you know the optin -q, then you miss that info.
BTW, I do not remember which e-mail exchange, but it would be nice also have the list of all peers on one page. I will add this into RIS ToDo list.
Although I haven't looked at the code for this particular request, my feeling is the max(num_peers) is relatively easy to extract from the data by a simple walk through the prefix tree.
I guess peer tree, rather prefix.
Arife.
-- Rene
------- Forwarded Message
From: Andrzej Adam Filip <anfi@poczta.onet.pl> To: ris-users@ripe.net Subject: Re: riswhois: reporting total number of ris-peers Date: Mon, 01 Aug 2005 15:03:20 +0200
[...]
Current format of data in riswhoisdump.IPv4.gz and riswhoisdump.IPv6.gz is as follows: % Format: <origin> <tab> <prefix> <tab> <seen by #rispeers>
I would like riswhois report (somewhere in the header comments) maximum value of "seen by #rispeers" ("num-rispeers:" in riwhois terminology) in current data set.
It would make client aware about number of rispeers seeing route with the best "visibility".
Based on todays dumps (2005-08-01T10:03+0000) it is: 89 for IPv4 routes 28 for IPv6 routes
I used the following scriplet: zcat riswhoisdump.IPv4.gz | perl -nae ' next if /^%/; $MAX=$F[2] if $F[2]>$MAX; END {print $MAX} '
- -- Andrzej [en:Andrew] Adam Filip anfi@priv.onet.pl anfi@xl.wp.pl All that is necessary for the triumph of evil is that good men do nothing -- Edmund Burke (1729-1797)
------- End of Forwarded Message
-- Arife Vural SED, RIPE NCC
------------------------------------------------------------------------------ Henk Uijterwaal Email: henk.uijterwaal(at)ripe.net RIPE Network Coordination Centre http://www.amsterdamned.org/~henk P.O.Box 10096 Singel 258 Phone: +31.20.5354414 1001 EB Amsterdam 1016 AB Amsterdam Fax: +31.20.5354445 The Netherlands The Netherlands Mobile: +31.6.55861746 ------------------------------------------------------------------------------ Look here junior, don't you be so happy. And for Heaven's sake, don't you be so sad. (Tom Verlaine)