How to find Oneclick service model-type related XML files
search cancel

How to find Oneclick service model-type related XML files


Article ID: 131883


Updated On:


CA Spectrum


How to find the Device (model-type) related OC-service related XML-file(s) to use for customization tasks? 

Customizing Spectrum OneClick Console view.


This applies to all supported CA Spectrum platforms.


Find first the related model-type - then find the related XML-files references. 

  • Find related model-type-handle - and use the Attribute Tab under Device Component Details. Once the model-type-handle is known - search for this.
  • Use "bash -login"/shell from $SPECROOT/tomcat/webapps/spectrum to find the XML-files per command:

            find . -name "*.xml" -exec grep -il <model-type-handle> {} \;


============== find model-type handle ================= 
per spectrum install owner - connect via CLI to the SpectroSERVER - then find per: 
./show types | grep -i <expresssion> 

[[email protected] vnmsh]$ ./show types | grep -i atlas_
0x6700001 Atlas_Rtr V,I,D 

============== find model-type handle in XML files =========== 
$SPECROOT/tomcat/webapps/spectrum directory - as all default files are covered in the subdirs: 

[[email protected] spectrum]$ pwd 
[[email protected] spectrum]$ find . -name "*.xml" -exec grep -il 0x6700001 {} \; 

From this point - follow-up the customization as explained in the Customization Guide:

You may find better customization info via old documentation - please check here: 
(Search for "Extend or Modify an Information View").