Revision 63fb7526 doc/iallocator.rst
b/doc/iallocator.rst | ||
---|---|---|
219 | 219 |
of instance disks and its template type, but Ganeti is better |
220 | 220 |
suited to compute it |
221 | 221 |
|
222 |
.. pyassert:: |
|
223 |
|
|
224 |
constants.DISK_ACCESS_SET == set([constants.DISK_RDONLY, |
|
225 |
constants.DISK_RDWR]) |
|
226 |
|
|
222 | 227 |
Allocation needs, in addition: |
223 | 228 |
|
224 | 229 |
disks |
... | ... | |
226 | 231 |
instance (in the order they are exported to the hypervisor): |
227 | 232 |
|
228 | 233 |
mode |
229 |
either ``r`` or ``w`` denoting if the disk is read-only or |
|
234 |
either :pyeval:`constants.DISK_RDONLY` or |
|
235 |
:pyeval:`constants.DISK_RDWR` denoting if the disk is read-only or |
|
230 | 236 |
writable |
231 | 237 |
|
232 | 238 |
size |
Also available in: Unified diff