Statistics
| Branch: | Tag: | Revision:

root / lib @ dd7ea762

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 98 kB
cmdlib.py 432.5 kB
compat.py 3.7 kB
config.py 72.8 kB
constants.py 35 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.9 kB
mcpu.py 16.3 kB
netutils.py 13.6 kB
network.py 5.3 kB
objects.py 44 kB
opcodes.py 37.6 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
4ffb8181 06/22/2011 02:12 pm Apollon Oikonomopoulos

Fix typo in gnt-network list

ToStdOut -> ToStdout

Signed-off-by: Apollon Oikonomopoulos <>

5f2725c1 06/22/2011 02:12 pm Apollon Oikonomopoulos

More fixes regarding ip pool mgmt and instance creation

Signed-off-by: Apollon Oikonomopoulos <>

85c5d3c9 06/22/2011 02:12 pm Apollon Oikonomopoulos

Improve temporary reservation of IP addresses

Add a new method, TemporaryReservationManager.GetECReserved(), which returns all
reservations held by a given ec_id.

Also add a new method, ConfigWriter._UnlockedCommitReservedIps(), which can be
called to commit all temporarily reserved IP addresses to the respective...

c95ac777 06/22/2011 02:12 pm Apollon Oikonomopoulos

ConfigWriter.ReleaseIp: change semantics

Change the semantics of ReleaseIp, so that it can be called from outside
without knowing the exact network UUID, by passing only node and link.

Signed-off-by: Apollon Oikonomopoulos <>

6609f455 06/22/2011 02:12 pm Apollon Oikonomopoulos

RemoveInstance: handle IP default NIC link

Call cluster.SimpleFillNIC to get the default link when link is None.

Signed-off-by: Apollon Oikonomopoulos <>

ac82d660 06/22/2011 02:12 pm Apollon Oikonomopoulos

IP pool management during instance modification

Perform suitable pool operations on NIC addition, removal and modification.

Signed-off-by: Apollon Oikonomopoulos <>

4260755b 06/22/2011 02:12 pm Apollon Oikonomopoulos

Add tag handling to {Op,LU}InstanceCreate

Add a tag slot to opcodes.OpInstanceCreate. We do not reuse _PTags, as this is
intended for OpTagsSet and thus:

a) is not documented
b) does not carry a default value, making it mandatory

Also pass the tags to the iallocator during instance creation....

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

Add tagging option to gnt-instance create

Add TAG_ADD_OPT option to cli.py and use it in gnt-instance. Modify
cli.GenericInstanceCreate() accordingly.

Signed-off-by: Apollon Oikonomopoulos <>

aca8d56e 06/22/2011 02:12 pm Apollon Oikonomopoulos

Export instance tags to instance hooks

Instance hooks now get an INSTANCE_TAGS environment variable, which contains a
space-delimited list of the affected instance's tags.

Also update the documentation to reflect the change.

Signed-off-by: Apollon Oikonomopoulos <>

dd7ea762 06/22/2011 02:12 pm Apollon Oikonomopoulos

TemporaryReservationManager: decrement retry counter

The retry counter used in TemporaryReservationManager.Generate() was not
decremented for each failed retry, as presumably intended. This patch
decrements the retry counter after each failed attempt.

Signed-off-by: Apollon Oikonomopoulos <>

View revisions

Also available in: Atom