Statistics
| Branch: | Tag: | Revision:

root / lib @ 11c97d7c

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 128.4 kB
bdev.py 110 kB
bootstrap.py 36.6 kB
cli.py 136.6 kB
compat.py 4.3 kB
config.py 88.5 kB
constants.py 64.4 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.9 kB
objects.py 63.5 kB
opcodes.py 68.2 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.8 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
2e6f0cdf 11/22/2013 12:51 pm Dimitris Aragiorgis

Make NIC setup more flexible in case of Xen

For every NIC write down a file that contains NIC's
info (MAC, mode, link, network details), that can
be sourced by any vif script. The file location is:
/var/run/ganeti/xen-hypervisor/nic/<domname>/<nicidx>.
...

26ce25ef 11/22/2013 11:57 am Dimitris Aragiorgis

Export nic name and uuid in configuration scripts

Signed-off-by: Dimitris Aragiorgis <>

7cfe1eb6 11/21/2013 04:34 pm Dimitris Aragiorgis

Introduce --hotplug-if-possible option

This will be useful for an external entity using RAPI that
wants to modify devices of instances.

The common use case for that is:
"I want to add a NIC/disk to an instance. If it is running
then try to hotplug the device. If not, then just add it to config."...

b09c141f 11/21/2013 03:42 pm Dimitris Aragiorgis

Fix a bug in BlockDevAssemble

If BlockdevAssemble() is invoked with as_primary=False
(currently only in the first pass of AssembleInstanceDisks())
then _RecursiveAssembleBD() returns True. In this case we
must return a dummy True, True in the backend method....

36a13a53 11/19/2013 03:22 pm Dimitris Aragiorgis

Do not abort if hotplug is not supported

This will be useful for an external entity using RAPI that
wants to do device modifications to instances.

The common use case for that is:
"I want to add a nic/disk to an instance. If it is running
then hotplug the device. If not, then just add it to config."...

880917d4 11/13/2013 02:32 am Dimitris Aragiorgis

Use base64 encoding in networks' bitarrays

This is needed for GRNET'S production environment.

Signed-off-by: Dimitris Aragiorgis <>

9b572e39 11/13/2013 02:32 am Dimitris Aragiorgis

Snapshot support for ExtStorage

Extend existing RPC params with the snapshot name and
add allow snapshot not only for LVM but also for EXT.

Signed-off-by: Dimitris Aragiorgis <>

eb599722 11/13/2013 01:24 am Dimitris Aragiorgis

Do not remove disks if --keep-disks and DT_EXT

Signed-off-by: Dimitris Aragiorgis <>

1bf1814f 11/13/2013 01:24 am Dimitris Aragiorgis

rapi: Make use of request_body in Reboot/Remove

Until now shutdown_timeout could only be passed in
ShutdownInstance() inside kwargs. It was included in
request's body. Based on that, extend RebootInstance() and
RemoveInstance() so that they can take extra arguments...

4dc5d1aa 11/13/2013 01:24 am Dimitris Aragiorgis

rapi: Pass existing depends body arg to opcode

Most rlib2 classes override default _GetDefaultData() method with
custom methods that parse request's body and query args and return a
(body, specific_static) tuple eventually passed to FillOpCode().
Job dependencies are defined in depends body argument that might get...

View revisions

Also available in: Atom