ARC Configuration Parser
Nordugrid ARC configuration parser
usage: arcconfig-parser [-h] [--debug {CRITICAL,ERROR,WARNING,INFO,DEBUG}]
[--load] [--save] [-r RUNCONFIG] [-c CONFIG]
[-d DEFAULTS] [-b BLOCK] [-o OPTION] [-s]
[-e {bash,json}] [-f EXPORT_FILTER]
Named Arguments
- --debug
Possible choices: CRITICAL, ERROR, WARNING, INFO, DEBUG
verbosity level (default is “WARNING”)
Default: “WARNING”
Runtime configuration
Work with runtime configuration that includes default values
- --load
load ARC runtime configuration
Default: False
- --save
save ARC runtime configuration
Default: False
- -r, --runconfig
runtime config file location (default is “/run/arc/arc.runtime.conf”)
Default: “/run/arc/arc.runtime.conf”
Configuration files
Initial ARC configuration files
- -c, --config
config file location (default is “/etc/arc.conf”)
Default: “/etc/arc.conf”
- -d, --defaults
defaults file location (default is “/usr/share/arc/arc.parser.defaults”)
Default: “/usr/share/arc/arc.parser.defaults”
Getting values
Get blocks and configuration option values
- -b, --block
block name (can be specified several times)
- -o, --option
option name
- -s, --subblocks
match subblocks against supplied block name(s)
Default: False
- -e, --export
Possible choices: bash, json
export configuration to the defined format
- -f, --export-filter
limit bash export to specified options only