NLANR/MNA logo

AMP Web Service

This web page describes how to use web services with AMP. The service is based on the Internet2 AMI service.

Query the data

This section describes how to query web services for AMP data. An AMP-specific example is shown here, see the AMI service for more details.

#!/usr/bin/perl

use SOAP::Lite;

my %request = ( networkCharacteristic => "path.delay.roundTrip",
subject => { source => { address => { name => "MONTANA", }, },
destination => { address => { name => "GATECH", }, },
type => "IPv4", },
startTime => "2004-04-30T10:00:00",
endTime => "2004-04-30T10:59:59",
);

my $webService = SOAP::Lite
-> uri('http://amp.nlanr.net/AMPWS')
-> proxy('http://amp.nlanr.net/active/cgi-bin/ampSoapServer.cgi')
-> NetworkMeasurementSet(\%request)
-> result;

print $webService->{networkMeasurement}->{results}->{resultSet}->{result}->{min},"\n";
print $webService->{networkMeasurement}->{results}->{resultSet}->{result}->{avg},"\n";
print $webService->{networkMeasurement}->{results}->{resultSet}->{result}->{max},"\n";

Request a test

In order to request a test from the AMP infrastructure, you must first request that your machine is added to the list of permitted nodes. Use the feedback link below.

Use the example client code shown below as a starting point to develop your own web services client. The tool name can be traceroute, treno, ping-F or actsrv. Currently only startTime = "now" is supported. The ability to schedule future tests will be developed later.

#!/usr/bin/perl

use SOAP::Lite

my %request = ( methodology => { tool => { name => "traceroute", }, },
  subject => { source => { address => { name => "MONTANA", }, },
  destination => { address => { name => "GATECH", }, },
  type => "IPv4", },
  startTime => "now",
  );

my $webService = SOAP::Lite
  -> uri('http://amp.nlanr.net/ATR')
  -> proxy('http://amp.nlanr.net/active/cgi-bin/AtrSoapServer.cgi')
  -> NetworkMeasurementRequest(\%request)
  -> result;

print $webService->{version},"\n";

Also see IEPM Web Services.

The AMP team greatfully acknowledges the work of Warren Matthews in developing this webservices interface to the AMP data. To help us know how to develop AMP, and to justify our continued funding we would appreciate it if you would let us know if you are using this service. Please click on the feedback link below.



see link to more info...       more info...


AMP DATA

AMPlet Software

AMP Home

Introduction to AMP

Data Interfaces ~

Web interface

Webservices interface

AMP data status reports

Day in the life of AMP
Compressed tar archive of one recent day's data (~280MB compressed, >1GB uncompressed).

IPMP

AMP IPv6

IPv6 Scamper

Start a Cichlid server

On demand throughput tests

Raw data query

Traceroute request

Citings: Data Users

Publications & Resources

NLANR/MNA Home

Meet the Team

Feedback


see link to more info...       more info...

divider line

Top   last modified: 15 Jul 2006   Warren Matthews   Comments, questions are welcome:   Feedback

acknowledgment