Hi All,
We are using modelinggateway to export the Spectrum models in CMDB format using the below command.
./modelinggateway -vnm lxcaspecd01 -cmdb -e specCMDB.xml
Command is working fine and able to export the data. However, half of the file contains the relationships of the type "null". We are interested in only the actual relations and not interested in null relation type. How can we ignore these while exporting using the modelinggateway tool? Please suggest.
Below is an example.
<relation>
<type>null</type>
<provider>
<name>NTSERVER1</name>
<product_version>6.3, Windows Server 2012 R2 Standard, 64-bit</product_version>
<mac_address>00:00:11:1a:ee:f4</mac_address>
<system_name>NTSSERVER1</system_name>
</provider>
<dependent>
<name>LXSERVER1</name>
<product_version>3.10.0-957.10.1.el7.x86_64, Red Hat Enterprise Linux Server release 7.6 (Maipo)</product_version>
<mac_address>00:10:16:2a:ef:ba</mac_address>
<system_name>LXSERVER1</system_name>
</dependent>
</relation>
Thank you.
Rajashekar