nam_adapter
NAM Adapter
Last updated 6 years ago by nam_xifi .
BSD-2 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install nam_adapter 
SYNC missed versions from official npm registry.

NAM Adapter

NAM Adapter is the component in charge of the Network Active Monitoring data within the XIFI Infrastructure Monitoring Middleware (XIMM) (initial description and concepts provided in the [deliverable D3.1- XIFI infrastructure adaptation components API open specification] (http://wiki.fi-xifi.eu/Public:D3.1)). This component provides a multi-domain monitoring mechanism able to handle latency and bandwidth-related tests along a set of points of interest within the federated community.

Install

Installation Requirements

The main recommendation to install the NAM Adapter is to deploy the software package on a host with Ubuntu/ Debian running as Operating System. If this was not the case, it would be necessary to check how to install additional packages that are required. NAM's software repository has been successfully tested with versions 12.10 and 13.10 of Ubuntu, and version 7.3 of Debian. No major issues are expected for upcoming versions.

In order to work properly, the component requires the following set of software modules:

  • Node.js
  • MongoDB
  • NTP
  • Iperf

The required software can be installed manually from the default Debian/Ubuntu repositories by using the following commands:

Install Node-js

 $ sudo apt-get update
 $ sudo apt-get install -y python-software-properties python g++ make
 $ sudo add-apt-repository -y ppa:chris-lea/node.js
 $ sudo apt-get update
 $ sudo apt-get install nodejs

Install mongodb

 $ sudo apt-get install mongodb

Install iperf

 $ sudo apt-get install iperf

Install ntp

 $ sudo apt-get install ntp

Installation of the NAM Adapter in Debian/Ubuntu

For install nam adapter uses the following command:

npm install nam_adapter

Run NAM Adapter

For run nam adapter uses the following commands:

$ cd nodes_modules/nam_adapter
../nam_adapter/ $ ./NAMadapter start

Usage

Request an On-Demand Test between endpoints

A Call instance resource represents a measure between a host A and host B. The following parameters are needed to run Test On-Demand (OWD or BDW):

  • URI: http://{hostServerNAM}:{portNAM}/monitoring/host2hosts/{serviceType}/{regionId_Source}-{hostId_Source};{regionId_Destination}-{hostId_Destination}
  • Method: GET
  • Content-Type: Application/JSON
  • Query string parameters: ?format=XML/JSON/TXT
  • Request body: none

Example of usage:

curl --header "{my-token}" "http://138.4.47.33:3000/monitoring/host2hosts/owd/Trento-193.205.211.69;Waterford-193.1.202.133"

Developing

Tools

Current Tags

  • 3.1.6                                ...           latest (6 years ago)

31 Versions

  • 3.1.6                                ...           6 years ago
  • 3.1.5                                ...           6 years ago
  • 3.1.4                                ...           6 years ago
  • 3.1.3                                ...           6 years ago
  • 3.1.2                                ...           6 years ago
  • 3.1.1                                ...           6 years ago
  • 1.1.1                                ...           6 years ago
  • 1.1.0                                ...           6 years ago
  • 1.0.1-9.15                                ...           6 years ago
  • 1.0.1-9.14                                ...           6 years ago
  • 1.0.1-9.13                                ...           6 years ago
  • 1.0.1-9.12                                ...           6 years ago
  • 1.0.1-9.11                                ...           6 years ago
  • 1.0.1-9.10                                ...           6 years ago
  • 1.0.1-9.9                                ...           6 years ago
  • 1.0.1-9.8                                ...           6 years ago
  • 1.0.1-9.7                                ...           6 years ago
  • 1.0.1-9.6                                ...           6 years ago
  • 1.0.1-9.5                                ...           6 years ago
  • 1.0.1-9.4                                ...           6 years ago
  • 1.0.1-9.3                                ...           6 years ago
  • 1.0.1-9.2                                ...           6 years ago
  • 1.0.1-9.1                                ...           6 years ago
  • 1.0.19                                ...           6 years ago
  • 1.0.1-8.unsecure                                ...           6 years ago
  • 1.0.1-6.unsecure                                ...           6 years ago
  • 1.0.1-5.unsecure                                ...           6 years ago
  • 1.0.14                                ...           6 years ago
  • 1.0.13                                ...           6 years ago
  • 1.0.12                                ...           6 years ago
  • 1.0.11                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (12)
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2017 © taobao.org |