Statistics
| Branch: | Tag: | Revision:

root / lib @ 9dce4771

Name Size
  http
  hypervisor
  rapi
__init__.py 791 Bytes
backend.py 80.9 kB
bdev.py 53.3 kB
bootstrap.py 18.1 kB
cli.py 31.6 kB
cmdlib.py 247.1 kB
config.py 40.3 kB
constants.py 14.6 kB
daemon.py 8.1 kB
errors.py 6.1 kB
jqueue.py 38.5 kB
jstore.py 3.8 kB
locking.py 29.7 kB
luxi.py 10.6 kB
mcpu.py 13.1 kB
objects.py 26.5 kB
opcodes.py 15.6 kB
rpc.py 33.3 kB
serializer.py 1.7 kB
ssconf.py 7.7 kB
ssh.py 7.2 kB
utils.py 55.9 kB
workerpool.py 9 kB

Latest revisions

# Date Author Comment
9dce4771 06/12/2009 10:42 am Guido Trotter

LUCreateInstance: NIC parameters

Instance creation is changed to support the new nic parameters.

Hooks are dealt with in a later patch in the series.

Signed-off-by: Guido Trotter <>
Reviewed-by: Iustin Pop <>

13f1af63 06/12/2009 10:41 am Guido Trotter

Add nicparams to the NIC object

Also populate nicparams with a sensible default for imported instances.
Unfortunately we don't know if the bridge set up in old nics is the
default one or not, and we don't have access to the config cluster
object here to verify, so we'll just copy it without questions....

dd7db360 06/10/2009 03:46 pm Iustin Pop

Fix ConfigWriter._DistributeConfig error handling

Commit 1b54fc6c2fd92b614c029cc5312d02f9f1526253 added a typo (due to
copy-paste) in the error handling path of this function.

Signed-off-by: Iustin Pop <>
Reviewed-by: Guido Trotter <>

035566e3 06/10/2009 12:57 pm Iustin Pop

Fix node add and RedistributeAncillaryFiles

Commit 28eddce5249f35c2c330a04da07b74950877dcf5 added the
RedistributeAncillaryFiles, but it calls it with a wrong parameter and thus
makes node add fail.

This one-liner fixes it.

Signed-off-by: Iustin Pop <>...

2cc6781a 06/09/2009 12:07 pm Iustin Pop

rpc: Add a simple failure reporting framework

This patch adds a simple failure reporting tool, similar to bdev's
_ThrowError. In backend, we move towards the new-style RPC results (of
type (status, payload)) and thus functions which use this style can very...

1094acda 06/08/2009 07:58 pm Guido Trotter

Show nic parameters in cluster info

Signed-off-by: Guido Trotter <>
Reviewed-by: Iustin Pop <>

5af3da74 06/08/2009 07:58 pm Guido Trotter

Allow modifying of default nic parameters

Signed-off-by: Guido Trotter <>
Reviewed-by: Iustin Pop <>

b6a30b0d 06/08/2009 07:58 pm Guido Trotter

Allow setting NIC parameters at gnt-cluster init

Signed-off-by: Guido Trotter <>
Reviewed-by: Iustin Pop <>

c8fcde47 06/08/2009 07:58 pm Guido Trotter

Cluster: add nicparams, and update them on upgrade

This also migrates the default bridge from the cluster object to the nic
params, at load time. Since we don't support changing the default bridge
after cluster init, this is ok for now. In the future we'll make...

255e19d4 06/08/2009 07:58 pm Guido Trotter

Add NIC.CheckParameterSyntax

This function will be used to check the NIC parameters for validity.
Unittests are included.

Signed-off-by: Guido Trotter <>
Reviewed-by: Iustin Pop <>

View revisions

Also available in: Atom