Statistics
| Branch: | Tag: | Revision:

root / lib @ 57dc299a

Name Size
  build
  client
  confd
  http
  hypervisor
  impexpd
  masterd
  rapi
  server
  tools
  utils
  watcher
__init__.py 820 Bytes
asyncnotifier.py 6 kB
backend.py 112 kB
bdev.py 77.9 kB
bootstrap.py 32.9 kB
cache.py 5.4 kB
cli.py 108.9 kB
cmdlib.py 522.5 kB
compat.py 3.9 kB
config.py 71.8 kB
constants.py 53.7 kB
daemon.py 26.6 kB
errors.py 10.4 kB
ht.py 9.4 kB
jqueue.py 73.5 kB
jstore.py 4.6 kB
locking.py 55.5 kB
luxi.py 15.8 kB
mcpu.py 21.3 kB
netutils.py 18.2 kB
objects.py 54.7 kB
opcodes.py 52.7 kB
ovf.py 63 kB
qlang.py 9 kB
query.py 61.8 kB
rpc.py 21.2 kB
rpc_defs.py 20.9 kB
runtime.py 5.3 kB
serializer.py 4 kB
ssconf.py 15.7 kB
ssh.py 8.6 kB
storage.py 12.7 kB
uidpool.py 11.8 kB
workerpool.py 14.3 kB

Latest revisions

# Date Author Comment
57dc299a 01/13/2012 03:24 pm Iustin Pop

Further fixes to instance policy validation

As a followup from "Remove extraneous check in policy creation", there
are more places where we build an ipolicy, and then manually check for
its validity. This is very bad style, as it duplicates the
verification code across many places....

2cc673a3 01/13/2012 03:16 pm Iustin Pop

Add new disk_templates parameter to instance policy

This is a bit more complex patch, as it requires changing the
assumption that all keys in the policy dict points to values that are
themselves dicts. Right now we introduce an assumption that any
non-dicts are lists, we'll see in the future if this holds or whether...

45f8b50d 01/13/2012 03:16 pm Iustin Pop

Remove extraneous check in policy creation

The values are already checked in CreateIPolicy, no need to manually
check them again.

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

0ce212e5 01/13/2012 03:16 pm Iustin Pop

Move the instance specs options to cli.py

Currently these are defined twice, instead of a single time in
cli.py. Also adds the new disk_templates option to the common block,
even though it's not yet used.

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

12c3d3f6 01/13/2012 03:16 pm Iustin Pop

Add a new disk-template ipolicy option

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

499eb088 01/13/2012 03:16 pm Iustin Pop

Add a new CLI option type 'list'

This simply splits the value in the option parser, instead of needing
to do it in the client code.

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

363c0106 01/13/2012 03:16 pm Iustin Pop

Fix handling of errors from InstancePolicy.Check...

This code raises a configuration error, but we need to transform it
into a prereq error (or possibly exec error), depending on when we
call this function.

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

50761ebd 01/12/2012 02:31 pm Constantinos Venetsanopoulos

Fix acquisition of node lock in LUInstanceGrowDisk

Ensure node level locks are recalculated properly
in LUInstanceGrowDisk.

Signed-off-by: Constantinos Venetsanopoulos <>
Signed-off-by: Iustin Pop <>
Reviewed-by: Iustin Pop <>

4b97458c 01/11/2012 01:13 pm Iustin Pop

Fix cluster ispecs on upgrade

Cluster-level parameters must not be empty. Plus two more minor
changes.

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

b32f3c0c 01/11/2012 01:12 pm Iustin Pop

Better max ispec defaults

Instead of being equal to the minimum ones, these are reusing current
constants.

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

View revisions

Also available in: Atom