Statistics
| Branch: | Tag: | Revision:

root / lib @ f6d4260c

Name Size
  build
  client
  cmdlib
  confd
  http
  hypervisor
  impexpd
  masterd
  rapi
  server
  tools
  utils
  watcher
__init__.py 1.2 kB
asyncnotifier.py 6.1 kB
backend.py 128.4 kB
bdev.py 110 kB
bootstrap.py 36.6 kB
cli.py 136.6 kB
compat.py 4.3 kB
config.py 88.5 kB
constants.py 64.4 kB
daemon.py 26.7 kB
errors.py 11.4 kB
hooksmaster.py 9.2 kB
ht.py 10.7 kB
jqueue.py 79.7 kB
jstore.py 6 kB
locking.py 61.1 kB
luxi.py 16.4 kB
mcpu.py 17.9 kB
netutils.py 19.1 kB
network.py 7.9 kB
objects.py 64.1 kB
opcodes.py 68.2 kB
outils.py 4.3 kB
ovf.py 66 kB
pathutils.py 5.8 kB
qlang.py 9.6 kB
query.py 82.8 kB
rpc.py 26.3 kB
rpc_defs.py 24.8 kB
runtime.py 6.8 kB
serializer.py 4.5 kB
ssconf.py 11.5 kB
ssh.py 10.3 kB
storage.py 13.2 kB
uidpool.py 11.7 kB
vcluster.py 7.4 kB
workerpool.py 18.3 kB

Latest revisions

# Date Author Comment
f6d4260c 12/03/2013 02:59 pm Dimitris Aragiorgis

SetDiskID before accept instance RPC

This is needed for disk entries inside config data without
physical_id slot.

Signed-off-by: Dimitris Aragiorgis <>

b4076d8a 12/03/2013 01:17 pm Dimitris Aragiorgis

Support reseting arbitrary params for ext disks

If param=default and the param already exists then we remove
it from params dict. This is stolen by GetUpdatedParams() which
is used for hvparams modification/inheritance.

This means that 'default' value is unaccepted for an arbitrary...

819f326b 12/03/2013 11:55 am Dimitris Aragiorgis

Override disk_cache hvp with disk param in ext

This is a hack that brings disk_cache hypervisor param
at disk level. This is supported only for disks of ext
template that allow arbitrary params. The corresponding
param that should be used is 'cache'.

Signed-off-by: Dimitris Aragiorgis <>

f8b4ec36 12/03/2013 11:55 am Dimitris Aragiorgis

Pass disk geometry in kvm command

Currently we allow this feature only for ext templates that
allow arbitrary params per disk. If both 'heads' and 'secs'
params are given then 'cyls' is calculated from the disk size.

TODO: export these params in IDISK_PARAMS since the can be...

5706396c 12/02/2013 07:41 pm Dimitris Aragiorgis

Export DISK_ID as the second part of logical_id

DISK_NAME already is exported and shows disk.name

Signed-off-by: Dimitris Aragiorgis <>

26e7a6c2 12/02/2013 06:16 pm Petr Pudlak

Lock group(s) when creating instances.

This is required to prevent race conditions such as removing a network
from a group and adding an instance at the same time. (See issue 621#2.)

Signed-off-by: Petr Pudlak <>

17e5dbd0 12/02/2013 06:00 pm Dimitris Aragiorgis

Do not override disk.params in case of ext

Commits 5dbee5e and cce4616 fix disk upgrades concerning params
slot. Since 2.7 params slot should be empty and gets filled
any time needed.

Still ext template allows passing arbitrary params per disk.
These params should be saved in config file for future use....

7a8d0d76 12/02/2013 04:56 pm Dimitris Aragiorgis

Allow modification of arbitrary params for ext

Signed-off-by: Dimitris Aragiorgis <>

11bd1fac 12/02/2013 12:36 pm Dimitris Aragiorgis

Export logical_id info to hooks env

Signed-off-by: Dimitris Aragiorgis <>

488115f3 11/28/2013 12:56 pm Dimitris Aragiorgis

Fill NIC/Disk with dummy uuid upon loading runtime

This is needed because hotplug and NIC configuration
related code expects objects with uuids.

This fixes migration issues of instances with old
runtime format. Old devices remain not hot-plug-able
due to inconsistency between valid device uuids of...

View revisions

Also available in: Atom