Statistics
| Branch: | Tag: | Revision:

root / lib @ 2f9e86d5

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.7 kB
bdev.py 87 kB
bootstrap.py 33.2 kB
cache.py 5.4 kB
cli.py 116 kB
cmdlib.py 549.9 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 72.6 kB
jstore.py 5.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.8 kB
ovf.py 63 kB
qlang.py 9.3 kB
query.py 72.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
2f9e86d5 08/31/2012 01:39 pm Dimitris Aragriorgs

Refactor _GetPCIInfo() in cmdlib

Signed-off-by: Dimitris Aragriorgs <>

c29bbb41 08/31/2012 01:39 pm Dimitris Aragriorgs

Add logging in case of hotplug

Signed-off-by: Dimitris Aragriorgs <>

0bb9ca43 08/31/2012 01:39 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()....

cc32413e 08/09/2012 03:23 pm Dimitris Aragiorgis

Dummy commit for compatibility

Signed-off-by: Dimitris Aragiorgis <>

61f232ec 08/09/2012 03:23 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)....

4d025f0b 08/09/2012 03:23 pm Dimitris Aragiorgis

Hotplug: client support

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

Signed-off-by: Dimitris Aragiorgis <>

6242bcf3 08/09/2012 01:59 pm Dimitris Aragiorgis

Hoplug: rpc support

Introduce new RPCs that eventually invoke hypervisor specific
hotplug functions.

Signed-off-by: Dimitris Aragiorgis <>

28bd3496 08/09/2012 01:55 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....

2eed9703 08/09/2012 01:54 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....

7803e37c 07/19/2012 03:51 pm Iustin Pop

Merge branch 'stable-2.6'

  • stable-2.6: (21 commits)
    Release Ganeti 2.6.0 rc4
    Prepare NEWS for Ganeti 2.6.0rc4
    Add some rudimentary node group ipolicy checks
    Fix setting ipolicy on node groups
    Fix --no-headers for the new list-drbd command
    Add a simple QA test for gnt-node list-drbd...

View revisions

Also available in: Atom