Statistics
| Branch: | Tag: | Revision:

root / lib / cmdlib @ 02aa7df1

Name Size
__init__.py 3.2 kB
backup.py 18 kB
base.py 17.5 kB
cluster.py 107.2 kB
common.py 34.8 kB
group.py 31.6 kB
instance.py 134.1 kB
instance_migration.py 35.8 kB
instance_operation.py 15.7 kB
instance_query.py 15.1 kB
instance_storage.py 93.7 kB
instance_utils.py 18 kB
misc.py 13.8 kB
network.py 21.1 kB
node.py 56.5 kB
operating_system.py 6.1 kB
query.py 2.8 kB
tags.py 5.9 kB
test.py 11.9 kB

Latest revisions

# Date Author Comment
02aa7df1 06/11/2013 11:10 am Dimitris Aragiorgis

cmdlib fix

Signed-off-by: Dimitris Aragiorgis <>

53195377 06/10/2013 10:37 am Dimitris Aragiorgis

Use new network interface

Replace old network.AddressPool() with network.Network(). Replace
network.AddressPool and network.AddressPool.InitializeNetwork with
network.Network. Additionally be aware that this raises
OpPrereqError and not AddressPoolError so not try-except-raise is...

402df383 06/04/2013 03:40 pm Dimitris Aragiorgis

Remove try-except in ReserveIp/ReleaseIp

There is no need to try-except in cmdlib when reserving and releasing
Ips because this check is delegated to corresponding config methods
who raise the proper errors.

Signed-off-by: Dimitris Aragiorgis <>

c01a7953 06/04/2013 03:28 pm Dimitris Aragiorgis

Various refactoring concerning networks

Add external flag to UnlockedCommitIp. Use this flag from cmdlib to
reserve and release IPs via TemporaryReservationManager and not
directly by accessing the pool it self.

Remove checks of style IsReserved() from cmdlib, while cfg.ReserveIp()...

a9310b5b 05/24/2013 02:30 pm Guido Trotter

Merge branch 'stable-2.8'

  • stable-2.8:
    Bump up version for 2.7.0~rc2 release
    Create overall design document for 2.8
    Add NEWS entry for SO_PEERCRED fix
    Workaround missing SO_PEERCRED
    Add debugging clause to _ExpandCheckDisks error
    Reduce pylint maximum file length to 4500...
328201a5 05/24/2013 02:26 pm Guido Trotter

Merge branch 'stable-2.7' into stable-2.8

  • stable-2.7:
    Bump up version for 2.7.0~rc2 release
    Add NEWS entry for SO_PEERCRED fix
    Workaround missing SO_PEERCRED
    Add debugging clause to _ExpandCheckDisks error
    Mention hail network incompatibility in manpages...
75a6c8be 05/23/2013 02:04 pm Bernardo Dal Seno

gnt-instance info prints information about spindles

For each disk, the number of requested spindles (if present) is shown.

Signed-off-by: Bernardo Dal Seno <>
Reviewed-by: Thomas Thrainer <>

b54ecf12 05/23/2013 02:03 pm Bernardo Dal Seno

Add spindles field to disk object

The field is filled with the value provided on the command line.

Signed-off-by: Bernardo Dal Seno <>
Reviewed-by: Thomas Thrainer <>

3f3ea14c 05/23/2013 02:03 pm Bernardo Dal Seno

Check that spindles are not given when they are not allowed

Masterd checks that specifications for new disks don't include spindles
when exclusive storage is disabled.

Signed-off-by: Bernardo Dal Seno <>
Reviewed-by: Thomas Thrainer <>

c615590c 05/23/2013 02:03 pm Bernardo Dal Seno

Add "spindles" option to instance disk creation commands

The option is parsed but ignored, for the moment.

Signed-off-by: Bernardo Dal Seno <>
Reviewed-by: Thomas Thrainer <>

View revisions

Also available in: Atom