How to prevent Spectrum services from being exported by Modeling Gateway tool
Release: Any version of Spectrum
Component:
Export using CMDB:
a) Edit the "$SPECROOT/SS_Tools/.cmdbresource.xml" file.
b) Locate and change the following lines, exactly as below:
From:
<CMDBClassMapping>
<CMDBClass family="Service" class="Service" />
<SPECTRUMModelClass>50</SPECTRUMModelClass> <!-- Service Mgt Component -->
</CMDBClassMapping>
To:
<!--<CMDBClassMapping>
<CMDBClass family="Service" class="Service" />
<SPECTRUMModelClass>50</SPECTRUMModelClass> Service Mgt Component
</CMDBClassMapping> -->
c) Run the Modeling Gateway tool with "-cmdb" parameter:
Example:
./modelinggateway -vnm SPECTRUM -cmdb -e CMDB_Export_File
Non-CMDB export:
a) Edit the "$SPECROOT/SS_Tools/.modelinggatewayresource.xml" file.
b) Locate and change the following line, exactly as below:
From:
export_service_modeling = "true"
To:
export_service_modeling = "false"
c) Run the Modeling Gateway tool export.
Example:
./modelinggateway -vnm SPECTRUM -e Export_File