Statistics
| Branch: | Tag: | Revision:

root / lib @ ea54a0b9

Name Size
  build
  client
  confd
  http
  hypervisor
  impexpd
  masterd
  rapi
  server
  tools
  utils
  watcher
__init__.py 1.2 kB
asyncnotifier.py 6.1 kB
backend.py 123.5 kB
bdev.py 106.2 kB
bootstrap.py 34.5 kB
cli.py 121.9 kB
cmdlib.py 600.4 kB
compat.py 4.3 kB
config.py 85 kB
constants.py 57.7 kB
daemon.py 26.7 kB
errors.py 10.8 kB
ht.py 10.7 kB
jqueue.py 79.2 kB
jstore.py 5.9 kB
locking.py 61.1 kB
luxi.py 16.4 kB
mcpu.py 26.1 kB
netutils.py 18.6 kB
network.py 6.4 kB
objects.py 59.1 kB
objectutils.py 2.5 kB
opcodes.py 66.6 kB
ovf.py 66 kB
pathutils.py 5.4 kB
qlang.py 9.6 kB
query.py 78.5 kB
rpc.py 25.9 kB
rpc_defs.py 24.9 kB
runtime.py 6.3 kB
serializer.py 4.5 kB
ssconf.py 11.5 kB
ssh.py 10.2 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
ea54a0b9 01/14/2013 02:22 pm Dimitris Aragiorgis

Compatibility patch for base64 encoded networks

Signed-off-by: Dimitris Aragiorgis <>

bbc4783a 01/14/2013 02:22 pm Dimitris Aragiorgis

Hotplug: rpc support

Introduce new RPCs that eventually invoke hypervisor specific
hotplug functions.

Signed-off-by: Dimitris Aragiorgis <>

21e77d7f 01/14/2013 02:22 pm Dimitris Aragiorgis

Hotplug: cmdlib support

Hotpluging is done by functions invoked by ApplyContainerMods(). In
order hotpluging to take place a --hotplug option must be passed.

Devices get assigned unique indexes derived from the ``dev_idxs``
instance slot.

In order initial devices of a VM to be hotplugable ``dev_idxs`` must be...

6a1e009c 01/14/2013 02:22 pm Dimitris Aragiorgis

Hotplug: client support

Add --hotplug option. Only used in OpInstanceSetParams.
If this is omitted modifications become effective after
reboot.

Signed-off-by: Dimitris Aragiorgis <>

5f08864c 01/14/2013 02:22 pm Dimitris Aragiorgis

Hotplug: objects.py additions

Introduce new instance level slot dev_idxs: { "nics": 0, "disks": 0 }

nics/disks is an index used for device identification and naming.

During instance creation these indexes get initialized with the
number of devices the instance is started with....

a1848d13 01/14/2013 02:22 pm Dimitris Aragiorgis

Hotplug: KVM support

KVM >= 1.0 is needed.

Introduce new methods: HotAddNic/HotDelNic, HotAddDisk/HotDelDisk. All
of them use QEMU monitor interface for hotpluging.

If a device is hotplug-able it should have an index after which it gets
named from the hypervisor perspective (e.g. virtio-net-pci.%d % idx )....

33ca83e9 01/14/2013 02:22 pm Dimitris Aragiorgis

Config method UpdateDevIdx()

This is invoked just before a device is to be hotplugged. This
ensures no device naming duplication in the future.

Signed-off-by: Dimitris Aragiorgis <>

60a7335b 01/11/2013 06:16 pm Dimitris Aragiorgis

Add locking to _NetworkQuery

Make use of _GetNames() to get the final network UUIDs.
Get networks info after having aquired the locks. Refactor
the code to use new local variables:

- "network_uuids" returned from _GetNames()
- "all_networks" that are the latest network info...
e6ba3320 01/10/2013 03:11 pm Dimitris Aragiorgis

Add machine version in kvm runtime file

kvm -M ? returns the supported machines (e.g. pc-1.1).
Add _GetDefaultMachineVersion() function to get the default value.

Upon kvm runtime file creation (this is in _GenerateKVMRuntime() invoked
only in StartInstance()) append this info in kvm_cmd. During...

dbb4f850 01/09/2013 05:23 pm Guido Trotter

Remove fixed FIXME

This was fixed in stable-2.6, commit 053c356

Signed-off-by: Guido Trotter <>
Reviewed-by: Iustin Pop <>

View revisions

Also available in: Atom