telecomHall.com | Hunter Blog | Tips Blog | Course Blog | Groups

Huawei NBI export parser for GNBI,UNBI, and SRANNBI export XML files


#1

Hello members.

Here you will find Hunter’s Boda parser for Huawei North Bound Interface CM XML.

This specific post is for Huawei NBI XML issues only. If you have questions regarding other Vendor/RAT, please either find the appropriate topic or create a new one - if not already created.

The following sections contain the steps to obtain a Huawei NBI XML dump and parse it.

**Step by step procedure to download and configure the Hunter Boda Huawei NBI XML Parser

  1. Click the link below and download the boda parser to an appropriate folder on your computer.
    Tip: follow the recommended Hunter folder structure so that it will be easier to organize future parser versions, and also other parsers for other RATs.
    Download Link: boda-huaweinbixmlparser.zip (11.6 KB)

  2. The Hunter folder structure starts with a “Hunter” base folder. Then, a subfolder for “Boda”. In the Boda folder, create a folder for this parser (“Huawei_2G or 3G or 4G”) depending on the technology. And finally, the module folders: “Scripts”, “Output” and “Data”.

  3. For now, we will follow the Hunter folder structure and download the BODA parser “boda-huaweinbixmlparser.jar” to “C:\Hunter\Boda\Huawei_NBI\Scripts”

Step by step procedure to download Huawei NBI XML configuration export from U2000

The procedure to configure the NBI exports is missing. Members are welcome to contribute to this.

Step by step procedure to parse (process/extract) Huawei 4G Configuration Parameters

With the raw dump file downloaded, let’s extract the parameters!

  1. First, check if the downloaded files are compressed (ZIP, RAR, 7-z, GZ, etc…). If so, uncompress them using any compression/uncompression utility such as Winzip, Winrar or 7-zip.

  2. Next we run the parameter extraction command. We advise you to create an auxiliary text file, to store/modify the command. Under the Scripts folder, create a file called “huawei_nbi_xml_usage.txt” to contain the command for future reference.
    Adjust the command based as shown below:
    “java -jar boda-huaweinbixmlparser.jar inputFile outputDirectory”

  3. Run the command and wait for it to finish.
    IMPORTANT: Please make sure you run the command on ONE LINE ONLY (not on separate lines).

  4. Done! All your parameters will be extracted into CSV files. These can be opened using any text editor, Microsoft Excel or Access .

Example
"java -jar C:\HUNTER\Boda\Huawei_NBI\Scripts\boda-huaweinbixmlparser.jar C:\HUNTER\Boda\Huawei_NBI\Data\example_data_subfolder\example_cm_file.xml C:\HUNTER\Boda\Huawei_NBI\Output\example_output_subfolder\"

Where:
“C:\HUNTER\Boda\Huawei_NBI\Data\example_data_subfolder” is the folder where you have your dump file;
“example_cm_file.xml” is your dump file;
“C:\HUNTER\Boda\Huawei_NBI\Output\example_output_subfolder” is the folder where all CSV files will be created.

For a more detailed example, please check this topic: General instructions for using the CM parsers to process any network dump

==================================================================================
That’s it. I hope you all participate and help us by inviting your friends to the community, providing feedback/suggestions, and of course asking us whatever issue you may find.

Let’s build a totally new global Telecom community.

BR,
Emmanuel


Huawei 4G XML OSS Parameters Dump Parser
Huawei 3G CFGMML OSS Parameters Dump Parser
#2

Hi Emmanuel,

It is great. It works perfectly. Thanks for your effort to make it work,

BR
GM


#3

Hi,
Can anybody shed light on “Step by step procedure to download Huawei NBI XML configuration export from U2000” as the standard eNB XML can’t be parsed by the new parser?