Statistics
| Branch: | Tag: | Revision:

root / lib @ 29cf7871

Name Size
  build
  client
  confd
  http
  hypervisor
  impexpd
  masterd
  rapi
  server
  tools
  utils
  watcher
__init__.py 820 Bytes
asyncnotifier.py 6 kB
backend.py 113.5 kB
bdev.py 86.6 kB
bootstrap.py 33.2 kB
cache.py 5.4 kB
cli.py 115.8 kB
cmdlib.py 549.1 kB
compat.py 3.9 kB
config.py 75.2 kB
constants.py 55 kB
daemon.py 26.7 kB
errors.py 10.6 kB
ht.py 9.7 kB
jqueue.py 73.4 kB
jstore.py 4.6 kB
locking.py 55.6 kB
luxi.py 16 kB
mcpu.py 23.1 kB
netutils.py 18.2 kB
objects.py 58.2 kB
opcodes.py 58.6 kB
ovf.py 63 kB
qlang.py 9.3 kB
query.py 71.8 kB
rpc.py 24.4 kB
rpc_defs.py 22.3 kB
runtime.py 6.3 kB
serializer.py 4 kB
ssconf.py 15.6 kB
ssh.py 8.6 kB
storage.py 13.2 kB
uidpool.py 11.8 kB
workerpool.py 14.3 kB

Latest revisions

# Date Author Comment
29cf7871 10/16/2012 08:56 am Dimitris Aragiorgis

Add HOTPLUG_OPT in gnt-backup import client

Signed-off-by: Dimitris Aragiorgis <>

03f2593b 08/30/2012 10:31 pm Dimitris Aragriorgs

Refactor _GetPCIInfo() in cmdlib

Signed-off-by: Dimitris Aragriorgs <>

34754279 08/30/2012 10:11 pm Dimitris Aragriorgs

Add logging in case of hotplug

Signed-off-by: Dimitris Aragriorgs <>

61f46231 08/30/2012 09:15 pm Dimitris Aragriorgs

Maintain backwards compatibility in kvm runtime

Introduce _GenerateKVMBlockDevicesOptions()

In case hotplug is enabled per instance then the runtime file
contains one more field: block_devices. In this case kvm_cmd
is extended with block device options during _ExecuteKVMRuntime()....

50fab955 08/22/2012 05:13 pm Dimitris Aragiorgis

Hotplug: client support

Add --hotplug option.
Only used by OpInstanceCreate()/OpInstanceSetParams.

Signed-off-by: Dimitris Aragiorgis <>

9ac60360 08/22/2012 05:13 pm Dimitris Aragiorgis

Hotplug: cmdlib support

Hotplugging is done by functions invoked by ApplyContainerMods(). In
order hotplugging to take place a --hotplug option must be passed.
Hotplug can enabled for a VM if --hotplug is passed during
gnt-instance add (hotplug_info will be added)....

5ed75b63 08/22/2012 05:13 pm Dimitris Aragiorgis

Hoplug: rpc support

Introduce new RPCs that eventually invoke hypervisor specific
hotplug functions.

Signed-off-by: Dimitris Aragiorgis <>

1642a1d0 08/22/2012 05:13 pm Dimitris Aragiorgis

Hotplug: KVM support

KVM >= 1.0 is needed.

Introduce new methods: HotAddNic/HotDelNic

Both qemu monitor interface for hotplugging. If a device has
hotplug info (idx, pci) then:
- it gets named after it (e.g. virtio-net-pci.%d % idx ).
- it gets placed to the pci slot (hex(pci)) of bus 0....

41a1df34 08/22/2012 05:12 pm Dimitris Aragiorgis

Hoplug: objects modifications/additions

Introduce new HotplugInfo object as part of Instance object.

hotplug_info { 'nics': 0, 'disks': 0, 'pci_pool': [16, 17, 18] }

nics/disks is an index used for device identification and naming.
Everytime a new device (disk/nic) is hotadded these values get incremented....

6a3166cb 08/22/2012 03:18 pm Constantinos Venetsanopoulos

Fix computation of disk sizes in _ComputeDiskSize

Currently, hail fails with FailDisk when trying to add an instance
of type: 'file', 'sharedfile' and 'rbd'.

This is due to a "0" or None value in the corresponding dict inside
_ComputeDiskSize, which results in a "O" or non Int value of the...

View revisions

Also available in: Atom