Statistics
| Branch: | Tag: | Revision:

root / lib @ 83695d19

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.8 kB
cmdlib.py 607.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.6 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
83695d19 03/18/2013 04:45 am Dimitris Aragiorgis

Make GetStats() an AddressPool method

..and remove it from cmdlib

Signed-off-by: Dimitris Aragiorgis <>

55de975c 03/18/2013 04:45 am Dimitris Aragiorgis

Fix early returns in network module

Replace early returns with proper if-else statements.

Signed-off-by: Dimitris Aragiorgis <>

89f5beda 03/18/2013 04:45 am Dimitris Aragiorgis

Rename some vars for the sake of readability

In network module use nobj wherever we refer to L{objects.Network}
and pool for AddressPool class. Apply that in LUNetworkSetParams()
too. Change InitializeNetwork() to InitializePool().

Signed-off-by: Dimitris Aragiorgis <>

c12401f2 03/18/2013 04:45 am Dimitris Aragiorgis

Replace _GetSize() with numhosts in network

Use numhosts property of ipaddr's IPNetwork class of instead of
_GetSize() in network module. Remove non used GetFreeAddress()
method.

Signed-off-by: Dimitris Aragiorgis <>

e648cea4 03/18/2013 04:42 am 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 <>

11714164 03/18/2013 04:40 am 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.

If no --hotplug is passed during gnt-instance modify the modifycations
will take place after reboot....

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 <>

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

Remove empty line. In Use UUID patch

View revisions

Also available in: Atom