The Datapository

A collaborative network data analysis and storage facility

XMLRPC Interface to the BGP Monitor

For remote, automated access to the BGP monitor, we provide an XML-RPC-based interface that's much easier to use than scraping the HTML results. The server is www.datapository.net and the program path is /bgpmon/dataview-rpc.cgi. Please note that both of these are subject to change as we expand the datapository.

Interface

The server exports three functions:

Dataview accepts a hash table of parameters to control the script. The parameters are:

Sample script

To get a feel for using the XML-RPC interface, grab our ruby command-line query script. Note that almost all of the code in there is actually just explaining to the user what the options are; the interface itself is very simple.

./bgpview-client.rb --feed=ana1_gblx --prefix="206.197.119.0/24" \
                    --prefix-rel="eq" --time=between --start-time="11/05/2005"  \
                    --end-time="11/12/2005"

2005/11/05 06:00:11   A  206.197.119.0/24     701 6315
2005/11/05 06:00:40   A  206.197.119.0/24     701 6315
2005/11/08 01:48:00   A  206.197.119.0/24     701 6315
2005/11/08 03:49:27   A  206.197.119.0/24     701 6315 

Last updated: Tue Feb 06 18:45:10 EST 2007 [validate xhtml]

datapository - at - emulab dot net.