perfSONAR_PS::OWP::Conf
This module is used to set configuration parameters for the OWP one-way-ping mesh configuration.
To add additional "scalar" parameters, just start using them. If the new parameter is a BOOL then also add it to the BOOL hash here. If the new parameter is an array then add it to the ARRS hash.
TDB
grok a single line from the config file, and adding that parameter into the hash ref passed in, unless skip is set.
This is a convienence routine that returns no value if the value isn't retrievable.
This is a convienence routine that dies with an error message if the value isn't retrievable.
This is a convienence routine that returns values from a LIST if and only if the sub-hash has a particular value set.
The Remaining functions should probably be moved into another module. They assume a particular set of configuration options exist in the file.
Returns a list of crucial directories and filenames for the given resolution. $datadirname is the link's data directory $rel_dir is its (www) relative directory $filename is only useful with mode 2, where it gives a relative name for the summary line $mode indicates whether the summary file is needed.
Make a full www path out of the relative one.
my $conf = new perfSONAR_PS::OWP::Conf([ NODE => nodename, CONFDIR => path/to/confdir, ]) NODE will default to ($node) = ($hostname =~ /^.*-(/w)/) CONFDIR will default to $HOME The config files can have sections that are only relevant to a particular system/node/addr by using the pseudo httpd.conf file syntax: <OS=$regex> osspecificsettings val </OS> The names for the headings are OS and Host. $regex is a text string used to match uname -s, and uname -n. It can contain the wildcard chars '*' and '?' with '*' matching 0 or more occurances of *anything* and '?' matching exactly 1 occurance of *anything*.
FindBin
To join the 'perfSONAR-PS' mailing list, please visit:
https://mail.internet2.edu/wws/info/i2-perfsonar
The perfSONAR-PS subversion repository is located at:
https://svn.internet2.edu/svn/perfSONAR-PS
Questions and comments can be directed to the author, or the mailing list. Bugs, feature requests, and improvements can be directed here:
https://bugs.internet2.edu/jira/browse/PSPS
$Id: Conf.pm 1877 2008-03-27 16:33:01Z aaron $
Jeff Boote, boote@internet2.edu Jason Zurawski, zurawski@internet2.edu
You should have received a copy of the Internet2 Intellectual Property Framework along with this software. If not, see <http://www.internet2.edu/membership/ip.html>
Copyright (c) 2002-2008, Internet2
All rights reserved.
To install perfSONAR_PS::Services::MA::perfSONARBUOY, copy and paste the appropriate command in to your terminal.
cpanm
cpanm perfSONAR_PS::Services::MA::perfSONARBUOY
CPAN shell
perl -MCPAN -e shell install perfSONAR_PS::Services::MA::perfSONARBUOY
For more information on module installation, please visit the detailed CPAN module installation guide.