Statistics
| Branch: | Tag: | Revision:

root / lib @ 7af3534e

Name Size
  build
  client
  confd
  http
  hypervisor
  impexpd
  masterd
  rapi
  server
  watcher
__init__.py 820 Bytes
asyncnotifier.py 6 kB
backend.py 100.1 kB
bdev.py 66.7 kB
bootstrap.py 27.1 kB
cli.py 82.7 kB
cmdlib.py 385.3 kB
compat.py 3.7 kB
config.py 57.1 kB
constants.py 29.9 kB
daemon.py 23.1 kB
errors.py 9.6 kB
ht.py 3.7 kB
jqueue.py 57.6 kB
jstore.py 3.7 kB
locking.py 47.5 kB
luxi.py 14.3 kB
mcpu.py 18.4 kB
netutils.py 13.6 kB
objects.py 40 kB
opcodes.py 21.8 kB
rpc.py 45.8 kB
runtime.py 3.3 kB
serializer.py 4.5 kB
ssconf.py 14.9 kB
ssh.py 8.6 kB
storage.py 12.5 kB
uidpool.py 11.8 kB
utils.py 109.9 kB
workerpool.py 13.3 kB

Latest revisions

# Date Author Comment
7af3534e 11/25/2010 01:21 pm Dmitry Chernyak

Added "vg" argument to the --disk syntax

Added "vg" argument to the "gnt-instance ... --disk" syntax specification.
Now is ok to write:

gnt-instance add ... --disk N:size=NNg,vg=VG_NAME ...

But not all internal structures are ready to handle this yet.
...

a535cef7 11/24/2010 05:18 pm René Nussbaumer

Adding --node-parameters command line flag

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

08a61d91 11/24/2010 05:18 pm René Nussbaumer

Adding ndparams to their OpCodes and LU calls

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

18e63b75 11/23/2010 11:04 pm Michael Hanselmann

cmdlib: Use _POutputFields where possible

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

c300f9c9 11/23/2010 02:33 pm Dmitry Chernyak

Basic stuff to allocate disks on different VGs

Extend allocation functions to be aware of different vg names. Suppose,
vg_name is helded in disk.physical_id0 (already was) LUCreateInstance
is modified to be aware of new "vg" argument of the disk specification....

5768e6a6 11/23/2010 01:57 pm René Nussbaumer

Adding convenience getter for ndparams

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

04a8865b 11/23/2010 01:01 pm Lance Albertson

RAPI: implement no_install during instance creation

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

d05cf6fa 11/23/2010 12:01 pm Iustin Pop

utils._RunCmdPipe: simplify the timeout logic

There are two issues: first, it's simpler to assign directly to pt
instead of via another local variable. Second, this code doesn't make
sense:
if lt < 0:
break
pt = max(0, lt)

If lt is indeed < 0, then the code will break. Otherwise, lt ≥ 0, and...

a298fd5a 11/23/2010 12:01 pm Iustin Pop

utils._RunCmdPipe: fix poller timeout usage

This patch makes a simple timeout test (e.g. testTimeoutKill) go from
13K poll syscalls to just 6. The code didn't take into account that
RunningTimeout talks in seconds while the poller object expects
milliseconds....

fd254195 11/22/2010 09:11 pm Iustin Pop

RAPI: export the node group UUID in the node query

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

View revisions

Also available in: Atom