Statistics
| Branch: | Tag: | Revision:

root / lib @ 29921401

Name Size
  http
  hypervisor
  rapi
__init__.py 791 Bytes
backend.py 79.5 kB
bdev.py 55.2 kB
bootstrap.py 18.4 kB
cli.py 31.6 kB
cmdlib.py 250.6 kB
config.py 40.3 kB
constants.py 14.6 kB
daemon.py 8.1 kB
errors.py 5.9 kB
jqueue.py 38.8 kB
jstore.py 3.8 kB
locking.py 29.7 kB
luxi.py 10.6 kB
mcpu.py 13.1 kB
objects.py 26.2 kB
opcodes.py 15.6 kB
rpc.py 32.9 kB
serializer.py 1.7 kB
ssconf.py 7.9 kB
ssh.py 7.2 kB
utils.py 55.7 kB
workerpool.py 9 kB

Latest revisions

# Date Author Comment
29921401 06/18/2009 01:49 pm Iustin Pop

Fix various pylint warnings

There were multiple issues:
- copy-paste resulted in wrong indentation
- wrong function name
- missing spaces around assignment
- overriding built-in names (type, dir) or already defines ones
(errors, hypervisor)

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

495cfdf0 06/17/2009 04:22 pm Guido Trotter

RAPI: move to nic parameters

In query we ask for nic.links, rather than nic.bridges
In create we accept both "link" and "bridge" and let the opcode deal
with it. Note that we still can create only one nic per instance.

Signed-off-by: Guido Trotter <>...

5e3d3eb3 06/17/2009 04:21 pm Guido Trotter

Update a forgot docstring for nic parameters

Properly document the expected nic format.

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

0b13832c 06/17/2009 04:21 pm Guido Trotter

Fix QueryInstanceData for nic parameters

This CL updates QueryInstanceData to return NICs in the new format (mac,
ip, mode, link) and fixes gnt-instance info to properly display them.

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

638c6349 06/17/2009 04:21 pm Guido Trotter

Update instance query for NIC parameters

Compatibility with the old parameters is maintained, by allowing to
query for "bridge" "nic.bridges" and "nic.bridge/N", but None is
returned in that case for routed nics.

Signed-off-by: Guido Trotter <>...

f9b10246 06/17/2009 04:21 pm Guido Trotter

Rename _PreBuildNICHooksList to _NICListToTuple

We're going to use this helper function for more than just hooks, so
we'll give it a more generic name.

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

2b1ac224 06/16/2009 06:25 pm Guido Trotter

Merge branch 'next' into branch-2.1

  • next:
    gnt-cluster(8) fix --backend-parameters opt name
    LUQueryInstances: fix querying for nic data
    Specify the object type in two docstring
39a02558 06/16/2009 06:03 pm Guido Trotter

LUQueryInstances: fix querying for nic data

Currently we support querying for "mac" "ip" or "bridge", meaning "the
one of the first nic. We are not checking that there is a first nic,
though, and thus could incur in errors. This patch fixes it by returning...

a2a24f4c 06/16/2009 06:02 pm Guido Trotter

Specify the object type in two docstring

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

7b381438 06/16/2009 03:35 pm Guido Trotter

KVMHypervisor, fix a bug in MigrateInstance

This was introduced as a typo in commit
7e66c35b5685525538dd65dd3dff75b5346d30d7 while removing duplicate code
from the KVM hypervisor.

Signed-off-by: Guido Trotter <>

View revisions

Also available in: Atom