| Branch: | Tag: | Revision:

root / lib @ 02aa7df1

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

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

c01a7953 06/04/2013 03:28 pm Dimitris Aragiorgis

Various refactoring concerning networks

Add external flag to UnlockedCommitIp. Use this flag from cmdlib to
reserve and release IPs via TemporaryReservationManager and not
directly by accessing the pool it self.

Remove checks of style IsReserved() from cmdlib, while cfg.ReserveIp()...

a9310b5b 05/24/2013 02:30 pm Guido Trotter

Merge branch 'stable-2.8'

  • stable-2.8:
    Bump up version for 2.7.0~rc2 release
    Create overall design document for 2.8
    Add NEWS entry for SO_PEERCRED fix
    Workaround missing SO_PEERCRED
    Add debugging clause to _ExpandCheckDisks error
    Reduce pylint maximum file length to 4500...
328201a5 05/24/2013 02:26 pm Guido Trotter

Merge branch 'stable-2.7' into stable-2.8

  • stable-2.7:
    Bump up version for 2.7.0~rc2 release
    Add NEWS entry for SO_PEERCRED fix
    Workaround missing SO_PEERCRED
    Add debugging clause to _ExpandCheckDisks error
    Mention hail network incompatibility in manpages...

View revisions

Also available in: Atom