To reconfigure a Model from the OneClick console, you manually select the model, and select:
Tools menu -> Reconfiguration -> Reconfigure Model.
How can this be automated via script?
DX NetOps Spectrum Release 20.2 or later
Use the command line (CLI) to issue the reconfigure command via update action.
In order to script this via the command line, use the Spectrum VNMSH CLI API. The commands would be:
#For Windows
cd %SPECROOT%/vnmsh
#For Linux
cd $SPECROOT/vnmsh
./connect
./update action=65550 mh=$MH
Where $MH is the value of the Model_Handle attribute
This is a one time action, if the device is not reachable or in maintenance then this action will be ignored.
You need to run it again when the device is available.
For further information on the Spectrum CLI API, refer to the TechDocs: