Package linspector :: Package lib :: Package config :: Module parser :: Class FullConfigParser
[hide private]
[frames] | no frames]

Class FullConfigParser

source code

ConfigParser --+
               |
              FullConfigParser

Instance Methods [hide private]
 
parse_config(self, configFilename)
parses the json configuration and returns a list of layouts, which contains all nessesary information of the config file.
source code

Inherited from ConfigParser: __init__, create_config, create_hostgroups_from_json, create_layouts_from_json, create_members_from_json, replace_pointer, replace_with_import

Method Details [hide private]

parse_config(self, configFilename)

source code 

parses the json configuration and returns a list of layouts, 
which contains all nessesary information of the config file.
parses the full config
Parsing will be done in 3 steps:
1. get raw Config Objects by just passing the values defined inside the config
2. replace references by objects, import services, tasks, parsers and processors
3. do sanity checks

params:
    configFilename: indicates which configuration file to parse

Overrides: ConfigParser.parse_config