Mercurial > hg > anonet-resdb
changeset 394:3ef3b47c7437 draft
Deleted dn42, van NS records and IP claims
author | lex <lex@lynx.ano> |
---|---|
date | Sat, 05 Feb 2011 19:20:57 +0300 |
parents | 572d2db2e35d |
children | e686c28b8bed 3320c927a84f d061105a6f22 0fff726cc95c 645c5eb8fbfa |
files | doc/ucis.ano/bgp_graph/graph.sh doc/ucis.ano/bgp_graph/path_list_to_dot.php |
diffstat | 2 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/doc/ucis.ano/bgp_graph/graph.sh Sat Feb 05 19:20:57 2011 +0300 @@ -0,0 +1,3 @@ +#!/bin/sh +./path_list_to_dot.php < /home/vpn/public_html/.stats/bgp_paths.txt | \ +twopi -T svg -o /home/vpn/public_html/.stats/anonet.svg
--- a/doc/ucis.ano/bgp_graph/path_list_to_dot.php Thu Feb 03 08:58:44 2011 +0100 +++ b/doc/ucis.ano/bgp_graph/path_list_to_dot.php Sat Feb 05 19:20:57 2011 +0300 @@ -30,10 +30,7 @@ function nodenickname ($node) { switch ($node) { case '64731': return 'SRN'; case '64766': return 'UFO'; - case '64768': return 'yang'; - case '64738': return 'welterde'; - case '64827': return 'deelkar'; - case '64680': case '64692': return rtrim(`echo $node | ./asn2descr`); + case '3090': return 'lex'; }; return NULL; }; function nodename ($node) { @@ -41,7 +38,7 @@ if (($name=static_nodename($node))!==NULL) return $name; $nameparts=array(); if (($nick=nodenickname($node))!==NULL) $nameparts[]=$nick; - $name=rtrim(`echo $node | ./asn2adminc | ./hdl2person`); + $name=""; // rtrim(`echo $node | ./asn2adminc | ./hdl2person`); if (empty($name)) $name='AS'.$node; else $name="AS$node ($name)"; $nameparts[]=$name; return join(' - ',$nameparts); };