diff options
author | Nick <nick@somerandomnick.ano> | 2010-06-11 09:05:23 +0000 |
---|---|---|
committer | Nick <nick@somerandomnick.ano> | 2010-06-11 09:05:23 +0000 |
commit | 7b158680dac708fc8d9aa74a87d5b6aa4644cd84 (patch) | |
tree | 76b33b045206d771f5d0486b3af852f049826eae /doc/ucis.ano | |
parent | 4467e5a8e4849f6a5903b9cc1a63f794635b4668 (diff) | |
download | resdb-7b158680dac708fc8d9aa74a87d5b6aa4644cd84.tar.gz resdb-7b158680dac708fc8d9aa74a87d5b6aa4644cd84.zip |
added the AnoNet1 domains, and UFO's graphing scripts now use env for local ASN
Diffstat (limited to 'doc/ucis.ano')
-rwxr-xr-x | doc/ucis.ano/bgp_graph/bgp_path_list_bird.sh | 2 | ||||
-rwxr-xr-x | doc/ucis.ano/bgp_graph/bgp_path_list_xml.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/ucis.ano/bgp_graph/bgp_path_list_bird.sh b/doc/ucis.ano/bgp_graph/bgp_path_list_bird.sh index 747f017..882699d 100755 --- a/doc/ucis.ano/bgp_graph/bgp_path_list_bird.sh +++ b/doc/ucis.ano/bgp_graph/bgp_path_list_bird.sh @@ -1,3 +1,3 @@ #!/bin/sh -LOCALNODE=0 +LOCALNODE=${LOCALNODE:-0} echo "show route all" | birdc | grep -F "BGP.as_path:" | sed "s/^\tBGP.as_path: \([0-9 ]*\)$/$LOCALNODE \1/" | sort -u diff --git a/doc/ucis.ano/bgp_graph/bgp_path_list_xml.php b/doc/ucis.ano/bgp_graph/bgp_path_list_xml.php index 96e2ab6..c6212f6 100755 --- a/doc/ucis.ano/bgp_graph/bgp_path_list_xml.php +++ b/doc/ucis.ano/bgp_graph/bgp_path_list_xml.php @@ -1,6 +1,6 @@ #!/usr/bin/php <?php -$mynode = 0; +$mynode = array_key_exists('LOCALNODE',$ENV)?$ENV['LOCALNODE']:0; $file = STDIN; $paths = array(); |