Up to version 7.9.2 the only function available to change device parameters is:

system.device.setDeviceHostname(deviceName, hostname)

This way, only ip address (hostname) of a device can be modified. It would be useful to have a function like:

system.device.setDeviceProps(deviceName, deviceProps)

to change other properties of a device.

This would be very useful to manage a redundant communication to a Siemens 400H changing parameters hostname (ip address) and rackNumber through scripting in case of a communication fault.