Statistics
| Branch: | Tag: | Revision:

root / lib @ f3044516

Name Size
  build
  confd
  http
  hypervisor
  impexpd
  masterd
  rapi
__init__.py 820 Bytes
asyncnotifier.py 5.1 kB
backend.py 97.8 kB
bdev.py 65 kB
bootstrap.py 25.8 kB
cli.py 78.5 kB
cmdlib.py 364.9 kB
compat.py 3.7 kB
config.py 49.8 kB
constants.py 28.6 kB
daemon.py 21.2 kB
errors.py 9.3 kB
jqueue.py 49.4 kB
jstore.py 3.6 kB
locking.py 41.1 kB
luxi.py 13.5 kB
mcpu.py 20.2 kB
netutils.py 13.4 kB
objects.py 35.7 kB
opcodes.py 20.9 kB
rpc.py 44 kB
serializer.py 4.5 kB
ssconf.py 14.5 kB
ssh.py 8.1 kB
storage.py 12.5 kB
uidpool.py 11.8 kB
utils.py 102.6 kB
workerpool.py 9.9 kB

Latest revisions

# Date Author Comment
f3044516 08/20/2010 02:10 pm Manuel Franceschini

Make Hostname object always intialize its name to fqdn

This patch restores the behaviour of Hostname (previously known as
HostInfo) to always use fqdn. This was broken due to the fact that the
now used getaddrinfo does not return an fqdn in contrast to
gethostbyname_ex()....

edcd876b 08/19/2010 06:27 pm Michael Hanselmann

utils: Use WriteFile in {Set,Remove}EtcHostsEntry

This avoids duplicate effort and has been a TODO for a long time.

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

2e6469a1 08/19/2010 03:13 pm René Nussbaumer

Modify gnt-node add to call external script

Signed-off-by: René Nussbaumer <>
Reviewed-by: Iustin Pop <>

0963d545 08/19/2010 03:12 pm René Nussbaumer

Make it possible to invoke RunCmd in interactive mode

This is needed so we can run external scripts asking for password and such
to run interactive. Downside is that we can't get the output of the program
but we can still use the exit code.

Signed-off-by: René Nussbaumer <>...

e8d61457 08/19/2010 03:12 pm René Nussbaumer

Removing all ssh setup code from the core

Signed-off-by: René Nussbaumer <>
Reviewed-by: Iustin Pop <>

b43dcc5a 08/19/2010 12:44 pm Manuel Franceschini

Support IPv6 node add

Signed-off-by: Manuel Franceschini <>
Reviewed-by: Iustin Pop <>

e7323b5e 08/19/2010 12:44 pm Manuel Franceschini

Support IPv6 cluster init

Signed-off-by: Manuel Franceschini <>
Reviewed-by: Iustin Pop <>

868a98ca 08/19/2010 12:43 pm Manuel Franceschini

Add primary_ip_family to ssconf

Since this parameter will be used on all daemon startups, it needs to be
available on all nodes. This is achieved by querying it via ssconf. This
patch additionally adds a getter method to readily retrieve the primary
ip family from a ConfigWriter object....

2f20d07b 08/19/2010 12:43 pm Manuel Franceschini

Add new cluster parameter primary_ip_version

We expose the ip_version (4, 6) to the external interface and internally
we convert it to ip_family (AF_INET=2, AF_INET6=10). This makes the code
more concise as all functions deal with family rather than version....

e7b3ad26 08/19/2010 12:41 pm Manuel Franceschini

netutils: make re class attribute and catch IndexError

These missing changes were initially agreed upon but then forgotten.
First, we move the valid name regex to the class-level such that it
won't be compiled for every invocation of GetIP() and we wrap the result...

View revisions

Also available in: Atom