perfsonar / mesh-config

Centralized configuration framework for measurement points and GUIs
Apache License 2.0
2 stars 0 forks source link

perfSONAR Mesh Config

The Mesh Config software is a framework for centrally configuring tests. It is designed to make managing a large set of testers (possibly distributed across multiple organizations) easier than managing each by hand. The process involves:

  1. Building a configuration file that defines the tests you want run between a set of hosts
  2. Running a script to convert the file to JSON
  3. Publishing the JSON file to a web server
  4. Running a script on each endpoint to read the JSON file from the web server and decide which tests to run
  5. Optionally running a script on a host running MaDDash to build dashboards of the tests you have defined.

Getting the Code

You may checkout the code with the following command:

git clone --recursive https://github.com/perfsonar/mesh-config.git

Note the use of the --recursive option to ensure any submodule trees are included in the clone.

Building and Installing

To install the code on your system run:

make install

Packaging

You may create a source tarball of this code with the following:

make dist

Running

To build a JSON file run:

/usr/lib/perfsonar/bin/build_json --input <path-to-config-file> --output <path-to-json-output-file>

To generate a test configuration run:

/usr/lib/perfsonar/bin/generate_configuration

To generate a MaDDash configuration run:

/usr/lib/perfsonar/bin/generate_gui_configuration

Using the shared Submodule

This repository contains a git submodule to the perfSONAR shared repository. This submodule is used to access common perfSONAR libraries. You will find a number of symbolic links to these modules under lib. The use of a submodule has a few implications when working with the code in this repository: