The config module provides the means for users of both the Arc API and the arcli command line application to have defaults that suit their need.
Configuration file parser
This class provides a parser for the client side configuration file, both the system wide client configuration, and the local user configuration file.
The local user configuration file overrides values that may be set in the system wide configuration file.
Returns the default configuration
Parameters: | klass – a Configurtion class to be instantiated one time only. Defaults to UserLocalConfigParser |
---|
This is a parser for the system wide configuration for the autotest rpc client library.
This is a parser for the configuration file that is specific to the current user and lives on his home directory.
If the system wide configuration exists, it is also read, though the values in the user specific configuration file overrides the previous one.
Returns the server host, defaulting to what is in arc.defaults
Returns the server port, defaulting to what is in arc.defaults
alias of UserLocalConfigParser