Statistics
| Branch: | Tag: | Revision:

root / lib @ 31135ddd

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 124.4 kB
bdev.py 109.1 kB
bootstrap.py 34.5 kB
cli.py 121.6 kB
cmdlib.py 605.5 kB
compat.py 4.3 kB
config.py 85.7 kB
constants.py 60 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.1 kB
objects.py 61 kB
opcodes.py 65.5 kB
outils.py 2.5 kB
ovf.py 66 kB
pathutils.py 5.7 kB
qlang.py 9.6 kB
query.py 82.1 kB
rpc.py 26.1 kB
rpc_defs.py 25.1 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
d2db2790 03/18/2013 04:28 am 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 uuid after which it gets
named from the hypervisor perspective (e.g. %s % dev.uuid )....

31135ddd 03/18/2013 04:28 am Dimitris Aragiorgis

Hotplug: rpc support

Introduce new RPCs that eventually invoke hypervisor specific
hotplug functions.

Signed-off-by: Dimitris Aragiorgis <>

af9cef96 03/18/2013 04:25 am Dimitris Aragiorgis

Hotplug: objects.py additions

Add pci slot in NIC/Disk objects. This slot will be used only
by hypervisor code. Currently only KVM will use it and store it
temporarily in runtime files.

Signed-off-by: Dimitris Aragiorgis <>

40249283 03/18/2013 03:42 am Christos Stavrakakis

Add Disks and NICs to _AllUUIDObjects

Since disks and NICs have UUIDs, they must be considered
to _AllUUIDObjects.

Signed-off-by: Christos Stavrakakis <>
Signed-off-by: Dimitris Aragiorgis <>

97afd6de 03/18/2013 03:42 am Chris Stavrakakis

Remove empty line. In Use UUID patch

52450fa1 03/18/2013 03:42 am Christos Stavrakakis

Support quering for devices names and UUIDs

Signed-off-by: Christos Stavrakakis <>
Signed-off-by: Dimitris Aragiorgis <>

160cd941 03/18/2013 03:42 am Christos Stavrakakis

Display UUIDs and names in gnt-instance info

Modify gnt-instance client to display the UUID and name
fields of instances disks and NICs.

Signed-off-by: Christos Stavrakakis <>
Signed-off-by: Dimitris Aragiorgis <>

5ca3ac51 03/18/2013 03:42 am Christos Stavrakakis

Implement renaming Disks and NICs

Implement renaming Disks and NICs in LUInstanceSetParams. Remove code
that checked that changing disk mode was the only disk modification
supported.

Signed-off-by: Christos Stavrakakis <>
Signed-off-by: Dimitris Aragiorgis <>

4ee73bb2 03/18/2013 03:42 am Christos Stavrakakis

Check that device names are unique and valid

Extend the CheckArguments phase of LUInstanceCreate and CheckPrereq
phase of LUInstanceSetParams to also check if the name parameters of
disks and NICs are unique and valid.

Signed-off-by: Christos Stavrakakis <>...

845c573d 03/18/2013 03:42 am Christos Stavrakakis

Support UUIDs and names when refering to a device

Modify _ApplyContainerMods function to lookup NICs/Disks not only by their
index inside the container, but also by their UUID or name. Abstract the
lookup code in new GetItemFromContainer function.

Make type of identifier in "opcode._TestInstSetParamsModList" to be...

View revisions

Also available in: Atom