| Branch: | Tag: | Revision:

root / src / Ganeti @ ce1b0c05

Name Size
BasicTypes.hs 7.2 kB
Common.hs 14.4 kB
Compat.hs 1.4 kB
Config.hs 11.6 kB
ConfigReader.hs 11.6 kB
Constants.hs 990 Bytes
Daemon.hs 14.8 kB
Errors.hs 6.2 kB
Hash.hs 1.8 kB
HsConstants.hs 1.1 kB
JQueue.hs 10.7 kB
JSON.hs 9.9 kB
Jobs.hs 3.3 kB
Logging.hs 4.5 kB
Luxi.hs 15.7 kB
Network.hs 3.5 kB
Objects.hs 24.9 kB
OpCodes.hs 27 kB
OpParams.hs 45 kB
Parsers.hs 1.7 kB
Path.hs 3.4 kB 945 Bytes
PyValueInstances.hs 2 kB
Rpc.hs 16.2 kB
Runtime.hs 6.2 kB
Ssconf.hs 5 kB
THH.hs 46 kB
Types.hs 22.1 kB
Utils.hs 16.1 kB 246 Bytes

Latest revisions

# Date Author Comment
ce1b0c05 08/29/2013 04:05 pm Jose A. Lopes

Haskell to Python opcodes: fix Unit

Fix how Haskell to Python opcode generation handles unit. It seems
that, in 'template-haskell-2.7.0', unit is represented by Template
Haskell as a constructor of the form '(ConT name)', where 'name' is
the constructor name for 'Unit'. However, in 'template-haskell-2.8.0'...

73b63a40 08/29/2013 01:17 pm Jose A. Lopes

Import original constants instead of generated

Haskell to Python constant generation introduced duplicated constants
in Haskell. This patch eliminates the duplication and fixes Haskell
to import the correct constants, instead of the generated ones.

Signed-off-by: Jose A. Lopes <>...

1b2adaa6 08/29/2013 01:17 pm Jose A. Lopes

Setup constant generation infrastructure

Setup a transitional Haskell to Python constant generation
infrastructure. This infrastructure is transitional and Python
constants will not be migrated to Haskell all at once. Instead, some
constants will be incrementally pulled from Python and moved to...

fec1fac1 08/29/2013 01:17 pm Jose A. Lopes

Rename 'Constants.hs' to 'PyConstants.hs'

Rename the generated 'Constants.hs' module, which contains the Haskell
constants generated from Python, to 'PyConstants.hs' in order to
eliminate duplicated constants in Haskell, a problem introduced by the
Haskell to Python constant generation, and to circumvent a problem...

d34c79b6 08/29/2013 01:17 pm Jose A. Lopes

Add Template Haskell code for constant generation

Add Template Haskell functions that generate a list in Haskell
containing all the constants to be generated in Python. This list is
an association list mapping the constant name to its Python value,
which is stored as a string....

c4d68e39 08/29/2013 01:17 pm Jose A. Lopes

Move some 'PyValue' instances to a separate file

Move some 'PyValue' instances to a separate file so they can be
available to other modules which need these instances but do not want
to depend on the constants module, which led to compilation

03b0b21b 08/23/2013 09:56 am Klaus Aehlig

Add new node parameters to Object.hs

In commit 807d8853, new node parameters were introduced in the python world.
Add them to the haskell world as well to restore consistency.

Signed-off-by: Klaus Aehlig <>
Reviewed-by: Michele Tartara <>

7b6996a8 08/21/2013 10:26 am Thomas Thrainer

disk_template param is optional in instance create

The disk_template parameter is optional during disk create (the first
enabled disk template is taken in this case), so don't require it.

Signed-off-by: Thomas Thrainer <>
Reviewed-by: Guido Trotter <>

d2429198 08/21/2013 10:25 am Thomas Thrainer

Merge branch 'stable-2.9' into master

  • stable-2.9
    Allow instance mods if only osparams are given
    Use node UUIDs for locking instead of node names
    Allow instance mods if only osparams are given
    Fix a node name vs. UUID bug in instance import
    Typo in hroller man page...
dd84e715 08/20/2013 03:48 pm Thomas Thrainer

Merge branch 'stable-2.8' into stable-2.9

  • stable-2.8
    Allow instance mods if only osparams are given
    Fix harep manpage title
    Use FQDN to check master node status

Signed-off-by: Thomas Thrainer <>
Reviewed-by: Klaus Aehlig <>

View revisions

Also available in: Atom