« Previous | Next » 

Revision cb921a79

IDcb921a791645fe65380b5156bc01b1e86af2bdb1

Added by Dimitris Aragiorgis about 10 years ago

Remove WriteConfig() from AddTcpUdpPort() and delegate it
to Update() via the TemporaryReservationManager.

Therfore in _ConvertDdbdToPlain we invoke AddTcpUdpPort before
Update(). In case the disk is removed (instace modify/remove)
Update() is the last thing to call so we are ok.

In case a gnt-instance remove/modify returns error should not
release ports (like it previously did) because it will end up
with corrupted configuration and perhaps duplicates.

Signed-off-by: Dimitris Aragiorgis <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences