Statistics
| Branch: | Tag: | Revision:

root / lib @ 7db4b6d8

Name Size
  build
  client
  cmdlib
  confd
  http
  hypervisor
  impexpd
  masterd
  rapi
  server
  storage
  tools
  utils
  watcher
__init__.py 1.2 kB
asyncnotifier.py 6.1 kB
backend.py 127.5 kB
bootstrap.py 36.1 kB
cli.py 135.8 kB
compat.py 4.3 kB
config.py 87.4 kB
constants.py 63.6 kB
daemon.py 26.7 kB
errors.py 11.2 kB
hooksmaster.py 9.2 kB
ht.py 10.7 kB
jqueue.py 79.7 kB
jstore.py 6 kB
locking.py 61.1 kB
luxi.py 16.4 kB
mcpu.py 17.9 kB
netutils.py 19.1 kB
network.py 9.2 kB
objects.py 63.5 kB
opcodes.py 67.3 kB
outils.py 4.3 kB
ovf.py 66 kB
pathutils.py 5.8 kB
qlang.py 9.6 kB
query.py 82.4 kB
rpc.py 26.1 kB
rpc_defs.py 24.2 kB
runtime.py 6.3 kB
serializer.py 4.5 kB
ssconf.py 11.5 kB
ssh.py 10.2 kB
uidpool.py 11.7 kB
vcluster.py 7.4 kB
workerpool.py 18.3 kB

Latest revisions

# Date Author Comment
7db4b6d8 06/11/2013 12:07 pm Dimitris Aragiorgis

config fix

Signed-off-by: Dimitris Aragiorgis <>

4b700ca7 06/11/2013 12:06 pm Dimitris Aragiorgis

cmdlib fix

Signed-off-by: Dimitris Aragiorgis <>

4182a7ac 06/11/2013 12:06 pm Dimitris Aragiorgis

client fix

Signed-off-by: Dimitris Aragiorgis <>

02aa7df1 06/11/2013 11:10 am Dimitris Aragiorgis

cmdlib fix

Signed-off-by: Dimitris Aragiorgis <>

8fdedd45 06/10/2013 06:14 pm Dimitris Aragiorgis

network.py fix

Signed-off-by: Dimitris Aragiorgis <>

5e1c599f 06/10/2013 10:39 am Dimitris Aragiorgis

Implement methods in Generic Network

IsReserved should return False because no pool exists, ReserveIp/ReleaseIp
should do nothing while GenerateFree should raise an error (ip=pool is passed
to an network without AddressPool.

Signed-off-by: Dimitris Aragiorgis <>

53195377 06/10/2013 10:37 am Dimitris Aragiorgis

Use new network interface

Replace old network.AddressPool() with network.Network(). Replace
network.AddressPool and network.AddressPool.InitializeNetwork with
network.Network. Additionally be aware that this raises
OpPrereqError and not AddressPoolError so not try-except-raise is...

22dc14c4 06/10/2013 09:44 am Dimitris Aragiorgis

Total refactor of network module

Add GenericNetwork class to implement basic validation methods
for an IPv4/IPv6 network basically conserning gateways and subnets.

Make AddressPool class extend GenericNetwork and implement methods
that reserve/release IPs in a IPv4 address pool (using bitarray)....

06dfde19 06/10/2013 09:30 am Dimitris Aragiorgis

Add _AllIPs() config method

This returns a list of tuples (ip, network). Use it in ReserveIp,
where a network without AddressPool can be passed, in order to
ensure IP uniqueness inside the network. Please note that no
configuration error is raised if a two NICs have the same IP but do...

402df383 06/04/2013 03:40 pm Dimitris Aragiorgis

Remove try-except in ReserveIp/ReleaseIp

There is no need to try-except in cmdlib when reserving and releasing
Ips because this check is delegated to corresponding config methods
who raise the proper errors.

Signed-off-by: Dimitris Aragiorgis <>

View revisions

Also available in: Atom