Revision 5e7170e7
ID | 5e7170e745183d318d989935d2cb174a6db06d24 |
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 <dimara@grnet.gr>
Files
- added
- modified
- copied
- renamed
- deleted