Hi Hugo,

Most of the network plugin, including NuageVSP, has commands  to add and
delete the network device information. Example:

AddNiciraNvpDeviceCmd.java
<https://github.com/apache/cloudstack/blob/master/plugins/network-elements/nicira-nvp/src/com/cloud/api/commands/AddNiciraNvpDeviceCmd.java>
DeleteNiciraNvpDeviceCmd.java
<https://github.com/apache/cloudstack/blob/master/plugins/network-elements/nicira-nvp/src/com/cloud/api/commands/DeleteNiciraNvpDeviceCmd.java>
AddNuageVspDeviceCmd.java
<https://github.com/apache/cloudstack/blob/master/plugins/network-elements/nuage-vsp/src/com/cloud/api/commands/AddNuageVspDeviceCmd.java>
DeleteNuageVspDeviceCmd.java
<https://github.com/apache/cloudstack/blob/master/plugins/network-elements/nuage-vsp/src/com/cloud/api/commands/DeleteNuageVspDeviceCmd.java>

I know that this device information gets added as a host.

Now, we have a requirement to update the device information like device IP
or Username or password etc. Is it okay to add an update API and then
update the information in the Host DB table? Or is there anything that
needs to be taken care when updating the host information in DB.

Is there a reason for not implementing the update command to change the
device information?

Thanks,
Suresh

Reply via email to