This patch series introduces instance policy as cluster- and nodegroup- level parameter, intended to be used as described in the design document for resource model changes.
In this patch series we add support for creating and modifying the policy, as well as verification in gnt-cluster verify. Agata Murawska (10): Introduce instance policy on cluster level Instance policy command line support InitCluster supports instance policy SetClusterParams supports instance policy changes Cluster-level instance policy - other Introduce instance policy on nodegroup level Verification of instance policy for gnt-cluster verify Group query now calculates ipolicy AddGroup supports instance policy GroupSetParam supports instance policy changes lib/bootstrap.py | 12 +++- lib/cli.py | 27 ++++++++ lib/client/gnt_cluster.py | 41 +++++++++++- lib/client/gnt_group.py | 60 ++++++++++++++++-- lib/cmdlib.py | 91 +++++++++++++++++++++++++++- lib/config.py | 18 +++++- lib/constants.py | 61 ++++++++++++++++++ lib/objects.py | 136 +++++++++++++++++++++++++++++++++++++++++ lib/opcodes.py | 3 + lib/query.py | 20 ++++++- lib/rapi/rlib2.py | 1 + test/ganeti.query_unittest.py | 24 ++++++-- 12 files changed, 474 insertions(+), 20 deletions(-) -- 1.7.3.1
