Mark cluster's IPs as externally reserved
authorDimitris Aragiorgis <dimara@grnet.gr>
Wed, 16 Oct 2013 09:50:38 +0000 (12:50 +0300)
committerDimitris Aragiorgis <dimara@grnet.gr>
Tue, 12 Nov 2013 23:24:35 +0000 (01:24 +0200)
commit130a5d83e2417a80fc8037de98e139f251ad01c8
treef2576cfbaab07d903f2212c56bbd90af1fb66363
parent16c49e89ba328cd53267d6acbc3ebeb7c1d808b2
Mark cluster's IPs as externally reserved

Currently, upon network creation, nodes' and master's IPs
are reserved in the pool.

This leads to pool reservations ('X' in map) that cannot be changed
afterwards, although they may need to (e.g. in case of node
removal/modification). Also, these IPs are not actually handled by
Ganeti in the sense that they are not assigned to the cluster's VMs.

Thus, we should mark the as externally reserved and not just reserved.

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
lib/cmdlib/network.py