Statistics
| Branch: | Tag: | Revision:

root / lib @ cae20ea0

Name Size
  build
  client
  cmdlib
  confd
  http
  hypervisor
  impexpd
  masterd
  rapi
  rpc
  server
  storage
  tools
  utils
  watcher
__init__.py 1.2 kB
_constants.py.in 285 Bytes
asyncnotifier.py 6.1 kB
backend.py 145.9 kB
bootstrap.py 41.6 kB
cli.py 141 kB
compat.py 4.3 kB
config.py 105.9 kB
constants.py 2.9 kB
daemon.py 28.1 kB
errors.py 10.9 kB
hooksmaster.py 9.6 kB
ht.py 17.5 kB
jqueue.py 75.5 kB
jstore.py 6.1 kB
locking.py 60.9 kB
luxi.py 8.1 kB
mcpu.py 18.3 kB
netutils.py 19.7 kB
network.py 7.7 kB
objects.py 68.2 kB
opcodes.py.in_after 391 Bytes
opcodes.py.in_before 6.9 kB
opcodes_base.py 7.7 kB
outils.py 4.3 kB
ovf.py 66 kB
pathutils.py 6.3 kB
qlang.py 9.5 kB
query.py 86.3 kB
rpc_defs.py 26.3 kB
runtime.py 8 kB
serializer.py 10.7 kB
ssconf.py 13.5 kB
ssh.py 10.7 kB
uidpool.py 11.7 kB
vcluster.py 7.5 kB
wconfd.py 1.4 kB
workerpool.py 18.3 kB

Latest revisions

# Date Author Comment
b6dd32db 02/19/2014 12:36 pm Ilias Tsitsimpis

Get MapLVsByNode from config

Use 'GetInstanceLVsByNode' from config file instead of Instance's
MapLVsByNode method.

Signed-off-by: Ilias Tsitsimpis <>

af5dd836 02/19/2014 12:36 pm Ilias Tsitsimpis

Add methods to config to get disks

'GetInstanceDisks' returns a list of disk objects for the given
instance. 'GetDiskInfo' returns information about a disk given its uuid.
These functions should be used instead of the Instance's disk method.

Also add the 'getDisk' and 'getInstDisks' functions in Haskell but leave...

cae20ea0 02/19/2014 12:36 pm Ilias Tsitsimpis

Add a disk to an instance in config

Implement functions 'AddDisk' and 'AttachInstDisk'. The first one adds
a new disk to the config file and the second one attach a disk to an
instance. A wrapper 'AddInstDisk' is provided in order to add a disk and
attach it to an instance at once (because ganeti doesn't support...

9e8ff434 02/19/2014 12:36 pm Ilias Tsitsimpis

Add 'all_nodes' property to disk objects

This property returns the nodes covered by a disk.

Signed-off-by: Ilias Tsitsimpis <>

dd2ddda2 02/19/2014 12:36 pm Ilias Tsitsimpis

Add timestamp/serial_no slot to disk objects

Now that disks are top level citizens in config,
they need a timestamp and a serial_no slot.

Signed-off-by: Ilias Tsitsimpis <>

2f1c2fe6 02/19/2014 12:36 pm Ilias Tsitsimpis

Add 'GetInstanceNodes' to config

Get all disk-releated nodes for an instance.
Also use 'GetInstanceSecondaryNodes' to get the
list of secondary nodes.

Signed-off-by: Ilias Tsitsimpis <>

7abe5725 02/19/2014 12:36 pm Ilias Tsitsimpis

Add 'GetInstanceLVsByNode' to config

Provide a mapping of node to LVs a given instance owns.

Signed-off-by: Ilias Tsitsimpis <>

6ccce5d4 02/19/2014 12:36 pm Ilias Tsitsimpis

Get instance secondary nodes from config

Use 'GetInstanceSecondaryNodes' to get the secondary nodes of an
instance, instead of the 'secondary_nodes'.
Annotate 'secondary_nodes' in rpc so that backend has access to it.

Signed-off-by: Ilias Tsitsimpis <>

4e7f986e 02/19/2014 12:36 pm Ilias Tsitsimpis

Get instance's nodes from config

Use 'GetInstanceNodes' to get the nodes of an instance, instead of the
'all_nodes' Instance property.

Signed-off-by: Ilias Tsitsimpis <>

26e1312d 02/19/2014 12:36 pm Ilias Tsitsimpis

Add 'instance' slot to Disk object

This slot will contain the uuid of the instance that
a disk is attached to.

Signed-off-by: Ilias Tsitsimpis <>

View revisions

Also available in: Atom