perfsonar-user - Re: [perfsonar-user] perfsonar config file format rant
Subject: perfSONAR User Q&A and Other Discussion
List archive
- From: Andrew Lake <>
- To: "" <>, SCHAER Frederic <>
- Subject: Re: [perfsonar-user] perfsonar config file format rant
- Date: Wed, 16 Mar 2016 09:08:53 -0400
Hi, Thanks for the comment. You are correct, it is not XML nor is it intended to be. It is Apache config file format, and mirrors what the format the Apache web server uses. In Perl, the primary module used to parse such files is called Config::General (http://search.cpan.org/dist/Config-General/General.pm). As with all config file formats there are advantages and disadvantages. It’s a rather popular format in the Perl world which is what most of the tools are or were originally written in years ago. You can find libraries to parse it in other languages, though admittedly the libraries are not always as popular(i.e. well-supported). There are no CLI tools provided by perfsonar to manipulate it, though its should be possible to write a perl script to do hat you want with Config::General or (depending on what you are doing) use template features of you config management software. If all else fails I’ve always been able to get away with some old fashioned sed commands in our configuration management rules on ESnet but it depends what you are trying to do I guess. Thanks, Andy On March 16, 2016 at 6:20:13 AM, SCHAER Frederic () wrote:
|
- [perfsonar-user] perfsonar config file format rant, SCHAER Frederic, 03/16/2016
- Re: [perfsonar-user] perfsonar config file format rant, Andrew Lake, 03/16/2016
- RE: [perfsonar-user] perfsonar config file format rant, SCHAER Frederic, 03/17/2016
- Re: [perfsonar-user] perfsonar config file format rant, Mark Feit, 03/17/2016
- RE: [perfsonar-user] perfsonar config file format rant, SCHAER Frederic, 03/17/2016
- Re: [perfsonar-user] perfsonar config file format rant, Andrew Lake, 03/16/2016
Archive powered by MHonArc 2.6.16.