Skip to content

Latest commit

 

History

History
62 lines (51 loc) · 2.42 KB

README.md

File metadata and controls

62 lines (51 loc) · 2.42 KB

Build status

boda-huaweicmmotreeparser

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>

Usage

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

Download and installation

The lastest compiled jar file is availabled in the dist directory. Alternatively, download it directly from here.

Requirements

To run the jar file, you need Java version 1.8 and above.

Getting help

To report issues with the application or request new features use the issue tracker. For help and customizations send an email to [email protected].

Credits

Bodastage - [email protected]

Contact

For any other concerns apart from issues and feature requests, send an email to [email protected].

Licence

This project is licensed under the Apache 2.0 licence. See LICENCE file for details.