Statistics
| Branch: | Tag: | Revision:

root / lib @ 6d846d0e

Name Size
  build
  client
  confd
  http
  hypervisor
  impexpd
  masterd
  rapi
  server
  tools
  utils
  watcher
__init__.py 820 Bytes
asyncnotifier.py 6 kB
backend.py 120.2 kB
bdev.py 90.5 kB
bootstrap.py 33.4 kB
cli.py 120.7 kB
cmdlib.py 577 kB
compat.py 3.9 kB
config.py 84.9 kB
constants.py 54.8 kB
daemon.py 26.7 kB
errors.py 10.6 kB
ht.py 10.1 kB
jqueue.py 78.5 kB
jstore.py 5.9 kB
locking.py 56.6 kB
luxi.py 16.4 kB
mcpu.py 23.7 kB
netutils.py 18.6 kB
network.py 6.2 kB
objects.py 58 kB
objectutils.py 2.5 kB
opcodes.py 64.9 kB
ovf.py 66 kB
pathutils.py 5.1 kB
qlang.py 9.8 kB
query.py 77.3 kB
rpc.py 25 kB
rpc_defs.py 22.8 kB
runtime.py 6.3 kB
serializer.py 4 kB
ssconf.py 16 kB
ssh.py 10.2 kB
storage.py 13.2 kB
uidpool.py 11.8 kB
vcluster.py 7.4 kB
workerpool.py 18.3 kB

Latest revisions

# Date Author Comment
6d846d0e 11/21/2012 03:43 pm Michael Hanselmann

Add command line interface for running commands remotely

This patch adds a new command, “gnt-node restricted-command”. Since the
semantics are different from “gnt-cluster command”, the same subcommand
shouldn't be re-used.

The included man page update also includes a small description of how to...

74434d27 11/21/2012 03:40 pm Michael Hanselmann

Remove delayed iallocator call in TLReplaceDisks

By setting the “delay_iallocator” parameter one could delay the call to
the instance allocator. This was not used for some time now, but the
code was still there.

Signed-off-by: Michael Hanselmann <>...

de0417fa 11/21/2012 03:40 pm Michael Hanselmann

cmdlib: Merge duplicated code for TLMigrateInstance

LUInstanceFailover and LUInstanceMigrate use TLMigrateInstance and had
the essentially same code for expanding names and declaring locks. In
LUInstanceMigrate.ExpandNames there was a mistake which led to node...

f3196d68 11/21/2012 12:53 pm Helga Velroyen

Fix lint error about too many variables

Lint complains about too many variables in the CheckPrereq
method. While I think that this method/class would need
some refactoring in general, at least this patch makes lint
shut up for now.

Signed-off-by: Helga Velroyen <>...

7309e7b6 11/21/2012 11:21 am Helga Velroyen

Check ispecs against ipolicy on instance modify

When modifying an instance, so far the specs were not checked against
the ipolicy. This patch fixes this issue.

Note that for backend parameters which have a minimum and a maximum
value (currently only memory), it checks both limits against the...

621b43ed 11/21/2012 08:37 am Michael Hanselmann

locking.LockSet: Replace boolean parameter with constants

Upcoming changes will add opportunistic locking to “locking.LockSet”.
Doing so will require additional code in “LockSet.__acquire_inner”, at
which point the existing “want_all” parameter does not always apply....

5b34cc22 11/21/2012 08:21 am Michael Hanselmann

network: Style updates

- Quote characters
- Docstrings

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Guido Trotter <>

a138ead7 11/21/2012 08:21 am Michael Hanselmann

ht: Complain if TNone isn't listed first for TOr/TAnd

Some type descriptions are rather long. If "None" is listed at the end
or somewhere in between it is easily missed. Therefore it should be at
the beginning, e.g. "None or (long description)".

Signed-off-by: Michael Hanselmann <>...

32e3d8b1 11/21/2012 08:20 am Michael Hanselmann

opcodes: Network parameter improvements and fixes

- Use variables for checks for IP addresses (makes them more consistent,
too)
- Fix checks to accept default values
- Small description improvements (e.g. s/IP/IP address/)

Signed-off-by: Michael Hanselmann <>...

1f84cca8 11/21/2012 08:18 am Michael Hanselmann

Merge branch 'devel-2.6'

  • devel-2.6:
    Fix opcode validation for OpOobCommand.command
    Fix typo in manpage for gnt-os
    gnt-instance.8: Add index to disk and nic removal

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Guido Trotter <>

View revisions

Also available in: Atom