Statistics
| Branch: | Tag: | Revision:

root / lib @ e9c487be

Name Size
  build
  client
  confd
  http
  hypervisor
  impexpd
  masterd
  rapi
  server
  tools
  utils
  watcher
__init__.py 820 Bytes
asyncnotifier.py 6 kB
backend.py 105 kB
bdev.py 70.5 kB
bootstrap.py 29.1 kB
cli.py 98.3 kB
cmdlib.py 418.6 kB
compat.py 3.7 kB
config.py 62.4 kB
constants.py 35 kB
daemon.py 23.5 kB
errors.py 9.8 kB
ht.py 5.9 kB
jqueue.py 58.1 kB
jstore.py 4.6 kB
locking.py 48.2 kB
luxi.py 15.7 kB
mcpu.py 18.1 kB
netutils.py 13.6 kB
objects.py 43.5 kB
opcodes.py 44.7 kB
qlang.py 1.9 kB
query.py 57.4 kB
rpc.py 46.7 kB
runtime.py 3.3 kB
serializer.py 4.5 kB
ssconf.py 15.2 kB
ssh.py 8.6 kB
storage.py 12.7 kB
uidpool.py 11.8 kB
workerpool.py 13.3 kB

Latest revisions

# Date Author Comment
e9c487be 04/06/2011 04:03 pm René Nussbaumer

gnt-instance migrate: Adding --allow-failover option

Signed-off-by: René Nussbaumer <>
Reviewed-by: Iustin Pop <>

d5cafd31 04/06/2011 04:03 pm René Nussbaumer

TLMigrateInstance: Merge failover code, allow fallback

As the code for failover for checking is almost identical it's an easy
task to switch it over to the TLMigrateInstance. This allows us to
fallback to failover if migrate fails prereq check for some reason....

bbfed756 04/06/2011 02:05 pm Michael Hanselmann

utils: Add function generating regex for DNS name globbing

The intent of this function is to be able to provide a globbing operator
or query filters. One should be able to say, for example, something to
the effect of “gnt-instance shutdown '*.site'”.

Also rename a variable in MatchNameComponent....

aef59ae7 04/06/2011 01:37 pm Michael Hanselmann

Verify file consistency using centrally computed list

Until now “gnt-cluster verify” (LUClusterVerify) would compute its own
list of files to check for consistency. This list was not complete and
certain inconsistencies were missed.

With this patch the code is changed to use the list of files used by...

5643d67e 04/06/2011 01:37 pm Michael Hanselmann

cmdlib: Factorize computation of ancillary files

… and change the logic in _RedistributeAncillaryFiles. The virtually
same list of files will be used to verify the files' consistency.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

bc385fa0 04/05/2011 03:20 pm Michael Hanselmann

qlang: Remove OP_GLOB operator

It'll be implemented using OP_REGEXP by the parser.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: René Nussbaumer <>

23d0a608 04/05/2011 03:20 pm Michael Hanselmann

query: Add implementation of regex match operator

So far this operator was not implemented. This patch adds an additional
value preparation function to the function table for binary operators,
used to compile the regular expression. Unittests are included....

a7761c12 04/04/2011 07:30 pm Michael Hanselmann

cmdlib: Fix mistake made in commit 75c7520f0

Commit 75c7520f0 used the wrong constant. I double-checked all other
changes made in the commit.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: René Nussbaumer <>

75c7520f 04/04/2011 05:59 pm Michael Hanselmann

cmdlib: Replace hardcoded values with constants

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

7fa310f6 04/01/2011 04:42 pm René Nussbaumer

RAPI: Convert instance shutdown to the new FillOpCode

Signed-off-by: René Nussbaumer <>
Reviewed-by: Michael Hanselmann <>

View revisions

Also available in: Atom