| Branch: | Tag: | Revision:

root / lib @ 7aea0198

Name Size
  watcher 1.2 kB 6.1 kB 127.5 kB 36.1 kB 135.8 kB 4.3 kB 87.4 kB 63.6 kB 26.7 kB 11.2 kB 9.2 kB 10.7 kB 79.7 kB 6 kB 61.1 kB 16.4 kB 17.9 kB 19.1 kB 9.6 kB 63.5 kB 67.3 kB 4.3 kB 66 kB 5.8 kB 9.6 kB 82.4 kB 26.1 kB 24.2 kB 6.3 kB 4.5 kB 11.5 kB 10.2 kB 11.7 kB 7.4 kB 18.3 kB

Latest revisions

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

errors and network fix

Signed-off-by: Dimitris Aragiorgis <>

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 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...

View revisions

Also available in: Atom