Mercurial > hg > anonet-resdb
diff doc/ucis.ano/bgp_graph/path_list_to_dot.php @ 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 | b1e1c567665b |
children |
line wrap: on
line diff
--- 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); };