Statistics
| Branch: | Tag: | Revision:

root / lib / cmdlib @ 0ef72034

Name Size
__init__.py 3.1 kB
backup.py 16.4 kB
base.py 21.5 kB
cluster.py 136.9 kB
common.py 47.5 kB
group.py 32.6 kB
instance.py 156.8 kB
instance_migration.py 37.7 kB
instance_operation.py 18.7 kB
instance_query.py 9.8 kB
instance_storage.py 101.3 kB
instance_utils.py 19.5 kB
misc.py 13.8 kB
network.py 18.7 kB
node.py 57.9 kB
operating_system.py 6.2 kB
query.py 2.4 kB
tags.py 6.4 kB
test.py 14.6 kB

Latest revisions

# Date Author Comment
0ef72034 04/02/2014 02:22 pm Jose A. Lopes

Add helper function to modify metadata

This function is responsible for transforming the instance into a dict
and optionally overriding the OS parameters (public, private, secret).
Also, in case of failure it issues a warning.

Signed-off-by: Jose A. Lopes <>...

f6004843 03/31/2014 02:59 pm Petr Pudlak

Acquire config lock for RPC calls that check consistency

Since LUClusterVerifyGroup issues 3 RPC calls to get information from
nodes, and during every of these calls, the configuration can be
modified by somebody else, it's necessary to acquire a shared lock on...

c28d15f7 03/27/2014 04:43 pm Petr Pudlak

Fix configuration calls for LUBackupExport

Re-read the instance in-memory objects from WConfd after calls that
change its state.

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

5a20e569 03/27/2014 04:43 pm Petr Pudlak

Fix configuration calls for LUInstanceRename

Re-read the instance in-memory objects from WConfd after calls
that change its state.

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

48b37308 03/27/2014 04:43 pm Petr Pudlak

Fix configuration calls for LUInstanceReboot

Re-read the instance in-memory objects from WConfd after calls that
change its state.

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

08390b40 03/27/2014 04:43 pm Petr Pudlak

Fix configuration calls for LUInstanceReinstall

Re-read the instance in-memory objects from WConfd after calls that
change its state.

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

3a5c2c0e 03/27/2014 04:43 pm Petr Pudlak

Fix configuration calls for LUInstanceShutdown

Re-read the instance in-memory objects from WConfd after calls that
change its state.

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

cb3ac71c 03/27/2014 04:43 pm Petr Pudlak

Fix configuration calls for LUInstanceStartup

Re-read the instance in-memory objects from WConfd after calls that
change its state.

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

d9adac23 03/27/2014 04:43 pm Petr Pudlak

Instance storage: Mark functions that modify instances

.. in the configuration with comments.

Also re-read an instance object where needed.

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

89179c36 03/27/2014 04:39 pm Petr Pudlak

Fix calls to Update in TLMigrateInstance

Instead of modifying the primary node on an object and calling 'Update',
a new method was added to ConfigWriter.

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

View revisions

Also available in: Atom