Statistics
| Branch: | Tag: | Revision:

root / lib @ 274c7cab

Name Size
  build
  client
  cmdlib
  confd
  http
  hypervisor
  impexpd
  masterd
  rapi
  server
  storage
  tools
  utils
  watcher
__init__.py 1.2 kB
asyncnotifier.py 6.1 kB
backend.py 138.2 kB
bootstrap.py 37.4 kB
cli.py 136.8 kB
compat.py 4.3 kB
config.py 95.8 kB
constants.py 65.5 kB
daemon.py 27.6 kB
errors.py 11.2 kB
hooksmaster.py 9.6 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.3 kB
objects.py 64.6 kB
opcodes.py 68.9 kB
outils.py 4.3 kB
ovf.py 66 kB
pathutils.py 5.8 kB
qlang.py 9.6 kB
query.py 84.5 kB
rpc.py 31 kB
rpc_defs.py 25.5 kB
runtime.py 6.6 kB
serializer.py 4.5 kB
ssconf.py 12.6 kB
ssh.py 10.2 kB
uidpool.py 11.7 kB
vcluster.py 7.4 kB
workerpool.py 18.3 kB

Latest revisions

# Date Author Comment
274c7cab 07/25/2013 02:04 am Dimitris Aragiorgis

Hotplug: client support

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

Ask user confirmation in case NIC modify + hotplug because it will
be done via removing old NIC (and the corresponding tap) and adding...

b262a5c6 07/25/2013 02:04 am Dimitris Aragiorgis

Hotplug: rpc support

Introduce new RPC that eventually invoke hypervisor specific
hotplug functions. In order to be generic it has the following
arguments: device type, action, device, extra info, seq.
Device type can be NIC or DISK, action can be ADD, REMOVE,...

74676af4 07/25/2013 02:04 am Dimitris Aragiorgis

Hotplug: cmdlib support

Hotpluging is done by functions invoked by ApplyContainerMods(). In
order hotpluging to take place the --hotplug option must be passed
otherwise the modifications will take place after reboot.

NIC hotplug supports add, remove and modify. The modify is done by removing...

6bf6870b 07/25/2013 02:04 am Dimitris Aragiorgis

Hotplug: KVM support

Hotplug will not be supported for:
- KVM < 1.0
- existing devices in the cluster
- python-fdsend module is not installed (NIC hotplug)
- chroot (Disk hotplug)
- security mode other than None (Disk hotplug)
If no hotplug takes place modifications will take place after reboot....

fbab083b 07/24/2013 06:39 pm Dimitris Aragiorgis

Hotplug: objects and constants 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.
Add HOTPLUG_* constants to define device types an hotplug actions....

d676dbea 07/24/2013 12:55 pm Sebastian Gebhard

Extend gnt-instance show to show vlan parameter

Extensions for "gnt-instance show" to output the vlan parameter which
was introduced by my recent patch series.
This is done by extending the nic object that is used to output the
info. Every other occurrence of this object is adopted as well....

1cc324f0 07/22/2013 06:42 pm Michele Tartara

Warn instead of crashing on preexisting wrong data type

Using None in a VTYPE_MAYBE_STRING is wrong, because it cannot really
be serialized to a Haskel Nothing, but given that this can (and does)
influence external components already using None, it is turned to a...

b17dd379 07/22/2013 02:35 pm Michele Tartara

Fix bug in NIC default configuration

The NIC configuration used the python "None" instead of a proper Nothing.

Signed-off-by: Michele Tartara <>
Reviewed-by: Helga Velroyen <>

7eed4433 07/22/2013 02:35 pm Michele Tartara

Support proper encoding of Nothing in constants file

The Nothing value of a Haskell Maybe needs to be properly encoded.
If a Python "None" is used, it is not going to be handled properly when the
resulting JSON is decoded by Haskell.

This patch adds support for proper "Nothing" encoding....

5ce6fa9a 07/22/2013 02:33 pm Sebastian Gebhard

Fix KeyErrors with network mode and vlan

This patch fixes some KeyErrors that were introduced by the vlan implementation
and showed up when certain parameters were missing:
gnt-cluster init without network mode
gnt-isntance add without vlan

Signed-off-by: Sebastian Gebhard <>...

View revisions

Also available in: Atom