Statistics
| Branch: | Tag: | Revision:

root / test @ 8e8cf324

Name Size
  autotools
  data
  hs
  py

Latest revisions

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

Add 'disks_info' Instance slot

Instance's 'disks' slot will contain a list of disk uuids. Create a new
slot named 'disks_info' which will be annotated with the disk objects'
during the rpc.

Signed-off-by: Ilias Tsitsimpis <>

8533cd2d 02/19/2014 12:36 pm Ilias Tsitsimpis

Fix '_create_instance' in config_unittest

Previously '_create_instance' would initialize the config object every
time it would be called. This causes '_WriteConfig' to fail with
ConfigurationError: The configuration file has been modified since the
last write. Fix this by passing the config object to '_create_instance'...

5b798711 02/19/2014 12:36 pm Ilias Tsitsimpis

Change TestInstance in objects unittest

Now that 'all_nodes' and 'secondary_nodes' of an instnace is computed
from the 'config' module, move the corresponding tests from
'objects_unittest' to 'config_unittest'.

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 <>

8d4c25f2 02/19/2014 12:36 pm Ilias Tsitsimpis

Add disks entry to config.data

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 <>

93f1e606 02/19/2014 10:39 am Jose A. Lopes

Add '-c | --instance-communication' flag to instance modify

  • Add the instance communication flag to the 'OpInstanceSetParams'
    opcode. This flag allows the user to enable/disable instance
    communication in a running instance. This patch adds this flag but...
a317d77a 02/17/2014 03:40 pm Klaus Aehlig

Make the lock allocation part of WConfD's state

As WConfD is supposed to be the authoritative source for
configuration and locks, it needs to have access to the lock
state as well.

Signed-off-by: Klaus Aehlig <>
Reviewed-by: Petr Pudlak <>

1d49428b 02/17/2014 03:40 pm Klaus Aehlig

Verify atomicity of lock updates

Add a test verifying the atomicity of an update, i.e., if an update
succeeds, then all requests must be satisfied in the final state, and
if it fails, the state must be unchanged.

Signed-off-by: Klaus Aehlig <>...

View revisions

Also available in: Atom