« Previous | Next » 

Revision 5e7170e7

ID5e7170e745183d318d989935d2cb174a6db06d24

Added by Dimitris Aragiorgis about 12 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