cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jayapal Reddy Uradi <jayapalreddy.ur...@citrix.com>
Subject Re: Adding command to update the network plugin host details...
Date Tue, 06 Jan 2015 05:56:49 GMT
Hi Suresh,


Edit should be happened before implementing the network/device.
After implementing a external network device, editing interface info will cause 
the network to reimplement (delete with old data and add with new)

I think updating host table is enough.



Thanks,
Jayapal.

On 06-Jan-2015, at 1:20 AM, Suresh Ramamurthy <suresh.ramamurthy@nuagenetworks.net>
wrote:

> 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


Mime
View raw message