| Branch: | Tag: | Revision:

root / lib @ 679cba3a

Name Size
  watcher 820 Bytes 6 kB 105.3 kB 70.5 kB 28.7 kB 96.8 kB 422.3 kB 3.7 kB 71.8 kB 34.9 kB 23.5 kB 9.6 kB 4 kB 5.1 kB 58.5 kB 3.7 kB 48.8 kB 15.8 kB 16.3 kB 13.6 kB 5.3 kB 44 kB 36.9 kB 2.6 kB 38.6 kB 46.7 kB 3.3 kB 4.5 kB 15.4 kB 8.6 kB 12.7 kB 11.8 kB 13.3 kB

Latest revisions

# Date Author Comment
dc5af8d1 06/22/2011 02:12 pm Apollon Oikonomopoulos

Add network and IP pool config methods and ssconf

Add helper methods to ganeti.config.ConfigWriter to handle Network addition and
removal, IP address reservation and commitment to the address pools.

Also add the “networks” ssconf key to make network names/UUIDs available to all...

679cba3a 06/22/2011 02:12 pm Apollon Oikonomopoulos

query: add network query primitives

Add NetworkQueryData data container for network-related queries. Also add a
network query field generator and helper functions to generate usage statistics
for IP address pools.

Signed-off-by: Apollon Oikonomopoulos <>

9dfd5fc2 06/22/2011 02:12 pm Apollon Oikonomopoulos

Add lib/ IP pool management primitives

This patch introduces primitive structures for IP pool management. The core of
the IP Pool management framework is the ippool.IPv4Network class, which encodes
an IPv4 subnet configuration with its IP address pool. The pool functionality...

62a7762b 06/22/2011 02:12 pm Apollon Oikonomopoulos

Add config objects and methods for IP pools

This patch introduces the following changes to lib.config and lib.objects to
facilitate IP pool management.

- Add a "networks" key to objects.cluster to hold link -> subnet relations.
Each link is assumed to be associated with at most one IPv4 and at most one...

2abc8f57 06/22/2011 02:12 pm Apollon Oikonomopoulos

LUCreateInstance: Retrieve IPs from an IP pool

A new ip keyword is added ("pool") to signify that LUCreateInstance should get
the instance's IP from an IP pool (rather than manually or by DNS resolution).

IP and link checks are re-ordered so that a NIC's link is available at the time...

5974efea 06/22/2011 02:12 pm Apollon Oikonomopoulos

lib.objects: Add network object definition

Add a network object definition, with the appropriate slots, to lib.objects.

Also add a “networks” top-level configuration slot to host network definitions
and a “networks” slot to the NodeGroup objects to hold network ←→ node-group...

4bba8e4c 06/22/2011 02:12 pm Apollon Oikonomopoulos

Add address pool management tools contains AddressPool, a helper class for ganeti.objects.Network.
AddressPool wraps a Network object and provides all IPv4 Address Pool
management logic, manipulating the respective fields of the Network object....

034c116d 06/22/2011 01:26 pm Apollon Oikonomopoulos

KVM: configure bridged NICs at migration start

Commit 5d9bfd870 moved tap interface handling from KVM to Ganeti, partly to
also solve the problem of routed interfaces getting configured too early during
live migrations, causing network anomalies. In that direction, configuration of...

c1dc897b 06/01/2011 04:52 pm Apollon Oikonomopoulos

Remove duplicate CDROM_IMAGE_PATH KVM hv param def

Introduced during merge, because of fba7f91. Remove the second definition, as
it broke KVM HTTP CDROM boot.

Signed-off-by: Apollon Oikonomopoulos <>

fa6347d0 05/30/2011 02:05 pm Apollon Oikonomopoulos

Fix argument order in ReserveLV and ReserveMAC

ConfigWriter.ReserveLV() and Configwriter.ReserveMAC() called
TemporaryReservationManager.Reserve() with the ec_id and resource arguments
swapped. As a result, two reservation attempts for the same resource type...

View revisions

Also available in: Atom