Statistics
| Branch: | Tag: | Revision:

root / lib @ 679cba3a

Name Size
  build
  client
  confd
  http
  hypervisor
  impexpd
  masterd
  rapi
  server
  utils
  watcher
__init__.py 820 Bytes
asyncnotifier.py 6 kB
backend.py 105.3 kB
bdev.py 70.5 kB
bootstrap.py 28.7 kB
cli.py 96.8 kB
cmdlib.py 422.3 kB
compat.py 3.7 kB
config.py 71.8 kB
constants.py 34.9 kB
daemon.py 23.5 kB
errors.py 9.6 kB
ht.py 4 kB
ippool.py 5.1 kB
jqueue.py 58.5 kB
jstore.py 3.7 kB
locking.py 48.8 kB
luxi.py 15.8 kB
mcpu.py 16.3 kB
netutils.py 13.6 kB
network.py 5.3 kB
objects.py 44 kB
opcodes.py 36.9 kB
qlang.py 2.6 kB
query.py 38.6 kB
rpc.py 46.7 kB
runtime.py 3.3 kB
serializer.py 4.5 kB
ssconf.py 15.4 kB
ssh.py 8.6 kB
storage.py 12.7 kB
uidpool.py 11.8 kB
workerpool.py 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/ippool.py: 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 ganeti.network: address pool management tools

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