Add configuration file for finer parsing configuration
erssebaggala opened this issue · 6 comments
There is a need to parse only a subset of the XML file. Forexample, if not all Managed Objects(MOs) are needed a configuration file would be used to specify which MOs and/or attributes to parse.
This was completed
Hello, I've been looking for any hint or example on how to use this feature to extract only two MOs. However I couldn't find anything in the project Readme. Is this information available in other place, or could you please add an example?
Also I would like to thank you for the project. Nice work, and thanks for allowing other people to use it!
@alvmarrod thanks for the feedback.
To extract specific MOs, use
java -jar boda-bulkcmparser.jar -i </path to input file or folder> -o <path to output folder> -c <path to config file>
The format of the config file is:
MO1:mo1Param1,mo1Param2,...,mo1ParamN
MO2:mo2Param1,mo2Param2,...,mo2ParamN
...
Let me know if you are having any issues. Otherwise, thanks again for the feedback and I will update the documentation.
Thanks! Also, is it possible to retrieve all parameters within an MO using a wildcard or something alike?
I've tried directly with EUtranCellRelation:*
but no output file was generated. Basically it's doing the parsing phase but not the extract parameters phase according to logs.
I'm sure that this MO exists within the CM files, as I've obtained it as an output from a regular "extract all" execution.
Let me test and get back to you....will also look into adding a "*"
Let me test and get back to you....will also look into adding a "*"
Hello again sir! Any update on the wildcard matter?