Statistics
| Branch: | Tag: | Revision:

root / lib @ e1494c96

Name Size
  build
  client
  confd
  http
  hypervisor
  impexpd
  masterd
  rapi
  server
  tools
  utils
  watcher
__init__.py 820 Bytes
asyncnotifier.py 6 kB
backend.py 120.4 kB
bdev.py 90.5 kB
bootstrap.py 33.4 kB
cli.py 120.7 kB
cmdlib.py 577.1 kB
compat.py 3.9 kB
config.py 84.9 kB
constants.py 54.8 kB
daemon.py 26.7 kB
errors.py 10.6 kB
ht.py 10.2 kB
jqueue.py 78.5 kB
jstore.py 5.9 kB
locking.py 56.6 kB
luxi.py 16.4 kB
mcpu.py 23.7 kB
netutils.py 18.6 kB
network.py 6.2 kB
objects.py 58 kB
objectutils.py 2.5 kB
opcodes.py 64.8 kB
ovf.py 66 kB
pathutils.py 5.1 kB
qlang.py 9.8 kB
query.py 77.3 kB
rpc.py 25 kB
rpc_defs.py 22.8 kB
runtime.py 6.3 kB
serializer.py 4 kB
ssconf.py 16 kB
ssh.py 10.2 kB
storage.py 13.2 kB
uidpool.py 11.8 kB
vcluster.py 7.4 kB
workerpool.py 18.3 kB

Latest revisions

# Date Author Comment
e1494c96 11/23/2012 04:24 pm Iustin Pop

Fix network opcode parameters

Commit 32e3d8b1 (“opcodes: Network parameter improvements and fixes”)
changed a few parameters in the network add, connect and set params
opcodes, but some of the changes are buggy. The patch changed the type
to TMaybe(), whereas the default should have been changed from None to...

fd9f58fd 11/23/2012 04:24 pm Iustin Pop

Introduce a TMaybe combinator

We have many cases in the code where we write TOr(TNone, a), so let's
introduce a combinator that simplifies this case.

Beside replacing the above with TMaybe(a), I did a few other parameter
fixes:

- noop change TOr(TNone, TDict) to TMaybeDict...

2b5b0fe9 11/23/2012 04:24 pm Iustin Pop

Replace dict() with {}

The network patches and an existing test added function-call based
dict construction as opposed to literal sintax.

Signed-off-by: Iustin Pop <>
Reviewed-by: Michele Tartara <>

7a476bb5 11/23/2012 04:23 pm Dimitris Aragiorgis

Export network in FinalizeExport()

Signed-off-by: Dimitris Aragiorgis <>
Signed-off-by: Iustin Pop <>
Reviewed-by: Iustin Pop <>

829cfbc5 11/23/2012 04:23 pm Dimitris Aragiorgis

Fix bug in OpNetworkQuery result check

Signed-off-by: Dimitris Aragiorgis <>
Signed-off-by: Iustin Pop <>
Reviewed-by: Iustin Pop <>

55f70aef 11/23/2012 04:22 pm Dimitris Aragiorgis

Fix bug in network module

Signed-off-by: Dimitris Aragiorgis <>
Signed-off-by: Iustin Pop <>
[: slightly improved code flow]
Reviewed-by: Iustin Pop <>

2abb9ea8 11/22/2012 01:40 pm Helga Velroyen

Make ipolicy violations a warning

So far, when running 'gnt-cluster verify' on a cluster which
has instances that violate the instance policy, those
violations were shown as an error. This patch makes them a
warning.

Signed-off-by: Helga Velroyen <>...

2556424d 11/21/2012 05:54 pm Iustin Pop

Small style fixes (' vs ") in network code

This is just trivial fixes; I think I caught all of them.

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

405bffe2 11/21/2012 03:43 pm Michael Hanselmann

Rename leftovers from remote to restricted commands

As per Iustin Pop's suggestion in <> on
<>.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Guido Trotter <>

42bd26e8 11/21/2012 03:43 pm Michael Hanselmann

backend: Rename RunRemoteCommand to RunRestrictedCmd

As per Iustin Pop's suggestion in <> on
<>.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Guido Trotter <>

View revisions

Also available in: Atom