Statistics
| Branch: | Tag: | Revision:

root / lib @ 0a6a6228

Name Size
  build
  client
  cmdlib
  confd
  http
  hypervisor
  impexpd
  masterd
  rapi
  server
  tools
  utils
  watcher
__init__.py 1.2 kB
asyncnotifier.py 6.1 kB
backend.py 126.9 kB
bdev.py 109.3 kB
bootstrap.py 36.6 kB
cli.py 136.1 kB
compat.py 4.3 kB
config.py 88.3 kB
constants.py 64.1 kB
daemon.py 26.7 kB
errors.py 11.4 kB
hooksmaster.py 9.2 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.8 kB
objects.py 63.5 kB
opcodes.py 67.6 kB
outils.py 4.3 kB
ovf.py 66 kB
pathutils.py 5.8 kB
qlang.py 9.6 kB
query.py 82.8 kB
rpc.py 26.3 kB
rpc_defs.py 24.6 kB
runtime.py 6.8 kB
serializer.py 4.5 kB
ssconf.py 11.5 kB
ssh.py 10.3 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
0a6a6228 10/12/2013 04:52 am Dimitris Aragiorgis

Use blockdev_assemble rpc directly before hotplug

AssebleInstanceDisks() if invoked with primary=True and disk=[disk]
creates wrong symbolic links!

Before blockdev_assemble we call SetDiskID() in order to fill up
physical_id of disk needed by bdev.Assemble and eventually by...

4008e74e 10/10/2013 05:27 pm Dimitris Aragiorgis

Add finally: mosock.close() in _PassFds

Signed-off-by: Dimitris Aragiorgis <>

a3f00eae 10/02/2013 10:36 pm Dimitris Aragiorgis

Use base64 encoding in networks' bitarrays

This is needed for GRNET'S production environment.

Signed-off-by: Dimitris Aragiorgis <>

17b07758 10/02/2013 10:16 pm Dimitris Aragiorgis

Change logic in pool reservations

Make IsReserved() to look either in reservations or external ones.
Make Reserve() and Release() to use IsReserved() with external
argument True or False.

With this change if ip=pool ganeti will still assign an IP
that is available in the pool (where pool is reservations || ext_reservations)....

d75ecef5 09/30/2013 04:29 pm Dimitris Aragiorgis

Add hotplug option in OpInstanceSetParams opcode

Signed-off-by: Dimitris Aragiorgis <>

ff34e12d 09/30/2013 04:29 pm Dimitris Aragiorgis

Allow instances obtain a network's gateway IP

Until now once you define a gateway in a network it
gets externally reserved. This way we cannot define
a network with a gateway and spawn a VM inside that
network with the gateway's IP.

To overcome this restriction we do not mark...

2c47aac3 09/30/2013 04:29 pm 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...

07b0b16c 09/30/2013 04:29 pm 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...

5d859545 09/30/2013 04:29 pm 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,...

1f8ee7fe 09/30/2013 04:29 pm Dimitris Aragiorgis

Introduce hotplug methods (hypervisor inteface)

4 new methods: HotAddDevice, HotDelDevice, HotModDevice, HotplugSupported
All these are the hypervisor interface with the backend.
In general they read current runtime info, do the actual hotplug
and update the runtime file....

View revisions

Also available in: Atom