« Previous | Next » 

Revision 9f3797d6

ID9f3797d68e1e1ab00fa70d6f7fd485c94ad2e023

Added by Dimitris Aragiorgis over 11 years ago

Config methods for reserving/releasing IPs

Implement methods for reserving/releasing IPs in config.py.

Use TemporaryReservationManager for IP handling to ensure
config data consistency.

Add ec_id argument in Update() to be able to commit temporary
IPs that were previously reserved.

Implement _UnlockedCommitTemporaryIps() and invoke it in
AddInstance(), and Update().

Implement UnlockedCommitIp() that actually marks the IP in the
pool as used or free and is invoked by _UnlockedCommitTemporaryIps()
and RemoveInstance().

Implement CheckIPInNodeGroup() used for conflicting IPs.
Implement GetGroupNetParams() used for inheriting netparams.

Signed-off-by: Dimitris Aragiorgis <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences