Revision e6244d00
b/doc/iallocator.rst | ||
---|---|---|
90 | 90 |
enabled_hypervisors |
91 | 91 |
the list of enabled hypervisors |
92 | 92 |
|
93 |
ipolicy |
|
94 |
the cluster-wide instance policy (for information; the per-node group |
|
95 |
values take precedence and should be used instead) |
|
96 |
|
|
93 | 97 |
request |
94 | 98 |
a dictionary containing the details of the request; the keys vary |
95 | 99 |
depending on the type of operation that's being requested, as |
... | ... | |
105 | 109 |
alloc_policy |
106 | 110 |
the allocation policy of the node group (consult the semantics of |
107 | 111 |
this attribute in the :manpage:`gnt-group(8)` manpage) |
112 |
ipolicy |
|
113 |
the instance policy of the node group |
|
108 | 114 |
|
109 | 115 |
instances |
110 | 116 |
a dictionary with the data for the current existing instance on the |
b/lib/cmdlib.py | ||
---|---|---|
14343 | 14343 |
"cluster_name": cfg.GetClusterName(), |
14344 | 14344 |
"cluster_tags": list(cluster_info.GetTags()), |
14345 | 14345 |
"enabled_hypervisors": list(cluster_info.enabled_hypervisors), |
14346 |
# we don't have job IDs
|
|
14346 |
"ipolicy": cluster_info.ipolicy,
|
|
14347 | 14347 |
} |
14348 | 14348 |
ninfo = cfg.GetAllNodesInfo() |
14349 | 14349 |
iinfo = cfg.GetAllInstancesInfo().values() |
Also available in: Unified diff