Statistics
| Branch: | Tag: | Revision:

root / lib @ 6edb2627

Name Size
  build
  client
  confd
  http
  hypervisor
  impexpd
  masterd
  rapi
  server
  tools
  utils
  watcher
__init__.py 820 Bytes
asyncnotifier.py 6 kB
backend.py 113.8 kB
bdev.py 88.5 kB
bootstrap.py 33.4 kB
cache.py 5.4 kB
cli.py 117.8 kB
cmdlib.py 561.4 kB
compat.py 3.9 kB
config.py 83.2 kB
constants.py 53.2 kB
daemon.py 26.7 kB
errors.py 10.4 kB
ht.py 9.9 kB
jqueue.py 74 kB
jstore.py 5.9 kB
locking.py 55.8 kB
luxi.py 16.2 kB
mcpu.py 23.2 kB
netutils.py 18.6 kB
network.py 5.8 kB
objects.py 58 kB
objectutils.py 2.5 kB
opcodes.py 63.9 kB
ovf.py 65.5 kB
pathutils.py 4.9 kB
qlang.py 9.8 kB
query.py 76.5 kB
rpc.py 24.4 kB
rpc_defs.py 22.4 kB
runtime.py 6.3 kB
serializer.py 4 kB
ssconf.py 15.8 kB
ssh.py 9.1 kB
storage.py 13.2 kB
uidpool.py 11.8 kB
vcluster.py 7.4 kB
workerpool.py 14.3 kB

Latest revisions

# Date Author Comment
b246cea8 10/11/2012 04:00 pm Dimitris Aragiorgis

Basic IP pool management logic

Implement LUs for corresponding opcodes: * LUNetworkAdd:
- Check for IP validity
- Reserves all necessary IPs
- Create new Network config object * LUNetworkRemove:
- Checks if connected to any nodegroup
- Remove a Network config object...

e75d9a84 10/11/2012 04:00 pm Apollon Oikonomopoulos

Implement LUNetworkQuery

Summarily list all existing networks
Supply detailed info for every existing network
- List used/free IPs
- List instances with NICs assigned to the corresponding network
- List NIC index and IP for the above instances

Implement complementary config methods for retrieving networks....

df968b4b 10/11/2012 04:00 pm Dimitris Aragiorgis

Implement LUNetworkSetParams

Support modifying all network parameters except for network (ip range)
Cannot modify gateway and reserved ips at the same time.

Signed-off-by: Dimitris Aragiorgis <>

b35374d3 10/11/2012 04:00 pm Dimitris Aragiorgis

Implement network/nodegroup mappings

LUNetworkConnect() connects a network to a nodegroup and defines
its netparams (mode and link). Specifically: * Check if network already exists * Check if netparams are valid * Check if already connected to the same nodegroup...

6edb2627 10/11/2012 04:00 pm Dimitris Aragiorgis

Config methods for reserving/releasing IPs

Use TemporaryReservationManager for IP handling to ensure
config data consistency.

Implement:
- methods for reserving/releasing IPs
- _UnlockedCommitTemporaryIps()
- CheckIPInNodeGroup() used for conflicting IPs...

aebdaa73 10/11/2012 04:00 pm Dimitris Aragiorgis

IP pool related objects, opcodes and constants

Config objects: * Introduce L{Network} with
- IPv4 network field (mandatory)
- IPv4 gateway, IPv6 (network/gateway), mac prefix, type (optional) * Modify existing config objects to support networks:
- Add new slot 'network' to L{NIC} config object...

488e1849 10/11/2012 04:00 pm Apollon Oikonomopoulos

Introduce new module for IP pool management

Add new library module lib/network.py.
Introduce new class: AddressPool.

AddressPool implements all operations needed for managing IPs
inside the IP pool.

Given a Network config object (nobj), the class:

  • initializes the corresponding IP pool object via...
8bd977e9 10/11/2012 03:34 pm Sébastien Bocahu

Add support for cpu_cap and cpu_weight Xen params

This patch adds support for Xen's CPU scheduler 'cpu_cap' and
'cpu_weight' parameters.

Ganeti default values (cap: 0=unlimited, weight: 256) are Xen defaults.

cpu_cap is not validated correctly because of actual Ganeti limitation...

47130d50 10/11/2012 01:05 pm Michael Hanselmann

LUClusterVerifyGroup: Localize virtual file paths

The check for file consistency didn't properly handle virtual paths
in case of a virtual cluster. This didn't cause any breakage as in
a standard virtual cluster setup with only one node all files are
visible for every node....

9fbf0098 10/11/2012 01:03 pm Iustin Pop

Enable query socket usage in gnt-node/gnt-group

This switches gnt-node/gnt-group (and their equivalent RAPI resources)
to go over the query socket.

Signed-off-by: Iustin Pop <>
Reviewed-by: Michael Hanselmann <>

View revisions

Also available in: Atom