« Previous | Next » 

Revision 85c5d3c9

ID85c5d3c92f3299d5d98f6fdb19479638a54cd646

Added by Apollon Oikonomopoulos almost 13 years ago

Improve temporary reservation of IP addresses

Add a new method, TemporaryReservationManager.GetECReserved(), which returns all
reservations held by a given ec_id.

Also add a new method, ConfigWriter._UnlockedCommitReservedIps(), which can be
called to commit all temporarily reserved IP addresses to the respective
address pools. For this to work, the IP reservation manager must hold both, the
address and the network UUID of the respective address pool.

Finally, we automatically commit IP address reservations during
ConfigWriter.Update() of Instance objects. For this to work, we add an optional
ec_id keyword, which must hold the calling job's unique id to get the
relevant reservations.

Signed-off-by: Apollon Oikonomopoulos <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences