Parses Huawei managed object tree Configuration Data dump from XML to csv.
Below is the expected format of the input file:
<?xml version="1.0" encoding="ISO-8859-1"?>
<MOTree>
<MO className="BSC6900GSMNE" fdn="NE=XXX">
<attr name="fdn">NE=XXX</attr>
<attr name="IP">XXX.XXX.XXX.XXX</attr>
<attr name="MOIndex">XXX</attr>
<!-- ... -->
<MO className="BSC6900GSMABISE1T1" fdn="NE=XXX,ABISE1T1=XXX">
<attr name="fdn">NE=XXX,ABISE1T1=XXX</attr>
<attr name="MOIndex">XXX</attr>
<!-- ... -->
</MO>
<!-- ... -->
</MO>
</MOTree>
java -jar huaweicmmotreeparser.jar data.xml outputDirectory
usage: java -jar boda-huaweicmmotreeparser.jar
Parses Huawei MO Tree CM XML data to csv
-c,--parameter-config <PARAMETER_CONFIG> parameter configuration file
-h,--help show help
-i,--input-file <INPUT_FILE> input file or directory name
-o,--output-directory <OUTPUT_DIRECTORY> output directory name
-p,--extract-parameters extract only the managed
objects and parameters
-v,--version display version
Examples:
java -jar boda-huaweicmmotreeparser.jar -i dump_file -o out_folder
java -jar boda-huaweicmmotreeparser.jar -i input_folder -o out_folder
java -jar boda-huaweicmmotreeparser.jar -i input_folder -p
java -jar boda-huaweicmmotreeparser.jar -i input_folder -p -m
The lastest compiled jar file is availabled in the dist directory. Alternatively, download it directly from here.
To run the jar file, you need Java version 1.8 and above.
To report issues with the application or request new features use the issue tracker. For help and customizations send an email to [email protected].
For any other concerns apart from issues and feature requests, send an email to [email protected].
This project is licensed under the Apache 2.0 licence. See LICENCE file for details.